Skip to content

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

subzy replaces subjack #145

Bilel Eljaamii8247c0da1049
diff --git a/reconftw.sh b/reconftw.sh
index ef1bcdb..7e36ad7 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -440,8 +440,8 @@ subtakeover(){
printf "${bgreen}#######################################################################\n"
printf "${bblue} Subdomain Takeover ${reset}\n\n"
start=`date +%s`
- eval subjack -w ${domain}_subdomains.txt -a -ssl -t 50 -v -c $tools/subjack/fingerprints.json -ssl -o ${domain}_all-takeover-checks.txt $DEBUG_STD;
- grep -v "Not Vulnerable" <${domain}_all-takeover-checks.txt > ${domain}_takeover.txt
+ subzy --targets ${domain}_subdomains.txt --https --concurrency 4 --hide_fails --timeout 5 > ${domain}_all-takeover-checks.txt
+ grep "VULNERABLE" <${domain}_all-takeover-checks.txt > ${domain}_takeover.txt
eval rm ${domain}_all-takeover-checks.txt $DEBUG_ERROR && touch $called_fn_dir/.${FUNCNAME[0]}
end=`date +%s`
getElapsedTime $start $end