cyber-security-resources/programming_and_scripting_for_cybersecurity/exploitation/basic_scapy_packet.py

8 lines
137 B
Python
Raw Normal View History

2023-01-12 17:55:02 +00:00
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)