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
Added rate limiting argument
Job30543807b49a
diff --git a/README.md b/README.mdindex bef7929..0188332 100644--- a/README.md+++ b/README.md@@ -355,6 +355,7 @@ reset='\033[0m'| -f | Custom config file path || -o | Output directory || -v | Axiom distributed VPS |+| -q | Rate limit in requests per second |# Example Usage:diff --git a/reconftw.sh b/reconftw.shindex 4f5d016..91e3262 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -2445,6 +2445,7 @@ function help(){printf " -f confile_file Alternate reconftw.cfg file\n"printf " -o output/path Define output folder\n"printf " -v, --vps Axiom distributed VPS \n"+ printf " -q Rate limit in requests per second \n"printf " \n"printf " ${bblue}USAGE EXAMPLES${reset}\n"printf " Recon:\n"@@ -2474,7 +2475,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; thenPATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"fi-PROGARGS=$(getopt -o 'd:m:l:x:i:o:f:c:rspanwvh::' --long 'domain:,list:,recon,subdomains,passive,all,web,osint,deep,help,vps' -n 'reconFTW' -- "$@")+PROGARGS=$(getopt -o 'd:m:l:x:i:o:f:q:c:rspanwvh::' --long 'domain:,list:,recon,subdomains,passive,all,web,osint,deep,help,vps' -n 'reconFTW' -- "$@")# Note the quotes around "$PROGARGS": they are essential!@@ -2570,6 +2571,11 @@ while true; doCUSTOM_CONFIG=$2shift 2continue+ ;;+ '-q')+ rate_limit=$2+ shift 2+ continue;;'--deep')opt_deep=true@@ -2603,6 +2609,12 @@ if [ $opt_deep ]; thenDEEP=truefi+if [ $rate_limit ]; then+ NUCLEI_RATELIMIT=$rate_limit+ FFUF_RATELIMIT=$rate_limit+ HTTPX_RATELIMIT=$rate_limit+fi+if [ -n "$outOfScope_file" ]; thenisAsciiText $outOfScope_fileif [ "False" = "$IS_ASCII" ]