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
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Fix send2zip notify
six2dezf6dea46326e3
diff --git a/reconftw.cfg b/reconftw.cfgindex 04bf473..b11057b 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -17,7 +17,7 @@ export GOPATH=$HOME/goexport PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH# Tools config files-#NOTIFY_CONFIG=~/.config/notify/notify.conf # No need to define+#NOTIFY_CONFIG=~/.config/notify/provider-config.yaml # No need to define#SUBFINDER_CONFIG=~/.config/subfinder/config.yaml # No need to defineAMASS_CONFIG=~/.config/amass/config.iniGITHUB_TOKENS=${tools}/.github_tokensdiff --git a/reconftw.sh b/reconftw.shindex 5b04e7e..56a70b3 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1738,17 +1738,17 @@ function sendToNotify {printf "\n${yellow} no file provided to send ${reset}\n"elseif [[ -z "$NOTIFY_CONFIG" ]]; then- NOTIFY_CONFIG=~/.config/notify/notify.conf+ NOTIFY_CONFIG=~/.config/notify/provider-config.yamlfi- if grep -q '^ telegram\|^telegram' $NOTIFY_CONFIG ; then+ if grep -q '^ telegram\|^telegram\|^ telegram' $NOTIFY_CONFIG ; thennotification "Sending ${domain} data over Telegram" info- telegram_chat_id=$(cat ${NOTIFY_CONFIG} | grep '^ telegram_chat_id\|^telegram_chat_id' | xargs | cut -d' ' -f2)- telegram_key=$(cat ${NOTIFY_CONFIG} | grep '^ telegram_apikey\|^telegram_apikey' | xargs | cut -d' ' -f2 )+ telegram_chat_id=$(cat ${NOTIFY_CONFIG} | grep '^ telegram_chat_id\|^telegram_chat_id\|^ telegram_chat_id' | xargs | cut -d' ' -f2)+ telegram_key=$(cat ${NOTIFY_CONFIG} | grep '^ telegram_apikey\|^telegram_apikey\|^ telegram_apikey' | xargs | cut -d' ' -f2 )curl -F document=@${1} "https://api.telegram.org/bot${telegram_key}/sendDocument?chat_id=${telegram_chat_id}" &>/dev/nullfi- if grep -q '^ discord\|^discord' $NOTIFY_CONFIG ; then+ if grep -q '^ discord\|^discord\|^ discord' $NOTIFY_CONFIG ; thennotification "Sending ${domain} data over Discord" info- discord_url=$(cat ${NOTIFY_CONFIG} | grep '^ discord_webhook_url\|^discord_webhook_url' | xargs | cut -d' ' -f2)+ discord_url=$(cat ${NOTIFY_CONFIG} | grep '^ discord_webhook_url\|^discord_webhook_url\|^ discord_webhook_url' | xargs | cut -d' ' -f2)curl -v -i -H "Accept: application/json" -H "Content-Type: multipart/form-data" -X POST -F file1=@${1} $discord_url &>/dev/nullfiif [[ -n "$slack_channel" ]] && [[ -n "$slack_auth" ]]; then