reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Raspberry Support
Bilel Eljaamiid6788904182b
diff --git a/install.sh b/install.shindex 5c771dd..246f8b7 100755--- a/install.sh+++ b/install.sh@@ -1,5 +1,5 @@#!/bin/bash-GOROOT=$(which go)+#GOROOT=$(which go)bgreen='\033[1;32m'yellow='\033[0;33m'@@ -9,22 +9,29 @@ bred='\033[1;31m'DEBUG_STD="&>/dev/null"DEBUG_ERROR="2>/dev/null"+if grep -q "ARMv" /proc/cpuinfo+then+ IS_ARM="True";+else+ IS_ARM="False";+fi+printf "\n\n${bgreen}#######################################################################\n"printf "${bgreen} reconftw installer script (apt/rpm/pacman compatible)${reset}\n\n"install_apt(){- sudo apt update -y $DEBUG_STD- sudo apt install python3 python3-pip ruby git libpcap-dev chromium-browser wget python-dev python3-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev nmap python-pip -y $DEBUG_STD+ eval sudo apt update -y $DEBUG_STD+ eval sudo apt install python3 python3-pip ruby git libpcap-dev chromium-browser wget python-dev python3-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev nmap -y $DEBUG_STD}install_yum(){- sudo yum update -y $DEBUG_STD- sudo yum install python3 python3-pip ruby git libpcap-devel chromium wget openssl-devel python3-devel libxslt-devel libffi-devel libxml2-devel nmap zlib-devel -y $DEBUG_STD+ eval sudo yum update -y $DEBUG_STD+ eval sudo yum install python3 python3-pip ruby git libpcap-devel chromium wget openssl-devel python3-devel libxslt-devel libffi-devel libxml2-devel nmap zlib-devel -y $DEBUG_STD}install_pacman(){- sudo pacman -Syu -y $DEBUG_STD- sudo pacman -Sy install python python-pip ruby git libpcap nmap chromium wget -y $DEBUG_STD+ eval sudo pacman -Syu -y $DEBUG_STD+ eval sudo pacman -Sy install python python-pip ruby git libpcap nmap chromium wget -y $DEBUG_STD}type go >/dev/null 2>&1 || { printf "${bred} Golang no detected, install and configure it before run this script\n Check https://golang.org/doc/install\n"; exit 1; }@@ -44,85 +51,95 @@ fi[ ! -d "~/Tools" ] && mkdir -p ~/Toolsdir=~/Tools-go get -v github.com/tomnomnom/gf $DEBUG_STD-go get -v github.com/tomnomnom/qsreplace $DEBUG_STD-GO111MODULE=on go get -v github.com/OWASP/Amass/v3/... $DEBUG_STD-go get -v github.com/ffuf/ffuf $DEBUG_STD-go get -v github.com/tomnomnom/assetfinder $DEBUG_STD-GO111MODULE=on go get -v github.com/projectdiscovery/naabu/v2/cmd/naabu $DEBUG_STD+eval go get -v github.com/tomnomnom/gf $DEBUG_STD+eval go get -v github.com/tomnomnom/qsreplace $DEBUG_STD+eval GO111MODULE=on go get -v github.com/OWASP/Amass/v3/... $DEBUG_STD+eval go get -v github.com/ffuf/ffuf $DEBUG_STD+eval go get -v github.com/tomnomnom/assetfinder $DEBUG_STD+eval GO111MODULE=on go get -v github.com/projectdiscovery/naabu/v2/cmd/naabu $DEBUG_STDprintf "${bgreen} 10%% done${reset}\n\n"-go get -v github.com/tomnomnom/hacks/waybackurls $DEBUG_STD-GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei $DEBUG_STD-go get -v github.com/michenriksen/aquatone $DEBUG_STD-go get -v github.com/tomnomnom/anew $DEBUG_STD+eval go get -v github.com/tomnomnom/hacks/waybackurls $DEBUG_STD+eval GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei $DEBUG_STD+eval go get -v github.com/michenriksen/aquatone $DEBUG_STD+eval go get -v github.com/tomnomnom/anew $DEBUG_STDprintf "${bgreen} 20%% done${reset}\n\n"-go get -v github.com/tomnomnom/unfurl $DEBUG_STD-git clone https://github.com/projectdiscovery/nuclei-templates ~/nuclei-templates $DEBUG_STD-nuclei -update-templates $DEBUG_STD-go get -v github.com/haccer/subjack $DEBUG_STD-git clone https://github.com/haccer/subjack $dir/subjack $DEBUG_STD-GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx $DEBUG_STD+eval go get -v github.com/tomnomnom/unfurl $DEBUG_STD+eval git clone https://github.com/projectdiscovery/nuclei-templates ~/nuclei-templates $DEBUG_STD+eval nuclei -update-templates $DEBUG_STD+eval go get -v github.com/haccer/subjack $DEBUG_STD+eval git clone https://github.com/haccer/subjack $dir/subjack $DEBUG_STD+eval GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx $DEBUG_STDprintf "${bgreen} 30%% done${reset}\n\n"-git clone https://github.com/1ndianl33t/Gf-Patterns $dir/Gf-Patterns $DEBUG_STD-git clone https://github.com/tomnomnom/gf $dir/gf $DEBUG_STD+eval git clone https://github.com/1ndianl33t/Gf-Patterns $dir/Gf-Patterns $DEBUG_STD+eval git clone https://github.com/tomnomnom/gf $dir/gf $DEBUG_STDcp -r $dir/gf/examples ~/.gfcp $dir/Gf-Patterns/*.json ~/.gfprintf "${bgreen} 40%% done${reset}\n\n"-GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder $DEBUG_STD-go get -v github.com/hahwul/dalfox $DEBUG_STD-go get -v github.com/lc/gau $DEBUG_STD-GO111MODULE=on go get -u -v github.com/lc/subjs $DEBUG_STD-go get -v github.com/KathanP19/Gxss $DEBUG_STD-git clone https://github.com/blechschmidt/massdns $dir/massdns $DEBUG_STD+eval GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder $DEBUG_STD+eval go get -v github.com/hahwul/dalfox $DEBUG_STD+eval go get -v github.com/lc/gau $DEBUG_STD+eval GO111MODULE=on go get -u -v github.com/lc/subjs $DEBUG_STD+eval go get -v github.com/KathanP19/Gxss $DEBUG_STD+eval git clone https://github.com/blechschmidt/massdns $dir/massdns $DEBUG_STDprintf "${bgreen} 50%% done${reset}\n\n"-git clone https://github.com/devanshbatham/ParamSpider $dir/ParamSpider $DEBUG_STD-git clone https://github.com/six2dez/OneListForAll $dir/OneListForAll $DEBUG_STD-git clone https://github.com/dark-warlord14/LinkFinder $dir/LinkFinder $DEBUG_STD-GO111MODULE=on go get -v github.com/projectdiscovery/shuffledns/cmd/shuffledns $DEBUG_STD+eval git clone https://github.com/devanshbatham/ParamSpider $dir/ParamSpider $DEBUG_STD+eval git clone https://github.com/six2dez/OneListForAll $dir/OneListForAll $DEBUG_STD+eval git clone https://github.com/dark-warlord14/LinkFinder $dir/LinkFinder $DEBUG_STD+eval GO111MODULE=on go get -v github.com/projectdiscovery/shuffledns/cmd/shuffledns $DEBUG_STDgo get -v github.com/hakluke/hakrawler-go get -v github.com/cgboal/sonarsearch/crobat $DEBUG_STD+eval go get -v github.com/cgboal/sonarsearch/crobat $DEBUG_STDprintf "${bgreen} 60%% done${reset}\n\n"-git clone https://github.com/six2dez/degoogle_hunter $dir/degoogle_hunter $DEBUG_STD-git clone https://github.com/s0md3v/Arjun $dir/Arjun $DEBUG_STD-git clone https://github.com/pielco11/fav-up $dir/fav-up $DEBUG_STD-git clone https://github.com/s0md3v/Corsy $dir/Corsy $DEBUG_STD-git clone https://github.com/nsonaniya2010/SubDomainizer $dir/SubDomainizer $DEBUG_STD-git clone https://github.com/codingo/Interlace $dir/Interlace $DEBUG_STD-git clone https://github.com/m4ll0k/SecretFinder $dir/SecretFinder $DEBUG_STD-git clone https://github.com/gwen001/github-search $dir/github-search $DEBUG_STD+eval git clone https://github.com/six2dez/degoogle_hunter $dir/degoogle_hunter $DEBUG_STD+eval git clone https://github.com/s0md3v/Arjun $dir/Arjun $DEBUG_STD+eval git clone https://github.com/pielco11/fav-up $dir/fav-up $DEBUG_STD+eval git clone https://github.com/s0md3v/Corsy $dir/Corsy $DEBUG_STD+eval git clone https://github.com/nsonaniya2010/SubDomainizer $dir/SubDomainizer $DEBUG_STD+eval git clone https://github.com/codingo/Interlace $dir/Interlace $DEBUG_STD+eval git clone https://github.com/m4ll0k/SecretFinder $dir/SecretFinder $DEBUG_STD+eval git clone https://github.com/gwen001/github-search $dir/github-search $DEBUG_STDprintf "${bgreen} 70%% done${reset}\n\n"-git clone https://github.com/drwetter/testssl.sh $dir/testssl.sh $DEBUG_STD-pip3 install dnsgen $DEBUG_STD-wget https://github.com/tillson/git-hound/releases/download/v1.3/git-hound_1.3_Linux_x86_64.tar.gz $DEBUG_STD-tar -xf git-hound_1.3_Linux_x86_64.tar.gz git-hound-rm -f git-hound_1.3_Linux_x86_64.tar.gz-sudo mv git-hound /usr/local/bin/git-hound-sudo chmod 755 /usr/local/bin/git-hound+eval git clone https://github.com/drwetter/testssl.sh $dir/testssl.sh $DEBUG_STD+eval pip3 install dnsgen $DEBUG_STD+if [ "True" = "$IS_ARM" ]+ then+ eval git clone https://github.com/tillson/git-hound $dir/git-hound $DEBUG_STD+ cd $dir/git-hound && go build && chmod 754 git-hound && mv $dir/git-hound/git-hound /usr/local/bin && cd $dir+ else+ eval wget https://github.com/tillson/git-hound/releases/download/v1.3/git-hound_1.3_Linux_x86_64.tar.gz $DEBUG_STD+ tar -xf git-hound_1.3_Linux_x86_64.tar.gz git-hound+ rm -f git-hound_1.3_Linux_x86_64.tar.gz+ sudo mv git-hound /usr/local/bin/git-hound+ sudo chmod 755 /usr/local/bin/git-hound+fiprintf "${bgreen} 80%% done${reset}\n\n"-git clone https://github.com/m8r0wn/pymeta $dir/pymeta $DEBUG_STD-wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux $DEBUG_STD-sudo mv findomain-linux /usr/local/bin/findomain+eval git clone https://github.com/m8r0wn/pymeta $dir/pymeta $DEBUG_STD+if [ "True" = "$IS_ARM" ]+ then+ eval wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-rpi $DEBUG_STD+ sudo mv findomain-rpi /usr/local/bin/findomain+ else+ eval wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux $DEBUG_STD+ sudo mv findomain-linux /usr/local/bin/findomain+fisudo chmod 755 /usr/local/bin/findomain-cd $dir/massdns; make $DEBUG_STD+cd $dir/massdns; eval make $DEBUG_STDsudo cp $dir/massdns/bin/massdns /usr/bin/sudo pip3 install mmh3==2.5.1-find $dir -name 'requirements.txt' -exec pip3 install --user -r {} \; $DEBUG_STD+eval find $dir -name 'requirements.txt' -exec pip3 install --user -r {} \; $DEBUG_STDcd $dir/Interlace && sudo python3 setup.py installcd $dir/LinkFinder && python3 setup.py installcd $dirpython3 $dir/pymeta/setup.py install-git clone https://github.com/devanshbatham/OpenRedireX $dir/OpenRedireX $DEBUG_STD+eval git clone https://github.com/devanshbatham/OpenRedireX $dir/OpenRedireX $DEBUG_STDprintf "${bgreen} 90%% done${reset}\n\n"-cd ~/.gf; wget -O potential.json https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json $DEBUG_STD; cd $dir-wget -O github-endpoints.py https://gist.githubusercontent.com/six2dez/d1d516b606557526e9a78d7dd49cacd3/raw/8e7f1e1139ba3501d15dcd2ad82338d303f0b404/github-endpoints.py $DEBUG_STD-wget -O getjswords.py https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD-wget -O subdomains.txt https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt $DEBUG_STD-wget -O resolvers.txt https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt $DEBUG_STD-wget -O permutations_list.txt https://gist.githubusercontent.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw/137bb6b60c616552c705e93a345c06cec3a2cb1f/permutations_list.txt $DEBUG_STD-wget -O ssrf.py https://gist.githubusercontent.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw/ea0774de5e27f9bc855207b175249edae2e9ccef/asyncio_ssrf.py $DEBUG_STD--+cd ~/.gf; eval wget -O potential.json https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json $DEBUG_STD; cd $dir+eval wget -O github-endpoints.py https://gist.githubusercontent.com/six2dez/d1d516b606557526e9a78d7dd49cacd3/raw/8e7f1e1139ba3501d15dcd2ad82338d303f0b404/github-endpoints.py $DEBUG_STD+eval wget -O getjswords.py https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD+eval wget -O subdomains.txt https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt $DEBUG_STD+eval wget -O resolvers.txt https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt $DEBUG_STD+eval wget -O permutations_list.txt https://gist.githubusercontent.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw/137bb6b60c616552c705e93a345c06cec3a2cb1f/permutations_list.txt $DEBUG_STD+eval wget -O ssrf.py https://gist.githubusercontent.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw/ea0774de5e27f9bc855207b175249edae2e9ccef/asyncio_ssrf.py $DEBUG_STDprintf "${yellow} Remember set your api keys:\n - amass (~/.config/amass/config.ini)\n - subfinder (~/.config/subfinder/config.yaml)\n - git-hound (~/.githound/config.yml)\n - github-endpoints.py ($tools/.github_tokens or GITHUB_TOKEN env var)\n - favup (shodan init SHODANPAIDAPIKEY)\n - SSRF Server (COLLAB_SERVER env var) ${reset}\n"