RT:
今天某办公场所网络瘫痪,负责人坚持说是ARP攻击.
不知道这样可不可以。。
@echo off
arp /d
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "Physical Address"') do set mac=%%j
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "IP Address"') do set ip=%%j
arp -s %ip:~1% %Mac:~1%
exit
急吖急吖,,,有相关经验的朋友们都帮偶下撒~~~
因为小弟第一次碰到ARP攻击,真的慌了
[ Last edited by applecy on 2007-8-5 at 05:12 AM ]
今天某办公场所网络瘫痪,负责人坚持说是ARP攻击.
不知道这样可不可以。。
@echo off
arp /d
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "Physical Address"') do set mac=%%j
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "IP Address"') do set ip=%%j
arp -s %ip:~1% %Mac:~1%
exit
急吖急吖,,,有相关经验的朋友们都帮偶下撒~~~
因为小弟第一次碰到ARP攻击,真的慌了
[ Last edited by applecy on 2007-8-5 at 05:12 AM ]
我抬头仰望,原来天还是跟原来一样高.
I look up to the rise, the original days or as high as the original.
I look up to the rise, the original days or as high as the original.
