UID793275
注册时间2015-7-15
最后登录1970-1-1
在线时间 小时
听众
收听
性别保密
阅读权限110
|
本帖最后由 figoshen 于 2022-8-25 15:18 编辑
- @Echo OFF
- color 2F
- find /i "expire.eset.com" %windir%\system32\drivers\etc\hosts || goto :exit
- %Windir%\\System32\\FLTMC.exe >nul 2>&1 || (
- ECHO CreateObject^("Shell.Application"^).ShellExecute "%~f0", "%PAR1st%", "", "runas", 1 > "%TEMP%\\AdminRun.vbs"
- ECHO CreateObject^("Scripting.filesystemobject"^).DeleteFile ^(WScript.ScriptFullName^) >> "%TEMP%\\AdminRun.vbs"
- %Windir%\\System32\\CSCRIPT.exe //Nologo "%TEMP%\\AdminRun.vbs"
- Exit /b
- )
- :Menu
- Cls
- pushd "C:\Windows\System32\drivers\etc"
- find /v ".eset.com" <hosts >hosts.new
- copy hosts hosts.bak>nul
- move hosts.new hosts>nul
- popd
- ( del /q /f "%~f0" >nul 2>&1 & exit /b 0 )
- exit
复制代码 |
|