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
keep unfurl keys and values simple
six2dez50eeb614f20d
diff --git a/reconftw.sh b/reconftw.shindex 7e0d716..84e5c83 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -3924,20 +3924,14 @@ function wordlist_gen() {# Ensure url_extract_tmp.txt exists and is not emptyif [[ -s ".tmp/url_extract_tmp.txt" ]]; then# Define patterns for keys and values- patterns=("keys" "values")-- for pattern in "${patterns[@]}"; do- output_file="webs/dict_${pattern}.txt"- printf "${yellow}\n[$(date +'%Y-%m-%d %H:%M:%S')] Extracting ${pattern}...${reset}\n"+ unfurl -u keys ".tmp/url_extract_tmp.txt" 2>>"$LOGFILE" |+ sed 's/[][]//g' | sed 's/[#]//g' | sed 's/[}{]//g' |+ anew -q webs/dict_keys.txt- if [[ $pattern == "keys" || $pattern == "values" ]]; then- unfurl -u "$pattern" ".tmp/url_extract_tmp.txt" 2>>"$LOGFILE" |+ unfurl -u values ".tmp/url_extract_tmp.txt" 2>>"$LOGFILE" |sed 's/[][]//g' | sed 's/[#]//g' | sed 's/[}{]//g' |- anew -q "$output_file"- fi- done+ anew -q webs/dict_values.txt- # Extract words by removing punctuationprintf "${yellow}\n[$(date +'%Y-%m-%d %H:%M:%S')] Extracting words...${reset}\n"tr "[:punct:]" "\n" <".tmp/url_extract_tmp.txt" | anew -q "webs/dict_words.txt"fi