forked from eslam3kl/3klCon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_tools.sh
More file actions
166 lines (135 loc) · 3.24 KB
/
install_tools.sh
File metadata and controls
166 lines (135 loc) · 3.24 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#!/bin/sh
#this script was written by @eslam3kl
#happy hacking
#install script languages
sudo apt-get install golang;
sudo apt-get install python3;
sudo apt-get install python3-pip;
sudo apt-get install python-pip;
sudo apt-get install ruby;
sudo apt-get install screen;
sudo apt-get install git;
pip install requests;
pip3 install requests;
pip install subprocess;
pip install termcolor;
pip install optparse;
'''
-----------
Tools Used
-----------
crtfinder
3klector
subfinder
assetfinder
amass
altdns
dirsearch
httpx
httprob
waybackurls
gau
git-hound
gitdorks.sh
naabu
gf
gf-templetes
nuclei
nuclei-templets
s3scanner
subjack
webpwn3r
scan.sh
----------
'''
#in directory --> word_lists , tools
mkdir word_lists;
mkdir tools;
mv words.txt word_lists/;
#install tools
cd tools/;
# /root/3klcon/tools
#install subfinder
git clone https://github.com/projectdiscovery/subfinder.git;
cd subfinder/v2/cmd/subfinder;
go build;
cp subfinder /usr/local/bin/;
cd ../../../../ ;
#3klcon/tools/
#install httpx
git clone https://github.com/projectdiscovery/httpx.git;
cd httpx/cmd/httpx;
go build;
cp httpx /usr/local/bin/;
cd ../../../ ;
#3klcon/tools/
#install nuclei
git clone https://github.com/projectdiscovery/nuclei.git;
cd nuclei/v2/cmd/nuclei/;
go build;
cp nuclei /usr/local/bin/;
cd ../../../../ ;
#3klcon/tools/
#install nuclei-templets
git clone https://github.com/projectdiscovery/nuclei-templates;
#install naabu
git clone https://github.com/projectdiscovery/naabu.git;
cd naabu/v2/cmd/naabu;
go build;
cp naabu /usr/local/bin/;
cd ../../../../ ;
#3klcon/tools/
#install assetfinder
go get -u github.com/tomnomnom/assetfinder;
cp /root/go/bin/assetfinder /usr/local/bin/;
#install waybackurls
go get github.com/tomnomnom/waybackurls;
cp /root/go/bin/waybackurls /usr/local/bin/;
#install githound
git clone https://github.com/tillson/git-hound;
cd git-hound/;
go build;
cp git-hound /usr/local/bin ;
echo 'github_username:' > config.yml ;
echo 'github_password:' >> config.yml ;
cd ../ ;
#you will need to enter your credentials into the config.yml file
#install gitdorks
mkdir git_dorks;
cp ../gitdorks.sh git_dorks/;
mv ../gitdorks.sh /usr/local/bin;
#install port_scanner
mkdir port_scan;
cp ../scan.sh port_scan/;
mv ../scan.sh /usr/local/bin;
#install crtfinder
mkdir crtfinder;
mv ../crtfinder.py crtfinder/;
#install 3klector
mkdir 3klector;
mv ../3klector.py 3klector/;
#install subjck
go get github.com/haccer/subjack;
cp /root/go/bin/subjack /usr/local/bin;
#install gau
GO111MODULE=on go get -u -v github.com/lc/gau
cp /root/go/bin/gau /usr/local/bin;
#install amass
apt-get install amass;
#install httprobe
go get -u github.com/tomnomnom/httprobe;
cp /root/go/bin/httprobe /usr/local/bin/;
#install dirsearch
sudo apt-get install dirbuster; #to get its wordlist
git clone https://github.com/maurosoria/dirsearch.git;
#install altdns
pip install py-altdns;
#install gf & gf-templete
go get -u github.com/tomnomnom/gf;
git clone https://github.com/1ndianl33t/Gf-Patterns;
echo 'source /root/go/src/github.com/tomnomnom/gf/gf-completion.bash' >> ~/.bashrc;
#source ~/.bashrc;
mkdir ~/.gf;
cp -r /root/go/src/github.com/tomnomnom/gf/examples ~/.gf;
cp Gf-Patterns/*.json ~/.gf;
cd ../ ;