mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2025-08-03 03:36:44 -04:00
Create basic_scapy_packet.py
This commit is contained in:
parent
7cb2e11eeb
commit
b4cfdb516c
1 changed files with 7 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
from scapy.all import *
|
||||
|
||||
# create the packet
|
||||
packet = IP(src="10.1.1.2", dst="10.3.2.88")/TCP(dport=445)
|
||||
|
||||
# send the packet
|
||||
send(packet)
|
Loading…
Add table
Add a link
Reference in a new issue