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
amass json output
six2dez9a6863ee8c59
diff --git a/reconftw.sh b/reconftw.shindex a1f2300..4944425 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -355,10 +355,11 @@ function sub_passive(){if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$SUBPASSIVE" = true ]; thenstart_subfunc ${FUNCNAME[0]} "Running : Passive Subdomain Enumeration"if [ ! "$AXIOM" = true ]; then- amass enum -passive -d $domain -config $AMASS_CONFIG -o .tmp/amass_psub.txt 2>>"$LOGFILE" &>/dev/null+ amass enum -passive -d $domain -config $AMASS_CONFIG -json -o .tmp/amass_json.json 2>>"$LOGFILE" &>/dev/nullelse- axiom-scan $list -m amass -passive -o .tmp/amass_psub.txt $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null+ axiom-scan $list -m amass -passive -json -o .tmp/amass_json.json $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/nullfi+ [ -s ".tmp/amass_json.json" ] && cat .tmp/amass_json.json | jq -r '.name' | anew -q .tmp/amass_psub.txtif [ -s "${GITHUB_TOKENS}" ]; thenif [ "$DEEP" = true ]; thengithub-subdomains -d $domain -t $GITHUB_TOKENS -o .tmp/github_subdomains_psub.txt 2>>"$LOGFILE" &>/dev/null