1

我正在尝试使用 scapy 的 sendpfast 函数重播文件。但它会引发错误。

a = rdpcap("U:\\Tests\\pcaps\\test1000.pcap")
sendpfast(a)

ERROR: while trying to exec [None]: argument of type 'NoneType' is not iterable

我正在使用带有 scapy 2.3.3 的 Windows 7。仅供参考:我没有单独安装 TCPreplay。是不是因为这个?

4

1 回答 1

1

是的,您需要安装tcpreplay,因为 Scapy 不会为您执行此操作(并且需要使用sendpfast())。

于 2017-09-19T16:19:53.883 回答