itx吧 关注:103,648贴子:1,338,546
  • 1回复贴,共1
求助

这个程序有问题吗

只看楼主收藏回复

运行这个程序后,电脑没网,诊断为:以太网没有有效ip配置
^%1 mshta vbscript:Create0bject("Shell. Application"). ShellExecute( "cmd. exe ","/c% "sO ::","" ," runas" ,1)
(window. close)&&exit
@echo off
set "sd=d:\test"
cd/d "%sd%"
for /r %%a in (*. exe) do (
netsh advfirewall firewall del rule name="%%~nxa">nul 2>nul
netsh advfirewall firewall add rule name="%%"nxa"program=%%a action=block dir=out>nul
echo;阻止%%^nx|a联网
)
pause


IP属地:广东来自Android客户端1楼2023-03-09 22:05回复
    如果有问题,应该怎么办,谢谢各位大佬


    IP属地:广东来自Android客户端2楼2023-03-09 22:06
    回复