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

xnlinkfinder depth

six2dez8589371fb588
diff --git a/reconftw.cfg b/reconftw.cfg
index 5479260..1082cb6 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -154,6 +154,7 @@ PPFUZZ_THREADS=30
DNSVALIDATOR_THREADS=200
INTERLACE_THREADS=10
TLSX_THREADS=1000
+XNLINKFINDER_DEPTH=3
# Rate limits
HTTPX_RATELIMIT=150
diff --git a/reconftw.sh b/reconftw.sh
index 346d325..c474029 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1312,7 +1312,7 @@ function jschecks(){
[ -s ".tmp/js_livelinks.txt" ] && cat .tmp/js_livelinks.txt | anew .tmp/web_full_info.txt | grep "[200]" | cut -d ' ' -f1 | anew -q js/js_livelinks.txt
fi
printf "${yellow} Running : Gathering endpoints 3/5${reset}\n"
- [ -s "js/js_livelinks.txt" ] && python3 xnLinkFinder.py -i js/js_livelinks.txt -sf subdomains/subdomains.txt -d 3 -o .tmp/js_endpoints.txt &>/dev/null
+ [ -s "js/js_livelinks.txt" ] && python3 xnLinkFinder.py -i js/js_livelinks.txt -sf subdomains/subdomains.txt -d $XNLINKFINDER_DEPTH -o .tmp/js_endpoints.txt &>/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