From b4cfdb516c11d35e27199d9504f0892a19c304c2 Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Thu, 12 Jan 2023 12:55:02 -0500 Subject: [PATCH] Create basic_scapy_packet.py --- .../exploitation/basic_scapy_packet.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 programming_and_scripting_for_cybersecurity/exploitation/basic_scapy_packet.py diff --git a/programming_and_scripting_for_cybersecurity/exploitation/basic_scapy_packet.py b/programming_and_scripting_for_cybersecurity/exploitation/basic_scapy_packet.py new file mode 100644 index 0000000..768fb70 --- /dev/null +++ b/programming_and_scripting_for_cybersecurity/exploitation/basic_scapy_packet.py @@ -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)