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

Soft notification

six2dez1ccd8441bfa9
diff --git a/reconftw.cfg b/reconftw.cfg
index 199b281..750a863 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -101,7 +101,8 @@ BYPASSER4XX=true
COMM_INJ=true
# Extra features
-NOTIFICATION=false
+NOTIFICATION=false # Notification for every function
+SOFT_NOTIFICATION=false # Only for start/end
DEEP=false
DEEP_LIMIT=1000
DIFF=false
diff --git a/reconftw.sh b/reconftw.sh
index 122e01d..878f7b1 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1463,8 +1463,10 @@ function start(){
else
NOTIFY=""
fi
-
- echo "Recon succesfully started on $domain" | $NOTIFY
+ printf "\n${bgreen}#######################################################################${reset}"
+ notification "Recon succesfully started on ${domain}" good
+ [ "$SOFT_NOTIFICATION" = true ] && echo "Recon succesfully started on ${domain}" | notify -silent
+ printf "${bgreen}#######################################################################${reset}\n"
tools_installed
[[ -n "$domain" ]] && ipcidr_target $domain
@@ -1539,8 +1541,8 @@ function end(){
global_end=$(date +%s)
getElapsedTime $global_start $global_end
printf "${bgreen}#######################################################################${reset}\n"
- text="${bred} Finished Recon on: ${domain} under ${finaldir} in: ${runtime} ${reset}\n"
- printf "${text}" && printf "${text}" | $NOTIFY
+ notification "Finished Recon on: ${domain} under ${finaldir} in: ${runtime}" good
+ [ "$SOFT_NOTIFICATION" = true ] && echo "Finished Recon on: ${domain} under ${finaldir} in: ${runtime}" | notify -silent
printf "${bgreen}#######################################################################${reset}\n"
#Seperator for more clear messges in telegram_Bot
echo "****** Stay safe 🦠 and secure 🔐 ******" | $NOTIFY
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index 27cc3c0..c6ef017 100755
--- a/reconftw_axiom.sh
+++ b/reconftw_axiom.sh
@@ -1557,8 +1557,10 @@ function start(){
else
NOTIFY=""
fi
-
- echo "Recon succesfully started on $domain" | $NOTIFY
+ printf "\n${bgreen}#######################################################################${reset}"
+ notification "Recon succesfully started on ${domain}" good
+ [ "$SOFT_NOTIFICATION" = true ] && echo "Recon succesfully started on ${domain}" | notify -silent
+ printf "${bgreen}#######################################################################${reset}\n"
tools_installed
[[ -n "$domain" ]] && ipcidr_target $domain
@@ -1637,8 +1639,8 @@ function end(){
global_end=$(date +%s)
getElapsedTime $global_start $global_end
printf "${bgreen}#######################################################################${reset}\n"
- text="${bred} Finished Recon on: ${domain} under ${finaldir} in: ${runtime} ${reset}\n"
- printf "${text}" && printf "${text}" | $NOTIFY
+ notification "Finished Recon on: ${domain} under ${finaldir} in: ${runtime}" good
+ [ "$SOFT_NOTIFICATION" = true ] && echo "Finished Recon on: ${domain} under ${finaldir} in: ${runtime}" | notify -silent
printf "${bgreen}#######################################################################${reset}\n"
#Seperator for more clear messges in telegram_Bot
echo "****** Stay safe 🦠 and secure 🔐 ******" | $NOTIFY