局域网有人对我进行ARP攻击,怎么抢回流量啊

来源:百度知道 编辑:UC知道 时间:2024/06/30 16:36:12
气死了个死贱人自以为自己计算机专业的有什么了不起。真想整整它,高手帮忙吧
这位大虾能否说得通俗详细点?
我是菜鸟啊~谢了!

path c:\;c:\windows;c:\windows\system32
c:
cd \
:::::::::读取本机Mac地址
if exist ipconfig.txt del ipconfig.txt
ipconfig /all >c:\ipconfig.txt
:::::::::读取网关Mac地址
if exist GateMac.txt del GateMac.txt
arp -a %GateIP% >c:\GateMac.txt
for /f "skip=3 tokens=2" %%H in (GateMac.txt) do set GateMac=%%H
:::::::::读取网关地址
if exist GateIP.txt del GateIP.txt
find "Default Gateway" ipconfig.txt >c:\GateIP.txt
for /f "skip=2 tokens=13" %%G in (GateIP.txt) do set GateIP=%%G

echo set Ws = WScript.CreateObject("WScript.Shell") >c:\banding.vbs
echo count=0 >>banding.vbs
echo for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_ >>banding.vbs
echo if ps.name="wscript.exe" then count=count+1 >>banding.vbs
echo next >>banding.vbs <