-
Notifications
You must be signed in to change notification settings - Fork 6
/
install.sh
60 lines (49 loc) · 1.76 KB
/
install.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
if [[ "$(id -u)" -ne 0 ]]; then
printf "\e[1;91m Run this program as root!\n\e[0m"
exit 1
fi
read -p $'\n\e[1;92m[\e[0m\e[1;77m*\e[0m\e[1;92m] Enter the shodan API Key: \e[0m' shodanapi
read -p $'\n\e[1;92m[\e[0m\e[1;77m*\e[0m\e[1;92m] Enter the View DNS API Key: \e[0m' viewdnsapi
pip3 install shodan
shodan init $shodanapi
echo export "viewdns=$viewdnsapi" >> ~/.bash_profile
echo -e "\n\e[1;92m][+} Installing...\e[0m\n"
sudo apt install -y jq
sudo apt install -y curl
sudo apt-get -y install python python3 python-pip python3-pip
sudo apt-get -y install nmap
sudo apt-get -y install ruby
sudo apt-get -y install sed
#install go lang
wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
sudo tar -xvf go1.13.4.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
rm go1.13.4.linux-amd64.tar.gz
mkdir -p pentest
cd pentest
# installing some tools
# git clone https://github.com/robre/scripthunter
# go get -u -v github.com/lc/gau
# go get github.com/ffuf/ffuf
# go get github.com/hakluke/hakrawler
# go get -u -v github.com/projectdiscovery/httpx/cmd/httpx
# go get github.com/tomnomnom/waybackurls
# git clone https://github.com/jobertabma/relative-url-extractor
git clone https://github.com/GerbenJavado/LinkFinder.git
cd LinkFinder
pip3 install -r requirements.txt
python setup.py install
cd ../
git clone https://github.com/devanshbatham/ParamSpider
cd ParamSpider
pip3 install -r requirements.txt
cd ../
git clone https://github.com/xyele/zile