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

Better notification output

six2dezb5ee00a62652
diff --git a/reconftw.sh b/reconftw.sh
index a37d1e3..c62c3cb 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1362,20 +1362,20 @@ function notification(){
then
case $2 in
info)
- text="\n${bblue} ${1} ${reset}\n"
- printf "${text}" && printf "${text}" | $NOTIFY
+ text="\n${bblue} ${1} ${reset}"
+ printf "${text}\n" && printf "${text} - ${domain}\n" | $NOTIFY
;;
warn)
- text="\n${yellow} ${1} ${reset}\n"
- printf "${text}" && printf "${text}" | $NOTIFY
+ text="\n${yellow} ${1} ${reset}"
+ printf "${text}\n" && printf "${text} - ${domain}\n" | $NOTIFY
;;
error)
- text="\n${bred} ${1} ${reset}\n"
- printf "${text}" && printf "${text}" | $NOTIFY
+ text="\n${bred} ${1} ${reset}"
+ printf "${text}\n" && printf "${text} - ${domain}\n" | $NOTIFY
;;
good)
- text="\n${bgreen} ${1} ${reset}\n"
- printf "${text}" && printf "${text}" | $NOTIFY
+ text="\n${bgreen} ${1} ${reset}"
+ printf "${text}\n" && printf "${text} - ${domain}\n" | $NOTIFY
;;
esac
fi