mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-24 10:23:08 +08:00
d5478ed7a0fe0257309a79ff5b95f88f2681a8e2
* Included maps and kernel ring buffer communication * Extended the ebpf structure to include more modules * New utils in both user and kernelspace * Other changes * This update precedes a great effort on researching and learning and linux kernel tracing and studing ebpfkit from defcon. More functionalities should come rather quickly now.
TFG
Build and run
cd src
make
sudo ./bin/xdp_filter -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
Languages
C
95.5%
Shell
3.3%
Makefile
0.6%
CMake
0.4%