Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

https://scapy.readthedocs.io/en/latest/usage.html

Send and receive packets (sr)

Image Added




basic ping / ICMP
ans, unans = sr(IP(dst=subnet+"."+str(1)+"-"+str(6))/ICMP(),timeout=0)