ENV:Windows 7的python 2.6.6
E:\>pip list DEPRECATION: Python 2.6 is no longer supported by the Python core team, please dnet (1.12) gnuplot-py (1.8) numpy (1.3.0) pcap (1.1-scapy-20090720) pcapy (0.10.10) pip (8.0.2) pycrypto (2.1.0) pyreadline (1.5) PyX (0.12.1) scapy (2.2.0) setuptools (21.2.1) You are using pip version 8.0.2, however version 8.1.2 is available.
我想模拟syn flood和icmp flood,只需要指定每秒1500-2000个数据包
>>> sendpfast(icmp,pps=2000) ERROR: while trying to exec [tcpreplay]: [Error 2]
看来我必须安装tcpreplay
,但是Linux / OS X上使用的tcpreplay
,
有没有像在Windows上调用sendpfast
方法?