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
feat: support custom output path in notify flow
Nico Kokonas483bc99c12e4
diff --git a/reconftw.sh b/reconftw.shindex c4034b1..7114c9b 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1918,9 +1918,10 @@ function zipSnedOutputFolder {zip_name="$zip_name"_"$domain.zip"(cd $dir && zip -r "../$zip_name" .)- if [ -s "$SCRIPTPATH/$zip_name" ]; then- sendToNotify "$SCRIPTPATH/$zip_name"- rm -f "$SCRIPTPATH/$zip_name"+ echo "Sending zip file "${dir_output}/${zip_name}""+ if [ -s "$dir_output/$zip_name" ]; then+ sendToNotify "$dir_output/$zip_name"+ rm -f "$dir_output/$zip_name"elsenotification "No Zip file to send" warnfi