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
Added p1radup to optimize vuln scan speed
kleoz3025410327ee
diff --git a/reconftw.sh b/reconftw.shindex c4fb212..d14d9a5 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1836,7 +1836,8 @@ function urlchecks() {cat webs/webs_all.txt | unfurl -u domains >.tmp/waymore_input.txtwaymore -i .tmp/waymore_input.txt -mode U -f -oU .tmp/url_extract_tmp.txt 2>>"$LOGFILE" >/dev/nullelse- cat webs/webs_all.txt | gau --threads $GAU_THREADS | anew -q .tmp/url_extract_tmp.txt+ cat webs/webs_all.txt | unfurl -u domains >.tmp/waymore_input.txt+ waymore -i .tmp/waymore_input.txt -mode U -f -oU .tmp/url_extract_tmp.txt 2>>"$LOGFILE" >/dev/null # could add -xcc to remove commoncrawl wich takes a bit longerfiif [[ -s ${GITHUB_TOKENS} ]]; thengithub-endpoints -q -k -d $domain -t ${GITHUB_TOKENS} -o .tmp/github-endpoints.txt 2>>"$LOGFILE" >/dev/null@@ -1909,16 +1910,17 @@ function url_gf() {if { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $URL_GF == true ]]; thenstart_func ${FUNCNAME[0]} "Vulnerable Pattern Search"if [[ -s "webs/url_extract.txt" ]]; then- gf xss webs/url_extract.txt | anew -q gf/xss.txt- gf ssti webs/url_extract.txt | anew -q gf/ssti.txt- gf ssrf webs/url_extract.txt | anew -q gf/ssrf.txt- gf sqli webs/url_extract.txt | anew -q gf/sqli.txt- gf redirect webs/url_extract.txt | anew -q gf/redirect.txt+ p1radup -i webs/url_extract.txt -o webs/url_extract_nodupes.txt+ gf xss webs/url_extract_nodupes.txt | anew -q gf/xss.txt+ gf ssti webs/url_extract_nodupes.txt | anew -q gf/ssti.txt+ gf ssrf webs/url_extract_nodupes.txt | anew -q gf/ssrf.txt+ gf sqli webs/url_extract_nodupes.txt | anew -q gf/sqli.txt+ gf redirect webs/url_extract_nodupes.txt | anew -q gf/redirect.txt[ -s "gf/ssrf.txt" ] && cat gf/ssrf.txt | anew -q gf/redirect.txt- gf rce webs/url_extract.txt | anew -q gf/rce.txt- gf potential webs/url_extract.txt | cut -d ':' -f3-5 | anew -q gf/potential.txt+ gf rce webs/url_extract_nodupes.txt | anew -q gf/rce.txt+ gf potential webs/url_extract_nodupes.txt | cut -d ':' -f3-5 | anew -q gf/potential.txt[ -s ".tmp/url_extract_tmp.txt" ] && cat .tmp/url_extract_tmp.txt | grep -aEiv "\.(eot|jpg|jpeg|gif|css|tif|tiff|png|ttf|otf|woff|woff2|ico|pdf|svg|txt|js)$" | unfurl -u format %s://%d%p 2>>"$LOGFILE" | anew -q gf/endpoints.txt- gf lfi webs/url_extract.txt | anew -q gf/lfi.txt+ gf lfi webs/url_extract_nodupes.txt | anew -q gf/lfi.txtfiend_func "Results are saved in $domain/gf folder" ${FUNCNAME[0]}elsediff --git a/requirements.txt b/requirements.txtindex c9230f8..0164676 100644--- a/requirements.txt+++ b/requirements.txt@@ -35,5 +35,6 @@ tqdm # multipleujson # multipleurllib3 # multipleporch-pirate # Tool+p1radup # Toolgit+https://github.com/xnl-h4ck3r/waymore.git # Toolgit+https://github.com/xnl-h4ck3r/xnLinkFinder.git # Tool