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 -l
six2dez901fee2f37c5
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 2b7191a..04853c6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -69,6 +69,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0**Parallelization Order**- `sub_tls` and `sub_analytics` now run AFTER `sub_active` (require resolved subdomains)+**List Mode (-l flag)**+- Fixed bug where only first domain in target list was processed+- Changed while loops to use dedicated file descriptor (FD 3)+- Prevents internal commands from consuming stdin and breaking the loop+- Now correctly processes all domains in the list sequentially+### Changed- Replaced 107 duplicate `mkdir -p` patterns with `ensure_dirs()`diff --git a/reconftw.sh b/reconftw.shindex ef73066..29d80ca 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -443,13 +443,13 @@ case $opt_mode inif [[ $AXIOM == true ]]; thenmode="list_recon"fi- sed_i 's/\r$//' "$list"- while IFS= read -r domain; do+ sed_i 's/\r$//' "$flist"+ while IFS= read -r domain <&3; do[[ -z "$domain" ]] && continuestartreconend- done <"$list"+ done 3<"$flist"elseif [[ $AXIOM == true ]]; thenmode="recon"@@ -464,11 +464,11 @@ case $opt_mode inif [[ $AXIOM == true ]]; thenmode="subs_menu"fi- sed_i 's/\r$//' "$list"- while IFS= read -r domain; do+ sed_i 's/\r$//' "$flist"+ while IFS= read -r domain <&3; do[[ -z "$domain" ]] && continuesubs_menu- done <"$list"+ done 3<"$flist"elsesubs_menufi@@ -478,11 +478,11 @@ case $opt_mode inif [[ $AXIOM == true ]]; thenmode="passive"fi- sed_i 's/\r$//' "$list"- while IFS= read -r domain; do+ sed_i 's/\r$//' "$flist"+ while IFS= read -r domain <&3; do[[ -z "$domain" ]] && continuepassive- done <"$list"+ done 3<"$flist"elsepassivefi@@ -493,11 +493,11 @@ case $opt_mode inif [[ $AXIOM == true ]]; thenmode="all"fi- sed_i 's/\r$//' "$list"- while IFS= read -r domain; do+ sed_i 's/\r$//' "$flist"+ while IFS= read -r domain <&3; do[[ -z "$domain" ]] && continueall- done <"$list"+ done 3<"$flist"elseallfi@@ -524,13 +524,13 @@ case $opt_mode inexitfiif [[ -n $list ]]; then- sed_i 's/\r$//' "$list"- while IFS= read -r domain; do+ sed_i 's/\r$//' "$flist"+ while IFS= read -r domain <&3; do[[ -z "$domain" ]] && continuestartosintend- done <"$list"+ done 3<"$flist"elsestartosint@@ -542,11 +542,11 @@ case $opt_mode inif [[ $AXIOM == true ]]; thenmode="zen_menu"fi- sed_i 's/\r$//' "$list"- while IFS= read -r domain; do+ sed_i 's/\r$//' "$flist"+ while IFS= read -r domain <&3; do[[ -z "$domain" ]] && continuezen_menu- done <"$list"+ done 3<"$flist"elsezen_menufi