Skip to content

Instantly share code, notes, and snippets.

@fidacura
Last active January 11, 2025 08:45
Show Gist options
  • Select an option

  • Save fidacura/5b5c7e0689ee0d7fb0b51eb297954bbb to your computer and use it in GitHub Desktop.

Select an option

Save fidacura/5b5c7e0689ee0d7fb0b51eb297954bbb to your computer and use it in GitHub Desktop.
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive;
echo "[๐Ÿ› ] Starting Installation... [๐Ÿ› ]"
echo -e "\n[๐Ÿง]Running a full package upgrade...[๐Ÿง]"
apt update && apt upgrade
# General stuff
sudo apt install dnsutils rsync
sudo apt install build-essential
sudo apt install libssl-dev pkg-config
sudo apt install parallel
sudo apt install whatweb
# Install Python
sudo apt update
sudo apt install python3 python3-venv python3-pip
mkdir ~/software/python_venv
cd ~/software/python_venv
python3 -m venv myenv
source myenv/bin/activate
git clone https://github.com/maK-/parameth.git
git clone https://github.com/devanshbatham/ParamSpider.git
git clone https://github.com/GerbenJavado/LinkFinder.git
git clone https://github.com/swisskyrepo/SSRFmap.git
# Python packages
pipx install arjun
pipx install dirhunt
pipx install dnsrecon
pipx runpip parth install requests
pipx install parth
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
# Configure Go Enviroment
echo -e "\n[๐Ÿน] Installing Golang [๐Ÿน]"
sudo curl -O https://golang.org/dl/go1.22.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/home/researcher/go/bin
# Setup research dir structure
echo -e "\n[โŒจ๏ธ] Preparing directory structure [โŒจ๏ธ]"
cd ~
mkdir -p automation
mkdir -p config
mkdir -p research
mkdir -p software
mkdir -p temp
mkdir -p wordlists
# amass
echo -e "\n[๐Ÿ”ฎ] Installing Amass [๐Ÿ”ฎ]"
go install -v github.com/owasp-amass/amass/v4/...@master
# dnsrecon
git clone https://github.com/darkoperator/dnsrecon.git
cd dnsrecon
pipx install dnsrecon
# findomain
git clone https://github.com/findomain/findomain.git
cd findomain
cargo build --release
sudo cp target/release/findomain /usr/bin/
findomain
# ffuf
echo -e "\n[๐Ÿ”ฎ] Installing ffuf [๐Ÿ”ฎ]"
go install github.com/ffuf/ffuf/v2@latest
# gau
# echo -e "\n[๐Ÿ”ฎ] Installing gau [๐Ÿ”ฎ]"
go install github.com/lc/gau/v2/cmd/gau@latest
# github-subdomains and github-endpoints
go install github.com/gwen001/github-subdomains@latest
go install github.com/gwen001/github-endpoints@latest
# goaltdns
go install -v github.com/subfinder/goaltdns@latest
# gospider
GO111MODULE=on go install github.com/jaeles-project/gospider@latest
# gobuster
go install github.com/OJ/gobuster/v3@latest
# masscan
echo -e "\n[๐Ÿ”ฎ] Installing MASSCAN"
sudo apt-get --assume-yes install git make gcc
git clone https://github.com/robertdavidgraham/masscan
cd masscan
sudo make
sudo make install
cd ..
# massdns
git clone https://github.com/blechschmidt/massdns.git
cd massdns
make
sudo make install
# nmap
echo -e "\n[๐Ÿ”ฎ] Installing nmap"
sudo apt install nmap
# sqlmap
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev
# WAFs
#wafw00f
pipx install wafw00f
#whatwaf
cd software
git clone https://github.com/ekultek/whatwaf.git
cd whatwaf
chmod +x whatwaf.py
pip install -r requirements.txt
cd ../../
# DNS Permutations
echo -e "\n[๐Ÿ”ฎ] Installing DNS Permutation stuff"
pip3 install py-altdns==1.0.2
pip3 install dnsgen
# go install github.com/Josue87/gotator@latest
# ProjectDiscovery
echo -e "\n[๐Ÿ”ฎ] Installing Project Discovery stuff"
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
# go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest
go install -v github.com/projectdiscovery/mapcidr/cmd/mapcidr@latest
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install -v github.com/projectdiscovery/tlsx/cmd/tlsx@latest
go install -v github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest
go install -v github.com/projectdiscovery/katana/cmd/katana@latest
# Tomnomnom's magic
echo -e "\n[๐Ÿ”ฎ] Installing Tomnomnom stuff [๐Ÿ”ฎ]"
go install -v github.com/tomnomnom/assetfinder@latest
go install github.com/tomnomnom/fff@latest
go install github.com/tomnomnom/gf@latest
go install github.com/tomnomnom/hacks/html-tool@latest
go install github.com/tomnomnom/meg@latest
go install github.com/tomnomnom/qsreplace@latest
go install github.com/tomnomnom/unfurl@latest
go install github.com/tomnomnom/waybackurls@latest
go install github.com/hakluke/hakrawler@latest
go install github.com/lc/subjs@latest
# ENDING
echo "\n[๐Ÿ› ]Installation Completed...[๐Ÿ› ]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment