-
Notifications
You must be signed in to change notification settings - Fork 51
/
install.sh
80 lines (62 loc) · 2.52 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/bash
cat <<"EOF"
_________ ___. .___ .__
/ _____/__ _\_ |__ __| _/____ _____ _____ |__| ____ ___________
\_____ \| | \ __ \ / __ |/ _ \ / \\__ \ | |/ \_/ __ \_ __ \
/ \ | / \_\ \/ /_/ ( <_> ) Y Y \/ __ \| | | \ ___/| | \/
/_______ /____/|___ /\____ |\____/|__|_| (____ /__|___| /\___ >__|
\/ \/ \/ \/ \/ \/ \/
Automated Subdomain Gathering Tool
Developed By Momen Ali
The Cyber Guy
_ _ _ _
(_)_ __ ___| |_ __ _| | |
| | '_ \/ __| __/ _` | | |
| | | | \__ \ || (_| | | |
|_|_| |_|___/\__\__,_|_|_|
EOF
# Create a function to print section separators
section() {
printf "\n\n\e[92m=============================================\e[0m"
printf "\n\n\e[92m%s\e[0m" "$1"
printf "\n\n\e[92m=============================================\e[0m\n\n"
}
# Create and change to the Tools directory
mkdir -p Tools
cd Tools || { echo "Error: Unable to change to Tools directory."; exit 1; }
# Update repositories
section "Updating Repos"
sudo apt update
# Install Git
section "Installing Git"
sudo apt -y install git
# Install Python3
section "Installing Python3"
sudo apt -y install python3
# Install PIP3
section "Installing PIP3"
sudo apt -y install python3-pip
# Install Python2
section "Installing Python2"
sudo apt -y install python2
# Install Golang
section "Installing Golang"
sudo apt -y install golang
# Install additional packages
section "Installing Additional Packages"
sudo apt -y install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev build-essential libssl-dev libffi-dev python-dev libldns-dev jq ruby-full python3-setuptools python3-dnspython rename findutils
# Install Sublist3r
section "Sublist3r Installing"
git clone https://github.com/aboul3la/Sublist3r.git
cd Sublist3r/ || { echo "Error: Unable to change to Sublist3r directory."; exit 1; }
pip3 install -r requirements.txt
cd ../ || { echo "Error: Unable to return to the parent directory."; exit 1; }
# Install Github-Search
section "Github-Search Installing"
git clone https://github.com/gwen001/github-search.git
# Install Knockpy
section "Knockpy Installing"
git clone https://github.com/guelfoweb/knock.git
cd knock || { echo "Error: Unable to change to knock directory."; exit 1; }
sudo python3 setup.py install
cd ../ || { echo "Error: Unable to return to the parent directory.";