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

Minor fix for error shown while trying to run tool

Kushagra Sarathe7ff03e3102b8
diff --git a/reconftw.sh b/reconftw.sh
index 6c3c091..7b2e8d2 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1110,11 +1110,11 @@ function cms_scanner(){
timeout -k 30 $CMSSCAN_TIMEOUT python3 $tools/CMSeeK/cmseek.py -l .tmp/cms.txt --batch -r 2>>"$LOGFILE" &>/dev/null
exit_status=$?
if [[ $exit_status -eq 125 ]]; then
- echo "TIMEOUT cmseek.py - investigate manually for $dir" &>>"$LOGFILE"
+ echo "TIMEOUT cmseek.py - investigate manually for $dir" & >> "$LOGFILE"
end_func "TIMEOUT cmseek.py - investigate manually for $dir" ${FUNCNAME[0]}
return
elif [[ $exit_status -ne 0 ]]; then
- echo "ERROR cmseek.py - investigate manually for $dir" &>>"$LOGFILE"
+ echo "ERROR cmseek.py - investigate manually for $dir" & >> "$LOGFILE"
end_func "ERROR cmseek.py - investigate manually for $dir" ${FUNCNAME[0]}
return
fi # otherwise Assume we have a successfully exited cmseek