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 COLLAB_SERVER protocol

six2dezbee8090dc3dd
diff --git a/reconftw.sh b/reconftw.sh
index 72b9aaa..1758f52 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -800,7 +800,8 @@ ssrf_checks(){
printf "${bblue} SSRF checks ${reset}\n"
if [ -n "$COLLAB_SERVER" ]; then
start=`date +%s`
- eval cat ${domain}_ssrf.txt $DEBUG_ERROR | eval python3 $tools/ssrf.py $COLLAB_SERVER > ${domain}_ssrf_confirmed.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}
+ COLLAB_SERVER_FIX=$(echo $COLLAB_SERVER | sed -r "s/https?:\/\///")
+ eval cat ${domain}_ssrf.txt $DEBUG_ERROR | eval python3 $tools/ssrf.py $COLLAB_SERVER_FIX > ${domain}_ssrf_confirmed.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}
end=`date +%s`
getElapsedTime $start $end
printf "${bblue}\n SSRF Finished in ${runtime}\n"