robert / how-does-a-tcp-reset-attack-work Goto Github PK
View Code? Open in Web Editor NEWCompanion code to my blog post "How does a TCP Reset Attack work?"
Home Page: https://robertheaton.com/2020/04/27/how-does-a-tcp-reset-attack-work/
Companion code to my blog post "How does a TCP Reset Attack work?"
Home Page: https://robertheaton.com/2020/04/27/how-does-a-tcp-reset-attack-work/
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/scapy/supersocket.py", line 134, in del
self.close()
File "/usr/local/lib/python3.6/dist-packages/scapy/arch/linux.py", line 514, in close
set_promisc(self.ins, self.iface, 0)
File "/usr/local/lib/python3.6/dist-packages/scapy/arch/linux.py", line 165, in set_promisc
mreq = struct.pack("IHH8s", get_if_index(iff), PACKET_MR_PROMISC, 0, b"")
File "/usr/local/lib/python3.6/dist-packages/scapy/arch/linux.py", line 380, in get_if_index
return int(struct.unpack("I", get_if(iff, SIOCGIFINDEX)[16:20])[0])
File "/usr/local/lib/python3.6/dist-packages/scapy/arch/common.py", line 59, in get_if
ifreq = ioctl(sck, cmd, struct.pack("16s16x", iff.encode("utf8")))
OSError: [Errno 19] No such device
Howdy! I am not sure why this isn't working, but I did take a screen recording of it in use so maybe you can explain. That video file will be attached. Thank you so much, and keep up the great work!
(The video does not seem to be working)
Hi! Tried the script right now on a MacOS (the one that does not have the Linux implementation, because that one yields an error on MacOS) and it does not work as intended. After printing something like Grabbed packet src_ip=127.0.0.1 dst_ip=127.0.0.1 src_port=53666 dst_port=8000 seq=890051022 ack=999286445 jitter == 0, this RST packet should close the connection
, the connection is never terminated. What am I doing wrong here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.