日期:2014-05-17  浏览次数:20846 次

谁能告诉我这段代码是干什么的
C/C++ code
@echo off
sc config Netman start= AUTO
sc start Netman
sc config rasman start= AUTO
sc start rasman
sc config tapisrv start= AUTO
sc start tapisrv
more +8 %0>>C:\Windows\System32\drivers\etc\hosts
50.22.49.43        bbs.sys8.cc
50.22.49.43        www.sys8.cc


运行了这个批处理以后,我就再也连不上bbs.sys8.cc了,这个是干什么的,然后该怎么逆向处理?

------解决方案--------------------
@echo off
sc config Netman start= AUTO <--- 设置netman服务为自动启动
sc start Netman <--- 启动netman服务
sc config rasman start= AUTO <--- 设置rasman服务为自动启动
sc start rasman <--- 启动rasman服务
sc config tapisrv start= AUTO <--- 设置tapisrv服务为自动启动
sc start tapisrv <--- 启动tapisrv服务
more +8 %0>>C:\Windows\System32\drivers\etc\hosts <--- 把这个第8行以下的内容写入hosts文件里
50.22.49.43 bbs.sys8.cc
50.22.49.43 www.sys8.cc


也就是说这个把bbs.sys8.cc、www.sys8.cc本地解析访问IP为50.22.49.43,如果这IP是错误的,你就打不开这两个地址了。