forked from JoshuaMart/AutoRecon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Easier to use / faster / slack alerting
- Loading branch information
1 parent
0222ccc
commit e624532
Showing
3 changed files
with
114 additions
and
217 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,37 @@ | ||
#!/bin/bash | ||
|
||
## VARIABLES | ||
ToolsDIR="/root/Recon/Tools" | ||
GoPath="/root/go" | ||
|
||
## SCRIPTS DEPENDANCES | ||
apt-get install git jq zip python3 python3-pip python3-dev unzip gcc -y | ||
pip2 install jsbeautifier soupsieve | ||
mkdir -p $ToolsDIR | ||
|
||
## Install AMASS | ||
wget https://github.com/OWASP/Amass/releases/download/3.0.27/amass_3.0.27_linux_amd64.zip | ||
unzip amass_3.0.27_linux_amd64.zip -d $ToolsDIR/ | ||
rm amass_3.0.27_linux_amd64.zip | ||
mv $ToolsDIR/amass_3.0.27_linux_amd64 $ToolsDIR/Amass | ||
|
||
## Install MassDNS | ||
git clone https://github.com/blechschmidt/massdns.git $ToolsDIR/MassDNS | ||
mkdir -p $ToolsDIR/MassDNS/bin | ||
cc -O3 -std=c11 -DHAVE_EPOLL -DHAVE_SYSINFO -Wall -fstack-protector-strong $ToolsDIR/MassDNS/main.c -o $ToolsDIR/MassDNS/bin/massdns | ||
|
||
## Install Sublist3r | ||
git clone https://github.com/aboul3la/Sublist3r.git $ToolsDIR/Sublist3r | ||
pip3 install -r $ToolsDIR/Sublist3r/requirements.txt | ||
|
||
## Install GoWitness | ||
apt-get install chromium -y | ||
go get -v -u github.com/golang/dep/cmd/dep | ||
wget https://github.com/sensepost/gowitness/releases/download/1.0.8/gowitness-linux-amd64 | ||
mv gowitness-linux-amd64 $ToolsDIR/GoWitness | ||
chmod +x $ToolsDIR/GoWitness | ||
|
||
## Install Subfinder | ||
go get github.com/subfinder/subfinder | ||
cp $GoPath/bin/subfinder $ToolsDIR/Subfinder | ||
|
||
## Install Subjack | ||
go get github.com/haccer/subjack | ||
cp $GoPath/bin/subjack $ToolsDIR/Subjack | ||
|
||
## Install TkoSubs | ||
go get github.com/bgentry/heroku-go | ||
go get github.com/gocarina/gocsv | ||
go get github.com/google/go-github/github | ||
go get github.com/olekukonko/tablewriter | ||
go get golang.org/x/net/publicsuffix | ||
go get golang.org/x/oauth2 | ||
go get github.com/miekg/dns | ||
|
||
git clone https://github.com/anshumanbh/tko-subs.git $ToolsDIR/TkoSubs | ||
go build $ToolsDIR/TkoSubs/tko-subs.go | ||
mv tko-subs $ToolsDIR/TkoSubs/TkoSubs | ||
|
||
## Install CORStest | ||
git clone https://github.com/RUB-NDS/CORStest.git $ToolsDIR/CORStest | ||
|
||
## Install MassCan | ||
apt-get install masscan -y | ||
#Update & Upgrade | ||
apt-get update && upgrade -y | ||
|
||
#Install requierements | ||
apt-get install python3 python3-pip unzip libldns-dev git snapd -y | ||
|
||
#Install Aquatone | ||
wget https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip | ||
unzip aquatone_linux_amd64_1.7.0.zip | ||
rm aquatone_linux_amd64_1.7.0.zip README.md LICENSE.txt | ||
mv aquatone /usr/local/bin/ | ||
|
||
#Install massdns | ||
git clone https://github.com/blechschmidt/massdns.git | ||
cd massdns | ||
make | ||
mv bin/massdns /usr/local/bin | ||
cd .. | ||
rm -r massdns | ||
|
||
#Install Chromium for Aquatone | ||
snap install chromium | ||
|
||
#Install Amass for recon | ||
snap install amass | ||
|
||
#Install DnsGen | ||
pip3 install dnsgen | ||
|
||
#Add /snap/bin to $PATH | ||
echo -e "export PATH=\"$PATH:/snap/bin\"" >> ~/.bashrc | ||
|
||
## END | ||
|
||
rm install.sh |
Oops, something went wrong.