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 ssrf server

six2dez137ca9fc318c
diff --git a/reconftw.sh b/reconftw.sh
index 37df77a..8e04c69 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1129,7 +1129,7 @@ function ssrf_checks(){
if [ -n "$COLLAB_SERVER" ]; then
interactsh-client 2>.tmp/server.txt &>.tmp/ssrf_callback.txt &
INTERACT_PID=$!
- COLLAB_SERVER_FIX=$(cat server.txt | tail -n1 | cut -c 16-)
+ COLLAB_SERVER_FIX=$(cat .tmp/server.txt | tail -n1 | cut -c 16-)
else
COLLAB_SERVER_FIX=$(echo ${COLLAB_SERVER} | sed -r "s/https?:\/\///")
fi
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index 8c60f76..05d9da7 100755
--- a/reconftw_axiom.sh
+++ b/reconftw_axiom.sh
@@ -1158,7 +1158,7 @@ function ssrf_checks(){
if [ -n "$COLLAB_SERVER" ]; then
interactsh-client 2>.tmp/server.txt &>.tmp/ssrf_callback.txt &
INTERACT_PID=$!
- COLLAB_SERVER_FIX=$(cat server.txt | tail -n1 | cut -c 16-)
+ COLLAB_SERVER_FIX=$(cat .tmp/server.txt | tail -n1 | cut -c 16-)
else
COLLAB_SERVER_FIX=$(echo ${COLLAB_SERVER} | sed -r "s/https?:\/\///")
fi