Skip to content

Create recon.sh #1

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions recon.sh
Original file line number Diff line number Diff line change
@@ -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