Skip to content

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

Small fixes

six2dezf4a6ee5de8cf
diff --git a/reconftw.cfg b/reconftw.cfg
index 8fdca40..0d51290 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -60,8 +60,6 @@ ZONETRANSFER=true
S3BUCKETS=true
REVERSE_IP=false
-
-
# Web detection
WEBPROBESIMPLE=true
WEBPROBEFULL=true
@@ -87,8 +85,6 @@ JSCHECKS=true
FUZZ=true
CMS_SCANNER=true
WORDLIST=true
-
-# Wordlist Generator
ROBOTSWORDLIST=true
# Vulns
@@ -104,7 +100,6 @@ SSTI=true
SQLI=true
BROKENLINKS=true
SPRAY=true
-BYPASSER4XX=false # Probably will be removed
COMM_INJ=true
PROTO_POLLUTION=true
@@ -114,7 +109,7 @@ SOFT_NOTIFICATION=false # Only for start/end
DEEP=false
DEEP_LIMIT=1000
DIFF=false
-REMOVETMP=false
+REMOVETMP=true
REMOVELOG=false
PROXY=false
SENDZIPNOTIFY=false
@@ -136,7 +131,6 @@ GAUPLUS_THREADS=10
DALFOX_THREADS=200
PUREDNS_PUBLIC_LIMIT=0 # Set between 2000 - 10000 if your router blows up, 0 is unlimited
PUREDNS_TRUSTED_LIMIT=400
-DIRDAR_THREADS=200
WEBSCREENSHOT_THREADS=200
RESOLVE_DOMAINS_THREADS=150
PPFUZZ_THREADS=30
diff --git a/reconftw.sh b/reconftw.sh
index 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.txt
fi
# Bruteforce recursive
- if [[ $(cat subdomains/subdomains.txt | wc -l) -le 1000 ]]; then
+ if [[ $(cat subdomains/subdomains.txt | wc -l) -le $DEEP_LIMIT ]]; then
echo "" > .tmp/brute_recursive_wordlist.txt
for sub in $(cat subdomains/subdomains.txt); do
sed "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.txt
cat 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.txt
printf "${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
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index 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.txt
fi
# Bruteforce recursive
- if [[ $(cat subdomains/subdomains.txt | wc -l) -le 1000 ]]; then
+ if [[ $(cat subdomains/subdomains.txt | wc -l) -le $DEEP_LIMIT ]]; then
echo "" > .tmp/brute_recursive_wordlist.txt
for sub in $(cat subdomains/subdomains.txt); do
sed "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.txt
cat 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.txt
printf "${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" ]; then
start_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