mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-21 18:33:03 +00:00
Update and rename basic_scapy_packet.py to basic_ipv4_scapy_packet.py
This commit is contained in:
parent
7a26c651a2
commit
24c916ca1f
1 changed files with 3 additions and 0 deletions
|
@ -5,3 +5,6 @@ packet = IP(src="10.1.1.2", dst="10.3.2.88")/TCP(dport=445)
|
|||
|
||||
# send the packet
|
||||
send(packet)
|
||||
|
||||
# You can also use sr() function for sending and receiving packet at the same time.
|
||||
# ans, unans = sr(packet, timeout=2)
|
Loading…
Reference in a new issue