forked from rs992214/Unique_Coder_World
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecon.sh
38 lines (23 loc) · 889 Bytes
/
recon.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 you 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