python - How to use scapy "sendpfast" on windows? -
env:windows 7 python 2.6.6
e:\>pip list deprecation: python 2.6 no longer supported 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) using pip version 8.0.2, version 8.1.2 available.
i want simulate syn flood , icmp flood,just specify 1500-2000 packets per second
>>> sendpfast(icmp,pps=2000) error: while trying exec [tcpreplay]: [error 2]
it seems must install tcpreplay
,but tcpreplay
used on linux/os x,
there method sendpfast
called on windows?