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
nuclei flags for JS secrets detection moved to cfg
six2dezaf0c8b3daac0
diff --git a/reconftw.cfg b/reconftw.cfgindex ffe95b1..841bb38 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -91,6 +91,7 @@ WAF_DETECTION=true # Detect WAFsNUCLEICHECK=true # Enable or disable nucleiNUCLEI_SEVERITY="info,low,medium,high,critical" # Set templates criticityNUCLEI_FLAGS="-silent -t ~/nuclei-templates/ -retries 2" # Additional nuclei extra flags, don't set the severity here but the exclusions like "-etags openssh"+NUCLEI_FLAGS_JS="-silent -tags exposure,token -severity info,low,medium,high,critical" # Additional nuclei extra flags for js secretsURL_CHECK=true # Enable or disable URL collectionURL_CHECK_PASSIVE=true # Search for urls, passive methods from Archive, OTX, CommonCrawl, etcURL_CHECK_ACTIVE=true # Search for urls by crawling the websitesdiff --git a/reconftw.sh b/reconftw.shindex 0549a0b..258b078 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1427,9 +1427,9 @@ function jschecks(){fiprintf "${yellow} Running : Gathering secrets 4/5${reset}\n"if [ ! "$AXIOM" = true ]; then- [ -s "js/js_livelinks.txt" ] && cat js/js_livelinks.txt | nuclei -silent -t ~/nuclei-templates/ -tags exposure,token -r $resolvers_trusted -retries 3 -rl $NUCLEI_RATELIMIT -o js/js_secrets.txt 2>>"$LOGFILE" &>/dev/null+ [ -s "js/js_livelinks.txt" ] && cat js/js_livelinks.txt | nuclei -silent -t ~/nuclei-templates/ $NUCLEI_FLAGS_JS -r $resolvers_trusted -retries 3 -rl $NUCLEI_RATELIMIT -o js/js_secrets.txt 2>>"$LOGFILE" &>/dev/nullelse- [ -s "js/js_livelinks.txt" ] && axiom-scan js/js_livelinks.txt -m nuclei -w /home/op/recon/nuclei/exposures/tokens/ -retries 3 -rl $NUCLEI_RATELIMIT -o js/js_secrets.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null+ [ -s "js/js_livelinks.txt" ] && axiom-scan js/js_livelinks.txt -m nuclei $NUCLEI_FLAGS_JS -retries 3 -rl $NUCLEI_RATELIMIT -o js/js_secrets.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/nullfiprintf "${yellow} Running : Building wordlist 5/5${reset}\n"[ -s "js/js_livelinks.txt" ] && rush -j ${INTERLACE_THREADS} -i js/js_livelinks.txt "python3 $tools/getjswords.py '{}' | anew -q webs/dict_words.txt" &>/dev/null