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
gauplus, ctfr && gists fixed
six2dez15ca6dd96dc0
diff --git a/install.sh b/install.shindex 0e56aa1..1f325fb 100755--- a/install.sh+++ b/install.sh@@ -21,7 +21,7 @@ gotools["httpx"]="GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmdgotools["github-endpoints"]="go get -u github.com/gwen001/github-endpoints"gotools["dnsx"]="GO111MODULE=on go get -v github.com/projectdiscovery/dnsx/cmd/dnsx"gotools["subfinder"]="GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder"-gotools["gau"]="go get -v github.com/lc/gau"+gotools["gauplus"]="GO111MODULE=on go get -u -v github.com/bp0lr/gauplus"gotools["subjs"]="GO111MODULE=on go get -u -v github.com/lc/subjs"gotools["Gxss"]="go get -v github.com/KathanP19/Gxss"gotools["gospider"]="go get -u github.com/jaeles-project/gospider"@@ -41,7 +41,7 @@ repos["Arjun"]="s0md3v/Arjun"repos["gf"]="tomnomnom/gf"repos["Gf-Patterns"]="1ndianl33t/Gf-Patterns"repos["github-search"]="gwen001/github-search"-repos["crtfinder"]="eslam3kl/crtfinder"+repos["ctfr"]="UnaPibaGeek/ctfr"repos["LinkFinder"]="dark-warlord14/LinkFinder"repos["dnsgen"]="ProjectAnte/dnsgen"repos["ParamSpider"]="devanshbatham/ParamSpider"@@ -236,9 +236,9 @@ eval wget -nc -O ~/.gf/potential.json https://raw.githubusercontent.com/devanshbeval wget -nc -O ~/.config/notify/notify.conf https://gist.githubusercontent.com/six2dez/23a996bca189a11e88251367e6583053/raw/a66c4d8cf47a3bc95f5e9ba84773428662ea760c/notify_sample.conf $DEBUG_ERROReval wget -N -c https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STDeval wget -N -c https://wordlists-cdn.assetnote.io/data/manual/best-dns-wordlist.txt $DEBUG_STD && mv best-dns-wordlist.txt subdomains_big.txt-eval wget -N -c https://gist.githubusercontent.com/six2dez/a307a04a222fab5a57466c51e1569acf/raw/1bcdf2d61df08e66fd2d63b6a840f02c3a2ae24c/subdomains.txt $DEBUG_STD-eval wget -N -c https://gist.githubusercontent.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw/137bb6b60c616552c705e93a345c06cec3a2cb1f/permutations_list.txt $DEBUG_STD-eval wget -N -c https://gist.githubusercontent.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw/ea0774de5e27f9bc855207b175249edae2e9ccef/asyncio_ssrf.py $DEBUG_STD && cp asyncio_ssrf.py ssrf.py+eval wget -N -c -O subdomains.txt https://gist.github.com/six2dez/a307a04a222fab5a57466c51e1569acf/raw $DEBUG_STD+eval wget -N -c -O permutations_list.txt https://gist.github.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw $DEBUG_STD+eval wget -N -c -O asyncio_ssrf.py https://gist.github.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw $DEBUG_STD && cp asyncio_ssrf.py ssrf.pyeval wget -N -c https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallmicro.txt $DEBUG_STD && cp onelistforallmicro.txt fuzz_wordlist.txteval wget -N -c https://raw.githubusercontent.com/xmendez/wfuzz/master/wordlist/vulns/dirTraversal-nix.txt $DEBUG_STD && cp dirTraversal-nix.txt lfi_wordlist.txtdiff --git a/reconftw.sh b/reconftw.shindex 0417fe7..4530a50 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -53,6 +53,7 @@ function tools_installed(){[ -f $tools/Corsy/corsy.py ] || { printf "${bred} [*] Corsy [NO]${reset}\n"; allinstalled=false;}[ -f $tools/testssl.sh/testssl.sh ] || { printf "${bred} [*] testssl [NO]${reset}\n"; allinstalled=false;}[ -f $tools/CMSeeK/cmseek.py ] || { printf "${bred} [*] CMSeeK [NO]${reset}\n"; allinstalled=false;}+ [ -f $tools/ctfr/ctfr.py ] || { printf "${bred} [*] ctfr [NO]${reset}\n"; allinstalled=false;}[ -f $tools/fuzz_wordlist.txt ] || { printf "${bred} [*] OneListForAll [NO]${reset}\n"; allinstalled=false;}[ -f $tools/LinkFinder/linkfinder.py ] || { printf "${bred} [*] LinkFinder [NO]${reset}\n"; allinstalled=false;}[ -f $tools/GitDorker/GitDorker.py ] || { printf "${bred} [*] GitDorker [NO]${reset}\n"; allinstalled=false;}@@ -74,7 +75,7 @@ function tools_installed(){eval type -P crobat $DEBUG_STD || { printf "${bred} [*] Crobat [NO]${reset}\n"; allinstalled=false;}eval type -P mildew $DEBUG_STD || { printf "${bred} [*] mildew [NO]${reset}\n"; allinstalled=false;}eval type -P waybackurls $DEBUG_STD || { printf "${bred} [*] Waybackurls [NO]${reset}\n"; allinstalled=false;}- eval type -P gau $DEBUG_STD || { printf "${bred} [*] Gau [NO]${reset}\n"; allinstalled=false;}+ eval type -P gauplus $DEBUG_STD || { printf "${bred} [*] gauplus [NO]${reset}\n"; allinstalled=false;}eval type -P dnsx $DEBUG_STD || { printf "${bred} [*] dnsx [NO]${reset}\n"; allinstalled=false;}eval type -P DNScewl $DEBUG_STD || { printf "${bred} [*] DNScewl [NO]${reset}\n"; allinstalled=false;}eval type -P cf-check $DEBUG_STD || { printf "${bred} [*] Cf-check [NO]${reset}\n"; allinstalled=false;}@@ -319,7 +320,7 @@ function sub_passive(){fieval curl -s "https://jldc.me/anubis/subdomains/${domain}" $DEBUG_ERROR | grep -Po "((http|https):\/\/)?(([\w.-]*)\.([\w]*)\.([A-z]))\w+" | sed '/^\./d' | anew -q .tmp/jldc_psub.txttimeout 10m waybackurls $domain | unfurl --unique domains | anew -q .tmp/waybackurls_psub.txt- timeout 10m gau -subs $domain | unfurl --unique domains | anew -q .tmp/gau_psub.txt+ timeout 10m gauplus -t 50 -subs $domain | unfurl --unique domains | anew -q .tmp/gau_psub.txtif echo $domain | grep -q ".mil$"; thenmildewmv mildew.out .tmp/mildew.out@@ -336,18 +337,7 @@ function sub_crt(){if ([ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]) && [ "$SUBCRT" = true ]thenstart_subfunc "Running : Crtsh Subdomain Enumeration"- cd $tools/crtfinder- eval python3 crtfinder.py -u $domain $DEBUG_STD- outputfile=${domain%%.*}- eval cat ${outputfile}.txt $DEBUG_ERROR | grep ".$domain$" | anew -q $dir/.tmp/crtsh_subs_tmp.txt-- if [ "$DEEP" = true ] ; then- eval python3 dig.py ${outputfile}.txt > more.txt $DEBUG_STD- eval cat more.txt $DEBUG_ERROR | grep ".$domain$" | anew -q $dir/.tmp/crtsh_subs_tmp.txt- eval rm more.txt $DEBUG_ERROR- fi- eval rm ${outputfile}.txt $DEBUG_ERROR- cd $dir+ eval python3 $tools/ctfr/ctfr.py -d $domain -o .tmp/crtsh_subs_tmp.txt $DEBUG_STDeval curl "https://tls.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r .Results[] $DEBUG_ERROR | cut -d ',' -f3 | grep -F ".$domain" | anew -q .tmp/crtsh_subs.txteval curl "https://dns.bufferover.run/dns?q=.${domain}" $DEBUG_ERROR | eval jq -r '.FDNS_A'[],'.RDNS'[] $DEBUG_ERROR | cut -d ',' -f2 | grep -F ".$domain" | anew -q .tmp/crtsh_subs_tmp.txtNUMOFLINES=$(eval cat .tmp/crtsh_subs_tmp.txt $DEBUG_ERROR | anew .tmp/crtsh_subs.txt | wc -l)@@ -875,7 +865,7 @@ function urlchecks(){start_func "URL Extraction"mkdir -p jscat webs/webs.txt | waybackurls | anew -q .tmp/url_extract_tmp.txt- cat webs/webs.txt | gau -subs | anew -q .tmp/url_extract_tmp.txt+ cat webs/webs.txt | gauplus -t 50 -subs | anew -q .tmp/url_extract_tmp.txtdiff_webs=$(diff <(sort -u .tmp/probed_tmp.txt) <(sort -u webs/webs.txt) | wc -l)if [ $diff_webs != "0" ] || [ ! -s ".tmp/gospider.txt" ] ;then