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
Replaced subdomainizer with JSFinder
six2dez6bfac5182e36
diff --git a/install.sh b/install.shindex 9c0ca37..3719964 100755--- a/install.sh+++ b/install.sh@@ -119,7 +119,7 @@ eval git clone https://github.com/six2dez/degoogle_hunter $dir/degoogle_hunter $eval git clone https://github.com/s0md3v/Arjun $dir/Arjun $DEBUG_STDeval git clone https://github.com/pielco11/fav-up $dir/fav-up $DEBUG_STDeval 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/Threezh1/JSFinder $dir/JSFinder $DEBUG_STDeval git clone https://github.com/codingo/Interlace $dir/Interlace $DEBUG_STDeval git clone https://github.com/gwen001/github-search $dir/github-search $DEBUG_STDprintf "${bgreen} 70%% done${reset}\n\n"diff --git a/reconftw.sh b/reconftw.shindex 47a34e2..be85762 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -82,7 +82,7 @@ function tools_installed(){[ -f $tools/fav-up/favUp.py ] || { printf "${bred} [*] fav-up [NO]\n"; allinstalled=false;}[ -f $tools/Corsy/corsy.py ] || { printf "${bred} [*] Corsy [NO]\n"; allinstalled=false;}[ -f $tools/testssl.sh/testssl.sh ] || { printf "${bred} [*] testssl [NO]\n"; allinstalled=false;}- [ -f $tools/SubDomainizer/SubDomainizer.py ] || { printf "${bred} [*] SubDomainizer [NO]\n"; allinstalled=false;}+ [ -f $tools/JSFinder/JSFinder.py ] || { printf "${bred} [*] JSFinder [NO]\n"; allinstalled=false;}[ -f $tools/fuzz_wordlist.txt ] || { printf "${bred} [*] OneListForAll [NO]\n"; allinstalled=false;}[ -f $tools/LinkFinder/linkfinder.py ] || { printf "${bred} [*] LinkFinder [NO]\n"; allinstalled=false;}[ -f $tools/github-endpoints.py ] || { printf "${bred} [*] github-endpoints [NO]\n"; allinstalled=false;}@@ -148,7 +148,7 @@ function tools_full(){[ -f $tools/fav-up/favUp.py ] && printf "${bgreen}[*] fav-up [YES]\n" || printf "${bred} [*] fav-up [NO]\n"[ -f $tools/Corsy/corsy.py ] && printf "${bgreen}[*] Corsy [YES]\n" || printf "${bred} [*] Corsy [NO]\n"[ -f $tools/testssl.sh/testssl.sh ] && printf "${bgreen}[*] testssl [YES]\n" || printf "${bred} [*] testssl [NO]\n"- [ -f $tools/SubDomainizer/SubDomainizer.py ] && printf "${bgreen}[*] SubDomainizer [YES]\n" || printf "${bred} [*] SubDomainizer [NO]\n"+ [ -f $tools/JSFinder/JSFinder.py ] && printf "${bgreen}[*] JSFinder [YES]\n" || printf "${bred} [*] JSFinder [NO]\n"[ -f $tools/fuzz_wordlist.txt ] && printf "${bgreen}[*] OneListForAll [YES]\n" || printf "${bred} [*] OneListForAll [NO]\n"[ -f $tools/LinkFinder/linkfinder.py ] && printf "${bgreen}[*] LinkFinder [YES]\n" || printf "${bred} [*] LinkFinder [NO]\n"[ -f $tools/github-endpoints.py ] && printf "${bgreen}[*] github-endpoints [YES]\n" || printf "${bred} [*] github-endpoints[NO]\n"@@ -296,33 +296,19 @@ sub_scraping(){thenstart=`date +%s`printf "${yellow} Running : JS scraping subdomain search 4/6${reset}\n"- if [ -n "$GITHUB_TOKEN" ]; then- interlace -tL ${domain}_subdomains.txt -threads 20 -c "python3 $tools/SubDomainizer/SubDomainizer.py -u _target_ -k -g -gt $GITHUB_TOKEN -san same -o _target_-subdomainizer.txt &>/dev/null" &>/dev/null- else- interlace -tL ${domain}_subdomains.txt -threads 20 -c "python3 $tools/SubDomainizer/SubDomainizer.py -u _target_ -k -san same -o _target_-subdomainizer.txt &>/dev/null" &>/dev/null- fi-# cat *-clouds.txt | anew -q ${domain}_clouds.txt- cat *-subdomainizer.txt | anew -q JS_subs.txt && touch $called_fn_dir/.${FUNCNAME[0]}-# eval rm -f *-clouds.txt $DEBUG_ERROR- eval rm -f *-subdomainizer.txt $DEBUG_ERROR+ cat ${domain}_subdomains.txt | httpx -follow-redirects -status-code -vhost -threads 100 -silent | sort -u | grep "[200]" | cut -d [ -f1 | sort -u | sed 's/[[:blank:]]*$//' > probed_tmp.txt+ eval python3 $tools/JSFinder/JSFinder.py -f ${domain}_probed_tmp.txt -os JS_subs.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}if [[ $(cat JS_subs.txt | wc -l) -gt 0 ]]thenNUMOFLINES=$(wc -l < JS_subs.txt)cat JS_subs.txt | eval shuffledns -d $domain -r $tools/resolvers.txt -o JS_subs_temp.txt $DEBUG_STDcat JS_subs_temp.txt | anew -q ${domain}_subdomains.txt- rm JS_subs_temp.txt+ eval rm JS_subs_temp.txt probed_tmp.txt $DEBUG_ERRORelseNUMOFLINES=0fi-# if [[ $(cat ${domain}_clouds.txt | wc -l) -gt 0 ]]-# then-# NUMOFLINES_cloud=$(wc -l < ${domain}_clouds.txt)-# else-# NUMOFLINES_cloud=0-# fiend=`date +%s`getElapsedTime $start $end-# printf "${green} ${NUMOFLINES} subdomains and ${NUMOFLINES_cloud} open buckets found in ${runtime}${reset}\n\n"printf "${green} ${NUMOFLINES} subdomains found in ${runtime}${reset}\n\n"elseprintf "${yellow} ${NUMOFLINES} ${FUNCNAME[0]} is already processed, to force executing ${FUNCNAME[0]} delete $called_fn_dir/.${FUNCNAME[0]} ${reset}\n\n"@@ -618,7 +604,7 @@ params(){interlace -tL ${domain}_probed.txt -threads 10 -c "python3 $tools/ParamSpider/paramspider.py -d _target_ -l high -q --exclude jpg,jpeg,gif,css,tif,tiff,png,ttf,woff,woff2,ico,js" &>/dev/nullfind output/ -name '*.txt' -exec cat {} \; | anew -q ${domain}_param.txtsed '/^FUZZ/d' -i ${domain}_param.txt- rm -rf output/+ eval rm -rf output/ $DEBUG_ERRORprintf "${yellow}\n\n Running : Checking ${domain} with Arjun${reset}\n"eval python3 $tools/Arjun/arjun.py -i ${domain}_param.txt -t 20 -o ${domain}_arjun.json $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}end=`date +%s`diff --git a/update.sh b/update.shindex f38e402..c709e83 100755--- a/update.sh+++ b/update.sh@@ -44,7 +44,7 @@ printf "${bblue}\n Updating installed python packages is finished ${reset}\n"printf "${bgreen}#######################################################################\n"#Tools to be updated-repos="s0md3v/Arjun six2dez/degoogle_hunter 1ndianl33t/Gf-Patterns gwen001/github-search dark-warlord14/LinkFinder projectdiscovery/nuclei-templates devanshbatham/ParamSpider nsonaniya2010/SubDomainizer haccer/subjack s0md3v/Corsy pielco11/fav-up tomnomnom/gf codingo/Interlace blechschmidt/massdns devanshbatham/OpenRedireX tillson/git-hound"+repos="s0md3v/Arjun six2dez/degoogle_hunter 1ndianl33t/Gf-Patterns gwen001/github-search dark-warlord14/LinkFinder projectdiscovery/nuclei-templates devanshbatham/ParamSpider Threezh1/JSFinder haccer/subjack s0md3v/Corsy pielco11/fav-up tomnomnom/gf codingo/Interlace blechschmidt/massdns devanshbatham/OpenRedireX tillson/git-hound"printf "\n${bgreen}--==[ ************************************************************************************ ]==--\n"printf "${bred} reconftw updater script (apt/rpm/pacman compatible)${reset}\n"printf "\n${bgreen}--==[ ************************************************************************************ ]==--\n"