All Projects → kpcyrd → Rshijack

kpcyrd / Rshijack

Licence: gpl-3.0
tcp connection hijacker, rust rewrite of shijack

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Rshijack

Dedsploit
Network protocol auditing framework
Stars: ✭ 133 (-53.82%)
Mutual labels:  network, pentesting
Simplenet
An easy-to-use, event-driven, asynchronous network application framework compiled with Java 11.
Stars: ✭ 164 (-43.06%)
Mutual labels:  network, tcp
Kalm.js
The socket manager
Stars: ✭ 155 (-46.18%)
Mutual labels:  network, tcp
Scilla
🏴‍☠️ Information Gathering tool 🏴‍☠️ DNS / Subdomains / Ports / Directories enumeration
Stars: ✭ 116 (-59.72%)
Mutual labels:  network, pentesting
Pypacker
📦 The fastest and simplest packet manipulation lib for Python
Stars: ✭ 216 (-25%)
Mutual labels:  network, tcp
Fi6s
IPv6 network scanner designed to be fast
Stars: ✭ 116 (-59.72%)
Mutual labels:  network, tcp
Pycat
Python network tool, similar to Netcat with custom features.
Stars: ✭ 162 (-43.75%)
Mutual labels:  network, pentesting
Pytcp
PyTCP is an attempt to create fully functional TCP/IP stack in Python. It supports TCP stream based transport with reliable packet delivery based on sliding window mechanism and basic congestion control. It also supports IPv6/ICMPv6 protocols with SLAAC address configuration. It operates as user space program attached to Linux TAP interface. As of today stack is able to send and receive traffic over Internet using IPv4 and IPv6 default gateways for routing. Since goal of this project is purely educational (at least at this point) the clarity of code is preferred over its efficiency. For the same reason security features are not being implemented just yet unless they are integral part of TCP/IP suite protocols specification.
Stars: ✭ 65 (-77.43%)
Mutual labels:  network, tcp
Skillbox Chat
Skillbox demo application for the Python course
Stars: ✭ 86 (-70.14%)
Mutual labels:  network, tcp
Zserver4d
ZServer4D 是一套从商业项目剥离而出的云服务器中间件,可以承载百万级的分布式负载服务,并且支持IoT及内网穿透
Stars: ✭ 199 (-30.9%)
Mutual labels:  network, tcp
React Native Tcp Socket
React Native TCP socket API for Android, iOS & macOS with client SSL/TLS support
Stars: ✭ 112 (-61.11%)
Mutual labels:  network, tcp
Network
C# Network Library
Stars: ✭ 237 (-17.71%)
Mutual labels:  network, tcp
Deta cache
缓存cache服务器
Stars: ✭ 106 (-63.19%)
Mutual labels:  network, tcp
Qtnetworkng
QtNetwork Next Generation. A coroutine based network framework for Qt/C++, with more simpler API than boost::asio.
Stars: ✭ 125 (-56.6%)
Mutual labels:  network, tcp
Pentesting toolkit
🏴‍☠️ Tools for pentesting, CTFs & wargames. 🏴‍☠️
Stars: ✭ 1,268 (+340.28%)
Mutual labels:  network, pentesting
Ofxgpio
Library C++ for raspberrypi and orangepi, GPIO interfaces compatible with openframeworks.
Stars: ✭ 155 (-46.18%)
Mutual labels:  network, tcp
Tk Listen
A library that allows to listen network sockets with proper resource limits and error handling
Stars: ✭ 27 (-90.62%)
Mutual labels:  network, tcp
Pnet
High level Java network library
Stars: ✭ 49 (-82.99%)
Mutual labels:  network, tcp
Netscanner
netscanner - TCP/UDP scanner to find open or closed ports
Stars: ✭ 191 (-33.68%)
Mutual labels:  network, tcp
Pjon
PJON (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.
Stars: ✭ 2,615 (+807.99%)
Mutual labels:  network, tcp

rshijack Build Status Crates.io

tcp connection hijacker, rust rewrite of shijack from 2001.

This was written for TAMUctf 2018, brick house 100. The target was a telnet server that was protected by 2FA. Since the challenge wasn't authenticated, there have been multiple solutions for this. Our solution (cyclopropenylidene) was waiting until the authentication was done, then inject a tcp packet into the telnet connection:

# if you don't know one of the ports use 0 to match any port
echo 'cat ~/.ctf_flag' | sudo rshijack tap0 172.16.13.20:37386 172.16.13.19:23

After some attempts this command was accepted and executed by the telnet server, resulting in a tcp packet containing the flag.

screenshot

The way this works is by sniffing for a packet of a specific connection, then read the SEQ and ACK fields. Using that information, it's possible to send a packet on a raw socket that is accepted by the remote server as valid.

The other tools in that screenshot are sniffglue and arpspoof.

Docker

If needed, rshijack can be pulled as a docker image. The image is currently about 10.2MB.

docker run -it --init --rm --net=host kpcyrd/rshijack eth0 172.16.13.20:37386 172.16.13.19:23

Notable mentions

License

GPLv3+

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].