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

Trap Ctrl+C

x5ud0kn1gh7x36e5dcb05c35
diff --git a/reconftw.sh b/reconftw.sh
index aaf4aff..d4f8ef9 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1,5 +1,14 @@
#!/usr/bin/env bash
+trap printout SIGINT
+trap printout ERR
+
+printout() {
+ printf "\n\n${bred}#######################################################################\n"
+ printf "Ctrl+C Detected , Skipping This Function"
+ printf "\n#######################################################################${reset}\n"
+}
+
function banner(){
printf "\n${bgreen}"
printf " ██▀███ ▓█████ ▄████▄ ▒█████ ███▄ █ █████▒▄▄▄█████▓ █ █░\n"