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 bad substitution error

wtwver9c90179de16f
diff --git a/reconftw.sh b/reconftw.sh
index 9284a96..537c550 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1947,7 +1947,7 @@ function start(){
fi
if [ "$BBRF_CONNECTION" = true ]; then
- program_bbrf=${echo $domain | awk -F. '{print $1"_"$2}'} 2>>"$LOGFILE" &>/dev/null
+ program_bbrf=$(echo $domain | awk -F. '{print $1"_"$2}') 2>>"$LOGFILE" &>/dev/null
bbrf new ${program_bbrf} 2>>"$LOGFILE" &>/dev/null
bbrf use ${program_bbrf} 2>>"$LOGFILE" &>/dev/null
bbrf inscope add "*.${domain}" 2>>"$LOGFILE" &>/dev/null