mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-16 23:33:06 +08:00
Update README.md
This commit is contained in:
23
README.md
23
README.md
@@ -1 +1,24 @@
|
|||||||
# TFG
|
# TFG
|
||||||
|
## Build and run
|
||||||
|
```bash
|
||||||
|
cd src
|
||||||
|
make
|
||||||
|
sudo ./bin/xdp_filter -t <network interface>
|
||||||
|
```
|
||||||
|
Network interface used for PoC: lo
|
||||||
|
|
||||||
|
## PoC 0 - Modifing incoming traffic
|
||||||
|
### Option 1: With netcat
|
||||||
|
Terminal 1:
|
||||||
|
```bash
|
||||||
|
nc -l 9000
|
||||||
|
```
|
||||||
|
Terminal 2:
|
||||||
|
```bash
|
||||||
|
echo -n "XDP_PoC_0" | nc 127.0.0.1 9000
|
||||||
|
```
|
||||||
|
### Option 2: With the in-built client
|
||||||
|
```bash
|
||||||
|
cd src/client
|
||||||
|
sudo ./injector -S 127.0.0.1
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user