-
-
Notifications
You must be signed in to change notification settings - Fork 26
Installation
h00dy edited this page Nov 12, 2023
·
9 revisions
-
Pull and run the docker image
sudo docker pull hoodietramp/capncook:latest sudo docker run -p 5000:5000 hoodietramp/capncook:latest
-
Install the necessities:
sudo apt update && sudo apt upgrade -y ; sudo apt install python3 python3-pip tor chromium jq whois proxychains4 unzip
-
Clone the repo:
git clone https://github.com/hoodietramp/capNcook; cd capNcook
-
Install the required dependencies using:
pip3 install -r requirements.txt
-
Install AquaTone:
wget https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip unzip aquatone_linux_amd64_1.7.0.zip sudo mv aquatone /usr/bin/ sudo chmod +x /usr/bin/aquatone rm LICENSE.txt README.md aquatone_linux_amd64_1.7.0.zip
OR
sudo cp ./aquatone /usr/bin/
-
Install FeroxBuster:
wget https://github.com/epi052/feroxbuster/releases/download/v2.10.0/x86_64-linux-feroxbuster.zip unzip x86_64-linux-feroxbuster.zip sudo mv feroxbuster /usr/bin/ sudo chmod +x /usr/bin/feroxbuster rm x86_64-linux-feroxbuster.zip
-
Start Tor service:
sudo cp ./torrc /etc/tor/torrc
sudo systemctl start tor
sudo chmod 644 /run/tor/control.authcookie
-
Run the application:
flask run
OR
python3 app.py
-
Access the tool in your web browser at
http://localhost:5000/
.
-
Install the necessities:
sudo apt update && sudo apt upgrade -y ; sudo apt install python3 python3-pip tor chromium jq whois proxychains4 unzip
-
Clone the repo:
git clone https://github.com/hoodietramp/capNcook; cd capNcook
-
Install the required dependencies using:
pip3 install -r requirements.txt
-
Install AquaTone:
wget https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip unzip aquatone_linux_amd64_1.7.0.zip sudo mv aquatone /usr/bin/ sudo chmod +x /usr/bin/aquatone rm LICENSE.txt README.md aquatone_linux_amd64_1.7.0.zip
OR
sudo cp ./aquatone /usr/bin/
-
Install FeroxBuster:
wget https://github.com/epi052/feroxbuster/releases/download/v2.10.0/x86_64-linux-feroxbuster.zip unzip x86_64-linux-feroxbuster.zip sudo mv feroxbuster /usr/bin/ sudo chmod +x /usr/bin/feroxbuster rm x86_64-linux-feroxbuster.zip
-
Uncomment these lines in the
torrc
file provided with this repo:HiddenServiceDir /var/lib/tor/capNcook/ HiddenServicePort 80 127.0.0.1:5000 HiddenServiceVersion 3 HiddenServiceMaxStreams 100 CircuitBuildTimeout 10 KeepalivePeriod 60 seconds
-
Copy this torrc in
/etc/tor/
folder and start tor service:sudo cp ./torrc /etc/tor/torrc
sudo systemctl start tor
sudo chmod 644 /run/tor/control.authcookie
-
Run the application:
flask run
OR
python3 app.py
-
Access the hidden service in tor browser (
h00dy*****************************.onion
) in your case it'd be random.
P.S if you want to generate a vanity onion address, kindly refer to this repo - github.com/cathugger/mkp224o