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

cleaning output

six2dez558443b22fd7
diff --git a/reconftw.sh b/reconftw.sh
index 21ebbc8..5fc0b13 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1495,6 +1495,7 @@ function jschecks(){
fi
printf "${yellow} Running : Gathering endpoints 3/5${reset}\n"
[ -s "js/js_livelinks.txt" ] && python3 $tools/xnLinkFinder/xnLinkFinder.py -i js/js_livelinks.txt -sf subdomains/subdomains.txt -d $XNLINKFINDER_DEPTH -o .tmp/js_endpoints.txt 2>>"$LOGFILE" &>/dev/null
+ [ -s "parameters.txt" ] && rm -f parameters.txt 2>>"$LOGFILE" &>/dev/null
if [ -s ".tmp/js_endpoints.txt" ]; then
sed -i '/^\//!d' .tmp/js_endpoints.txt
cat .tmp/js_endpoints.txt | anew -q js/js_endpoints.txt