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

added mantra for js secrets

six2dez546bd923da44
diff --git a/install.sh b/install.sh
index 2a8b386..8dddec2 100755
--- a/install.sh
+++ b/install.sh
@@ -83,6 +83,7 @@ gotools["subfinder"]="go install -v github.com/projectdiscovery/subfinder/v2/cmd
gotools["byp4xx"]="go install -v github.com/lobuhi/byp4xx@latest"
gotools["hakip2host"]="go install github.com/hakluke/hakip2host@latest"
gotools["gau"]="go install -v github.com/lc/gau/v2/cmd/gau@latest"
+gotools["Mantra"]="go install github.com/MrEmpy/Mantra@latest"
declare -A repos
repos["dorks_hunter"]="six2dez/dorks_hunter"
diff --git a/reconftw.sh b/reconftw.sh
index b9f4b9d..0334400 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1478,7 +1478,7 @@ function jschecks(){
fi
printf "${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/ $NUCLEI_FLAGS_JS -nh -retries 3 -rl $NUCLEI_RATELIMIT -o js/js_secrets.txt 2>>"$LOGFILE" &>/dev/null
+ [ -s "js/js_livelinks.txt" ] && cat js/js_livelinks.txt | Mantra -ua ${HEADER} | tail -n +11 | anew -q js/js_secrets.txt
else
[ -s "js/js_livelinks.txt" ] && axiom-scan js/js_livelinks.txt -m nuclei $NUCLEI_FLAGS_JS -retries 3 -nh -rl $NUCLEI_RATELIMIT -o js/js_secrets.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null
fi