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
Small fixes
six2dezf4a6ee5de8cf
diff --git a/reconftw.cfg b/reconftw.cfgindex 8fdca40..0d51290 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -60,8 +60,6 @@ ZONETRANSFER=trueS3BUCKETS=trueREVERSE_IP=false--# Web detectionWEBPROBESIMPLE=trueWEBPROBEFULL=true@@ -87,8 +85,6 @@ JSCHECKS=trueFUZZ=trueCMS_SCANNER=trueWORDLIST=true--# Wordlist GeneratorROBOTSWORDLIST=true# Vulns@@ -104,7 +100,6 @@ SSTI=trueSQLI=trueBROKENLINKS=trueSPRAY=true-BYPASSER4XX=false # Probably will be removedCOMM_INJ=truePROTO_POLLUTION=true@@ -114,7 +109,7 @@ SOFT_NOTIFICATION=false # Only for start/endDEEP=falseDEEP_LIMIT=1000DIFF=false-REMOVETMP=false+REMOVETMP=trueREMOVELOG=falsePROXY=falseSENDZIPNOTIFY=false@@ -136,7 +131,6 @@ GAUPLUS_THREADS=10DALFOX_THREADS=200PUREDNS_PUBLIC_LIMIT=0 # Set between 2000 - 10000 if your router blows up, 0 is unlimitedPUREDNS_TRUSTED_LIMIT=400-DIRDAR_THREADS=200WEBSCREENSHOT_THREADS=200RESOLVE_DOMAINS_THREADS=150PPFUZZ_THREADS=30diff --git a/reconftw.sh b/reconftw.shindex 80934d2..b29b658 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -498,7 +498,7 @@ function sub_recursive(){[ -s ".tmp/passive_recurs_tmp.txt" ] && cat .tmp/passive_recurs_tmp.txt | anew -q subdomains/subdomains.txtfi# Bruteforce recursive- if [[ $(cat subdomains/subdomains.txt | wc -l) -le 1000 ]]; then+ if [[ $(cat subdomains/subdomains.txt | wc -l) -le $DEEP_LIMIT ]]; thenecho "" > .tmp/brute_recursive_wordlist.txtfor sub in $(cat subdomains/subdomains.txt); dosed "s/$/.$sub/" $subs_wordlist >> .tmp/brute_recursive_wordlist.txt@@ -982,7 +982,7 @@ function jschecks(){printf "${yellow} Running : Fetching Urls 1/5${reset}\n"cp js/url_extract_js.txt js/jsfile_links.txtcat js/jsfile_links.txt | subjs -c 40 | grep "$domain" | anew -q .tmp/subjslinks.txt- [ -s .tmp/subjslinks.txt ] && cat .tmp/subjslinks.txt | egrep -iv ".(js|jpg|jpeg|woff|woff2|ttf|eot)" | anew -q js/nojs_links.txt+ [ -s .tmp/subjslinks.txt ] && cat .tmp/subjslinks.txt | egrep -iv "\.(eot|jpg|jpeg|gif|css|tif|tiff|png|ttf|otf|woff|woff2|ico|pdf|svg|txt|js)" | anew -q js/nojs_links.txt[ -s .tmp/subjslinks.txt ] && cat .tmp/subjslinks.txt | grep -iE "\.js" | anew -q js/jsfile_links.txtprintf "${yellow} Running : Resolving JS Urls 2/5${reset}\n"[ -s "js/jsfile_links.txt" ] && cat js/jsfile_links.txt | httpx -follow-redirects -random-agent -silent -timeout $HTTPX_TIMEOUT -threads $HTTPX_THREADS -status-code -retries 2 -no-color | grep "[200]" | cut -d ' ' -f1 | anew -q js/js_livelinks.txtdiff --git a/reconftw_axiom.sh b/reconftw_axiom.shindex c4b04cf..ebbc2ea 100755--- a/reconftw_axiom.sh+++ b/reconftw_axiom.sh@@ -514,7 +514,7 @@ function sub_recursive(){[ -s ".tmp/passive_recurs_tmp.txt" ] && cat .tmp/passive_recurs_tmp.txt | anew -q subdomains/subdomains.txtfi# Bruteforce recursive- if [[ $(cat subdomains/subdomains.txt | wc -l) -le 1000 ]]; then+ if [[ $(cat subdomains/subdomains.txt | wc -l) -le $DEEP_LIMIT ]]; thenecho "" > .tmp/brute_recursive_wordlist.txtfor sub in $(cat subdomains/subdomains.txt); dosed "s/$/.$sub/" $subs_wordlist >> .tmp/brute_recursive_wordlist.txt@@ -1002,7 +1002,7 @@ function jschecks(){printf "${yellow} Running : Fetching Urls 1/5${reset}\n"cp js/url_extract_js.txt js/jsfile_links.txtcat js/jsfile_links.txt | subjs -c 40 | grep "$domain" | anew -q .tmp/subjslinks.txt- [ -s .tmp/subjslinks.txt ] && cat .tmp/subjslinks.txt | egrep -iv ".(js|jpg|jpeg|woff|woff2|ttf|eot)" | anew -q js/nojs_links.txt+ [ -s .tmp/subjslinks.txt ] && cat .tmp/subjslinks.txt | egrep -iv "\.(eot|jpg|jpeg|gif|css|tif|tiff|png|ttf|otf|woff|woff2|ico|pdf|svg|txt|js)" | anew -q js/nojs_links.txt[ -s .tmp/subjslinks.txt ] && cat .tmp/subjslinks.txt | grep -iE "\.js" | anew -q js/jsfile_links.txtprintf "${yellow} Running : Resolving JS Urls 2/5${reset}\n"[ -s "js/jsfile_links.txt" ] && cat js/jsfile_links.txt | httpx -follow-redirects -random-agent -silent -timeout $HTTPX_TIMEOUT -threads $HTTPX_THREADS -status-code -retries 2 -no-color | grep "[200]" | cut -d ' ' -f1 | anew -q js/js_livelinks.txt@@ -1531,6 +1531,7 @@ function axiom_lauch(){# let's fire up a FLEET!if [ "$AXIOM_FLEET_LAUNCH" = true ] && [ -n "$AXIOM_FLEET_NAME" ] && [ -n "$AXIOM_FLEET_COUNT" ]; thenstart_func "Launching our Axiom fleet"+ python3 -m pip install --upgrade linode-cli 2>>"$LOGFILE" &>/dev/null# Check to see if we have a fleet already, if so, SKIP THIS!NUMOFNODES=$(timeout 30 axiom-ls | grep -c "$AXIOM_FLEET_NAME")if [[ $NUMOFNODES -ge $AXIOM_FLEET_COUNT ]]; then