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

gowitness flags

six2dez7db235a6174a
diff --git a/reconftw.cfg b/reconftw.cfg
index 0a2d8c2..d540ef1 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -148,6 +148,7 @@ SENDZIPNOTIFY=false # Send to zip the results (over notify)
PRESERVE=true # set to true to avoid deleting the .called_fn files on really large scans
FFUF_FLAGS=" -mc all -fc 404 -ac -sf" # Ffuf flags
HTTPX_FLAGS=" -follow-redirects -random-agent -status-code -silent -title -web-server -tech-detect -location -content-length" # Httpx flags for simple web probing
+GOWITNESS_FLAGS=" --disable-logging --timeout 5"
# HTTP options
HEADER="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" # Default header
diff --git a/reconftw.sh b/reconftw.sh
index b35c8c0..821711c 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1049,9 +1049,9 @@ function screenshot(){
start_func ${FUNCNAME[0]} "Web Screenshots"
[ ! -s ".tmp/webs_all.txt" ] && cat webs/webs.txt webs/webs_uncommon_ports.txt 2>/dev/null | anew -q .tmp/webs_all.txt
if [ ! "$AXIOM" = true ]; then
- [ -s ".tmp/webs_all.txt" ] && gowitness file -f .tmp/webs_all.txt -t $GOWITNESS_THREADS --disable-logging 2>>"$LOGFILE"
+ [ -s ".tmp/webs_all.txt" ] && gowitness file -f .tmp/webs_all.txt -t $GOWITNESS_THREADS $GOWITNESS_FLAGS 2>>"$LOGFILE"
else
- axiom-scan .tmp/webs_all.txt -m gowitness -t $GOWITNESS_THREADS --disable-logging -o screenshots $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null
+ axiom-scan .tmp/webs_all.txt -m gowitness -t $GOWITNESS_THREADS $GOWITNESS_FLAGS -o screenshots $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null
fi
end_func "Results are saved in $domain/screenshots folder" ${FUNCNAME[0]}
else