mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-08-18 03:10:35 -04:00
Update tcp_handshake.py
This commit is contained in:
parent
9cec83522a
commit
4259fa1b27
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
__author__ = "bt3"
|
__author__ = "Mia Stein"
|
||||||
|
|
||||||
from scapy.all import *
|
from scapy.all import *
|
||||||
|
|
||||||
|
@ -14,4 +14,4 @@ ACK = TCP(sport=1024, dport=80, flags='A', seq=12346, ack=ack)
|
||||||
send(ip/ACK)
|
send(ip/ACK)
|
||||||
PUSH = TCP(sport=1024, dport=80, flags='', seq=12346, ack=ack)
|
PUSH = TCP(sport=1024, dport=80, flags='', seq=12346, ack=ack)
|
||||||
data = "HELLO!"
|
data = "HELLO!"
|
||||||
send(ip/PUSH/data)
|
send(ip/PUSH/data)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue