本帖最后由 Jomye 于 2021-3-22 17:45 编辑
我直接幹掉了 69,123,135,137,138,139,161,445,593,1025,1110,1719,1720,1723,2869,3389,5938,6566,19780
搞個例子:
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
netsh advfirewall firewall add rule name = "Stop TCP Port" dir = in action = block protocol = TCP localport = 135,137,138,139,445,1110,2869,19780,593,1025,3389,5938
netsh advfirewall firewall add rule name = "Stop UDP Port" dir = in action = block protocol = UDP localport = 123,135,137,138,139,445
|