-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from 0xPugal/test
Update 3.0
- Loading branch information
Showing
5 changed files
with
86 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
hash parallel 2>/dev/null && printf "[parallel]$g Installed$e\n" || printf "[parallel]$r Install Manually.$e\n" | ||
hash jq 2>/dev/null && printf "[jq]$g Installed$e\n" || printf "[jq]$r Install Manually.$e\n" | ||
hash python3 2>/dev/null && printf "[python3]$g Installed$e\n" || printf "[python3]$r Install Manually.$e\n" | ||
hash pip 2>/dev/null && printf "[pip]$g Installed$e\n" || printf "[pip]$r Install Manually.$e\n" | ||
hash shodan 2>/dev/null && printf "[shodan]$g Installed$e\n" || printf "[shodan]$r Install Manually.$e\n" | ||
hash censys 2>/dev/null && printf "[censys]$g Installed$e\n" || printf "[censys]$r Install Manually.$e\n" | ||
hash subfinder 2>/dev/null && printf "[subfinder]$g Installed$e\n" || printf "[subfinder]$r Install Manually.$e\n" | ||
hash amass 2>/dev/null && printf "[amass]$g Installed$e\n" || printf "[amass]$r Install Manually.$e\n" | ||
hash assetfinder 2>/dev/null && printf "[assetfinder]$g Installed$e\n" || printf "[assetfinder]$r Install Manually.$e\n" | ||
hash chaos-client 2>/dev/null && printf "[chaos]$g Installed$e\n" || printf "[chaos]$r Install Manually.$e\n" | ||
hash findomain 2>/dev/null && printf "[findomain]$g Installed$e\n" || printf "[findomain]$r Install Manually.$e\n" | ||
hash haktrails 2>/dev/null && printf "[haktrails]$g Installed$e\n" || printf "[haktrails]$r Install Manually.$e\n" | ||
hash gau 2>/dev/null && printf "[gau]$g Installed$e\n" || printf "[gau]$r Install Manually.$e\n" | ||
hash github-subdomains 2>/dev/null && printf "[github-subdomains]$g Installed$e\n" || printf "[github-subdomains]$r Install Manually.$e\n" | ||
hash gitlab-subdomains 2>/dev/null && printf "[gitlab-subdomains]$g Installed$e\n" || printf "[gitlab-subdomains]$r Install Manually.$e\n" | ||
hash cero 2>/dev/null && printf "[cero]$g Installed$e\n" || printf "[cero]$r Install Manually.$e\n" | ||
hash shosubgo 2>/dev/null && printf "[shosubgo]$g Installed$e\n" || printf "[shosubgo]$r Install Manually.$e\n" | ||
hash anew 2>/dev/null && printf "[anew]$g Installed$e\n" || printf "[anew]$r Install Manually.$e\n" | ||
hash unfurl 2>/dev/null && printf "[unfurl]$g Installed$e\n" || printf "[unfurl]$r Install Manually.$e\n" | ||
hash httpx 2>/dev/null && printf "[httpx]$g Installed$e\n" || printf "[httpx]$r Install Manually.$e\n" | ||
hash puredns 2>/dev/null && printf "[puredns]$g Installed$e\n" || printf "[puredns]$r Install Manually.$e\n" | ||
hash dnsx 2>/dev/null && printf "[dnsx]$g Installed$e\n" || printf "[dnsx]$r Install Manually.$e\n" | ||
hash massdns 2>/dev/null && printf "[massdns]$g Installed$e\n" || printf "[massdns]$r Install Manually.$e\n" | ||
[ -f resolvers/resolvers.txt ] && printf "[resolvers.txt]\e[32m Found\e[0m\n" || printf "[resolvers.txt]\e[31m Not Found\e[0m\n" | ||
[ -f best-dns-wordlist.txt ] && printf "[dns.txt]\e[32m Found\e[0m\n" || printf "[dns.txt]\e[31m Not Found\e[0m\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,159 +1,27 @@ | ||
#!/bin/bash | ||
# | ||
Parallel(){ | ||
printf " \r" | ||
sudo apt-get install parallel -y | ||
} | ||
|
||
JQ() { | ||
printf " \r" | ||
sudo apt-get install jq -y | ||
} | ||
|
||
Python() { | ||
printf " \r" | ||
sudo apt-get install python3 -y | ||
} | ||
|
||
Pip() { | ||
printf " \r" | ||
sudo apt-get install python3-pip -y | ||
} | ||
|
||
Shodan() { | ||
printf " \r" | ||
pip3 install shodan || pip3 install shodan --break-system-packages | ||
} | ||
|
||
Censys() { | ||
printf " \r" | ||
pip3 install censys || pip3 install censys --break-system-packages | ||
} | ||
|
||
Subfinder() { | ||
printf " \r" | ||
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest | ||
} | ||
|
||
Amass() { | ||
printf " \r" | ||
go install -v github.com/owasp-amass/amass/v3/...@master | ||
} | ||
|
||
Assetfinder() { | ||
printf " \r" | ||
go install github.com/tomnomnom/assetfinder@latest | ||
} | ||
|
||
Chaos() { | ||
printf " \r" | ||
go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latest | ||
} | ||
|
||
Findomain() { | ||
printf " \r" | ||
wget https://github.com/Findomain/Findomain/releases/download/8.2.1/findomain-linux.zip | ||
unzip findomain-linux.zip | ||
rm findomain-linux.zip | ||
chmod +x findomain | ||
sudo mv findomain /usr/bin/ | ||
} | ||
|
||
Haktrails() { | ||
printf " \r" | ||
go install -v github.com/hakluke/haktrails@latest | ||
} | ||
|
||
Gau() { | ||
printf " \r" | ||
go install github.com/lc/gau/v2/cmd/gau@latest | ||
wget ~/ https://raw.githubusercontent.com/lc/gau/master/.gau.toml | ||
} | ||
|
||
Github-subdomains() { | ||
printf " \r" | ||
go install github.com/gwen001/github-subdomains@latest | ||
} | ||
|
||
Gitlab-subdomains() { | ||
printf " \r" | ||
go install github.com/gwen001/gitlab-subdomains@latest | ||
} | ||
|
||
Cero() { | ||
printf " \r" | ||
go install -v github.com/glebarez/cero@latest | ||
} | ||
|
||
Shosubgo() { | ||
printf " \r" | ||
go install github.com/incogbyte/shosubgo@latest | ||
} | ||
|
||
Httpx() { | ||
printf " \r" | ||
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest | ||
} | ||
|
||
Anew() { | ||
printf " \r" | ||
go install -v github.com/tomnomnom/anew@latest | ||
} | ||
|
||
Unfurl() { | ||
printf " \r" | ||
go install github.com/tomnomnom/unfurl@latest | ||
} | ||
|
||
Parallel | ||
JQ | ||
Python | ||
Pip | ||
Shodan | ||
Censys | ||
Subfinder | ||
Amass | ||
Assetfinder | ||
Chaos | ||
Findomain | ||
Haktrails | ||
Gau | ||
Github-subdomains | ||
Gitlab-subdomains | ||
Cero | ||
Shosubgo | ||
Httpx | ||
Anew | ||
Unfurl | ||
|
||
list=( | ||
parallel | ||
jq | ||
python3 | ||
pip | ||
shodan | ||
censys | ||
subfinder | ||
amass | ||
assetfinder | ||
chaos | ||
findomain | ||
haktrails | ||
gau | ||
github-subdomains | ||
gitlab-subdomains | ||
cero | ||
shosubgo | ||
httpx | ||
anew | ||
unfurl | ||
) | ||
|
||
r="\e[31m" | ||
g="\e[32m" | ||
e="\e[0m" | ||
|
||
for prg in ${list[@]} | ||
do | ||
hash $prg 2>/dev/null && printf "[$prg]$g Installed$e\n" || printf "[$prg]$r Install Manually.$e\n" | ||
done | ||
# Installing tools | ||
sudo apt-get install parallel -y | ||
sudo apt-get install jq -y | ||
sudo apt-get install python3 -y | ||
sudo apt-get install python3-pip -y | ||
pip3 install shodan --break-system-packages | ||
pip3 install censys --break-system-packages | ||
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest | ||
go install -v github.com/owasp-amass/amass/v3/...@master | ||
go install github.com/tomnomnom/assetfinder@latest | ||
go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latest | ||
wget https://github.com/Findomain/Findomain/releases/download/8.2.1/findomain-linux.zip && unzip findomain-linux.zip && rm findomain-linux.zip && chmod +x findomain && sudo mv findomain /usr/bin/ | ||
go install -v github.com/hakluke/haktrails@latest | ||
go install github.com/lc/gau/v2/cmd/gau@latest && wget ~/ https://raw.githubusercontent.com/lc/gau/master/.gau.toml | ||
go install github.com/gwen001/github-subdomains@latest | ||
go install github.com/gwen001/gitlab-subdomains@latest | ||
go install -v github.com/glebarez/cero@latest | ||
go install github.com/incogbyte/shosubgo@latest | ||
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest | ||
go install -v github.com/tomnomnom/anew@latest | ||
go install github.com/tomnomnom/unfurl@latest | ||
git clone https://github.com/blechschmidt/massdns.git && cd massdns && make && sudo make install | ||
go install github.com/d3mondev/puredns/v2@latest | ||
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest | ||
git clone https://github.com/trickest/resolvers | ||
wget https://wordlists-cdn.assetnote.io/data/manual/best-dns-wordlist.txt |