mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-15 23:03:08 +08:00
ccd518287a063bc0ba3a2f08fb79f6ee7c124ebe
TFG
Build and run
cd src
make
sudo ./bin/kit -t <network interface>
Network interface used for PoC: lo
PoC 0 - Modifying incoming traffic
Option 1: With netcat
Terminal 1:
nc -l 9000
Terminal 2:
echo -n "XDP_PoC_0" | nc 127.0.0.1 9000
Option 2: With the in-built client
cd src/client
sudo ./injector -S 127.0.0.1
PoC 1 - Modifying arguments of read syscalls
echo "This won't be seen" > /tmp/txt.txt
cat /tmp/txt.txt
Languages
C
95.5%
Shell
3.3%
Makefile
0.6%
CMake
0.4%