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
Clean empty files and folders
six2dez740d1accbb03
diff --git a/reconftw.sh b/reconftw.shindex 426361b..285753c 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -1975,8 +1975,8 @@ function start(){function end(){- find $dir -type f -empty -print | grep -v '.called_fn' | grep -v '.log' | grep -v '.tmp' | xargs rm -f- find $dir -type d -empty -print -delete+ find $dir -type f -empty -print | grep -v '.called_fn' | grep -v '.log' | grep -v '.tmp' | xargs rm -f &>/dev/null+ find $dir -type d -empty -print -delete &>/dev/nullif [ ! "$PRESERVE" = true ]; thenfind $dir -type f -empty | grep -v "called_fn" | xargs rm -f &>/dev/null