From a4dec7ca89e0628a5d45e28b2a8b38c209e38e0f Mon Sep 17 00:00:00 2001 From: Ajst_0077 <48095937+Ajst0077@users.noreply.github.com> Date: Thu, 1 Oct 2020 16:32:21 +0530 Subject: [PATCH] Create recon.sh --- recon.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recon.sh diff --git a/recon.sh b/recon.sh new file mode 100644 index 0000000..22779a4 --- /dev/null +++ b/recon.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +domain=$1 +wordlist=https://github.com/danielmiessler/SecLists/tree/master/Discovery/DNS --Download and add path here.. +ressolvers="add txt file of all ip that u want to resolve" + +domain_enum(){ + +mkdir -p $domain $domain/sources $domain/Recon/ +#Passive Enumeration +subdinder -d domain=$1 -o $domain/sources/subfinder.txt +assestfinder -subs-only domain=$1 | tee $domain/sources/hackerone.txt +amass enum -passive domain=$1 -o $domain/sources/passive.txt + +#Active Enumeration using brutefoorce +shuffledns -d $domain -w $wordlist -r $resolvers -o $domain/sources/suffledns.txt + +cat $domain/sources/*.txt > $domain/sources/all.txt + +} +domain_enum + + +resolving_domains(){ + +suffledns -d $domain -list $domain/sources/all.txt -o $domain/domain.txt -r $ressolvers + + +} +resolving_domains + + +http_prob(){ +cat $domain/domain.txt | httpx -thread 50 -o $domain/Recon/httpx.txt +} +http_prob