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

Fix osint folder and removed webprobe verbose output

six2dezea03faa23b03
diff --git a/reconftw.sh b/reconftw.sh
index 2635cd8..5084753 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -160,7 +160,7 @@ function metadata(){
if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$METADATA" = true ] && [ "$OSINT" = true ]; then
start_func "Scanning metadata in public files"
metafinder -d "$domain" -l 20 -o osint -go -bi -ba &>>"$LOGFILE"
- mv "osint/${domain}/*" "osint/" 2>>"$LOGFILE"
+ mv "osint/${domain}/"*".txt" "osint/" 2>>"$LOGFILE"
rmdir "osint/${domain}" 2>>"$LOGFILE"
end_func "Results are saved in $domain/osint/[software/authors/metadata_results].txt" ${FUNCNAME[0]}
else
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index c8327fe..fcf9615 100755
--- a/reconftw_axiom.sh
+++ b/reconftw_axiom.sh
@@ -161,7 +161,7 @@ function metadata(){
if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$METADATA" = true ] && [ "$OSINT" = true ]; then
start_func "Scanning metadata in public files"
metafinder -d "$domain" -l 20 -o osint -go -bi -ba &>>"$LOGFILE"
- mv "osint/${domain}/*" "osint/" 2>>"$LOGFILE"
+ mv "osint/${domain}/"*".txt" "osint/" 2>>"$LOGFILE"
rmdir "osint/${domain}" 2>>"$LOGFILE"
end_func "Results are saved in $domain/osint/[software/authors/metadata_results].txt" ${FUNCNAME[0]}
else
@@ -601,7 +601,7 @@ function webprobe_full(){
if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$WEBPROBEFULL" = true ]; then
start_func "Http probing non standard ports"
- axiom-scan subdomains/subdomains.txt -m unimap --fast-scan --ports $UNCOMMON_PORTS_WEB -q -k --url-output -o .tmp/nmap_uncommonweb.txt
+ axiom-scan subdomains/subdomains.txt -m unimap --fast-scan --ports $UNCOMMON_PORTS_WEB -q -k --url-output -o .tmp/nmap_uncommonweb.txt &>>"$LOGFILE"
[ -s ".tmp/nmap_uncommonweb.txt" ] && axiom-scan .tmp/nmap_uncommonweb.txt -m httpx -follow-host-redirects -random-agent -status-code -threads $HTTPX_UNCOMMONPORTS_THREADS -timeout $HTTPX_UNCOMMONPORTS_TIMEOUT -silent -retries 2 -no-color -o .tmp/probed_uncommon_ports_tmp_.txt &>>"$LOGFILE"
[ -s ".tmp/probed_uncommon_ports_tmp_.txt" ] && cat .tmp/probed_uncommon_ports_tmp_.txt | cut -d ' ' -f1 | grep ".$domain$" | anew -q .tmp/probed_uncommon_ports_tmp.txt