最近我搜索了一个节目" Action Mirilis"和朋友给我一个.torrent链接。我下载它,然后我读了" ReadMe.txt"文件。在这个文件中,他说要运行.bat命令来阻止与mirilis服务器的通信。我想撤消这个...... 这是命令,请帮帮我!
@echo off
DEL %WINDIR%\windefendam.log
netsh advfirewall firewall add rule name="Blockit" protocol=any dir=out action=block remoteip=176.31.241.10
netsh advfirewall firewall add rule name="Blockit" protocol=any dir=out action=block remoteip=91.121.143.139
SET NEWLINE=^& echo.
attrib -r %WINDIR%\system32\drivers\etc\hosts
FIND /C /I "forskippingurl" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1 thislineskipsanyemptylines>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "mirillis.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1 mirillis.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "www.mirillis.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1 www.mirillis.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "serwer2.paka-service.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1 serwer2.paka-service.com>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "ns386119.ovh.net" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1 ns386119.ovh.net>>%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "mirillis.pl" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1 mirillis.pl>>%WINDIR%\system32\drivers\etc\hosts
attrib +r %WINDIR%\system32\drivers\etc\hosts
答案 0 :(得分:0)
你不能简单地"撤消"一个bat文件,因为它只是一个执行的命令列表。无论如何,看起来这个脚本只是编辑你的Hosts-File并通过将它们引导到localhost来阻止某些域。
在"%WINDIR%\ system32 \ drivers \ etc \ hosts"中编辑文件使用任何文本编辑器并删除脚本中出现的条目。有关详细说明,请参阅此链接:https://support.rackspace.com/how-to/modify-your-hosts-file/