1

I am trying to replay a file using scapy's sendpfast function. But it throws an error.

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

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

I am using windows 7 with scapy 2.3.3. FYI: I haven't installed TCPreplay separately. Is this because of that?

Kashif Ahmad
  • 426
  • 3
  • 8
  • 22

1 Answers1

1

Yes, you need to install tcpreplay, as Scapy won't do that for you (and it is required to use sendpfast()).

Pierre
  • 6,047
  • 1
  • 30
  • 49