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

Temp fix for axiom webscreenshot

six2dez5f75750d1433
diff --git a/reconftw.cfg b/reconftw.cfg
index 05fd5b5..70381d8 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -70,6 +70,9 @@ WEBPROBESIMPLE=true
WEBPROBEFULL=true
WEBSCREENSHOT=true
UNCOMMON_PORTS_WEB="81,300,591,593,832,981,1010,1311,1099,2082,2095,2096,2480,3000,3128,3333,4243,4567,4711,4712,4993,5000,5104,5108,5280,5281,5601,5800,6543,7000,7001,7396,7474,8000,8001,8008,8014,8042,8060,8069,8080,8081,8083,8088,8090,8091,8095,8118,8123,8172,8181,8222,8243,8280,8281,8333,8337,8443,8500,8834,8880,8888,8983,9000,9001,9043,9060,9080,9090,9091,9200,9443,9502,9800,9981,10000,10250,11371,12443,15672,16080,17778,18091,18092,20720,32000,55440,55672"
+# You can change to aquatone if gowitness fails, comment the one you don't want
+AXIOM_SCREENSHOT_MODULE=gowitness
+#AXIOM_SCREENSHOT_MODULE=aquatone
# Host
FAVICON=true
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index 6bdca18..a0466d9 100755
--- a/reconftw_axiom.sh
+++ b/reconftw_axiom.sh
@@ -627,7 +627,7 @@ function screenshot(){
if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$WEBSCREENSHOT" = true ]; then
start_func "Web Screenshots"
cat webs/webs.txt webs/webs_uncommon_ports.txt 2>>"$LOGFILE" | anew -q .tmp/webs_screenshots.txt
- axiom-scan .tmp/webs_screenshots.txt -m gowitness -o screenshots &>>"$LOGFILE"
+ axiom-scan .tmp/webs_screenshots.txt -m "$AXIOM_SCREENSHOT_MODULE" -o screenshots &>>"$LOGFILE"
end_func "Results are saved in $domain/screenshots folder" ${FUNCNAME[0]}
else
if [ "$WEBSCREENSHOT" = false ]; then