study project about wfp attacks on anonymous networks as tor jap etc
Requierments for Python:
-
pip3 (sudo apt install python3-pip)
-
pip3 install -r python/requierments.txt
-
...
-
Profit!
-
Run python3 python/main.py
Requierments for Go:
-
Install libpcap-dev
-
Configure mysql server as a backend. Read database.txt
-
Install selenium related things using tebeka's selenium package helper:
cd $GOPATH/src/github.com/tebeka/selenium/vendor/
go run init.go --alsologtostderr --download_browsers --download_latest
- Install downloaded Chrome and Chrome-driver binaries in path. For example with creating symlinks from binaries to common $PATH folder under /usr/local/bin.
ln -s $GOPATH/src/github.com/tebeka/selenium/vendor/chrome-linux/chrome /usr/local/bin/chrome
ln -s $GOPATH/src/github.com/tebeka/selenium/vendor/chromedriver /usr/local/bin/chromedriver
- Build the binary with:
go build -o bin/wfp cmd/*
- Set permissions for packet capture for built binary.
sudo setcap cap_net_raw,cap_net_admin=eip bin/wfp
-
...
-
Profit!
-
bin/wfp --help