forked from SOsintOps/Argos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.sh
199 lines (124 loc) · 4.61 KB
/
setup.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
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
#!/bin/bash
# Most of this script is supplied by Michael Bazzel, so credit where credit is due.
sudo apt-get -y update
sudo apt-get -y update
# Requirements for installing tools
requirements = ("python3"
"python-setuptools"
"jq"
"python3-pip"
"python-pip"
"git"
"xargs"
"curl"
"wget")
for requirements in $requirements; do
echo "Installing $(requirements)..."
sudo apt-get install -y $(requirements)
done
#ToDo: Move user.js file to proper directory ~/.mozilla/ http://kb.mozillazine.org/Profile_folder
#Install scripts and launchers
cd ~/Desktop && curl -O https://inteltechniques.com/osintbook/vm-files.zip
unzip vm-files.zip -d /home/osint/Desktop/
mkdir ~/Documents/scripts
mkdir ~/Documents/icons
cd ~/Desktop/vm-files/scripts
sudo cp * ~/Documents/scripts
cd ~/Desktop/vm-files/icons
cp * ~/Documents/icons
cd ~/Desktop/vm-files/shortcuts
sudo cp * /usr/share/applications/
cd ~/Downloads
mkdir Programs
cd Programs
# Tools
# media tools
sudo snap install vlc
sudo -H pip3 install --upgrade youtube_dl
sudo apt-get install -y ffmpeg
sudo -H pip3 install Instalooter
sudo -H pip3 install Instaloader
# Twint
git clone https://github.com/twintproject/twint.git
cd twint
sudo -H pip3 install twint
sudo -H pip3 install -r requirements.txt
cd ~/Downloads/Programs
# EyeWitness
git clone https://github.com/ChrisTruncer/EyeWitness.git
cd EyeWitness/Python/setup
sudo -H ./setup.sh
cd ~/Documents/scripts
sed -i "s/Programs\/EyeWitness/Programs\/EyeWitness\/Python/g" eyewitness.sh
cd ~/Downloads/Programs
# Amass
sudo snap install amass
# sublist3r
git clone https://github.com/aboul3la/Sublist3r.git
cd Sublist3r && sudo -H pip3 install -r requirements.txt
cd ~/Downloads/Programs
#Photon
git clone https://github.com/s0md3v/Photon.git
cd Photon && sudo -H pip3 install -r requirements.txt
cd ~/Downloads/Programs
# The Harvester
git clone https://github.com/laramies/theHarvester.git
cd theHarvester
git checkout 8b88a66
sudo -H pip3 install -r requirements.txt
cd ~/Downloads/Programs
# Other assorted tools
sudo python3 -m pip install pipenv
sudo apt-get install -y mediainfo-gui
sudo apt install -y libimage-exiftool-perl
sudo apt-get install -y webhttrack
sudo wget -O google-earth64.deb http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
sudo dpkg -i google-earth64.deb
sudo apt-get -f install; sudo rm google-earth64.deb
sudo snap install keepassxc
sudo apt install -y kazam
# Modify scripts
cd ~/Documents/scripts/
sed -i "s/python3\.6/python3/g" domains.sh
sed -i "s/python\ sublist3r/python3\ sublist3r/g" domains.sh
sed -i "s/pip\ install/pip3\ install/g" updates.sh
sed -i "s/sudo\ pip3/sudo\ \-H\ pip3/g" updates.sh
pip3 install --upgrade pip
cd ~/Downloads/Programs
# Metagoofil
git clone https://github.com/opsdisk/metagoofil.git
cd metagoofil
sudo -H pip3 install -r requirements.txt
cd ~/Downloads/Programs
# Recon-NG (Install your api keys to get full functionality)
git clone https://github.com/lanmaster53/recon-ng.git
cd recon-ng
sudo -H pip3 install -r REQUIREMENTS
cd ~/Downloads/Programs
# Sherlock
git clone https://github.com/sherlock-project/sherlock.git
cd sherlock
python3 -m pip install -r requirements.txt
cd ~/Documents/scripts/
sed -i 's/Programs\/sherlock/Programs\/sherlock\/sherlock/g' sherlock.sh
cd ~/Downloads/Programs
# Spiderfoot (Install your api keys to get full functionality)
git clone https://github.com/smicallef/spiderfoot.git
cd spiderfoot
sudo -H pip3 install -r requirements.txt
cd ~/Documents/scripts
sed -i '/^sudo/ d' spiderfoot.sh
sed -i '/^firefox/ d' spiderfoot.sh
echo "cd ~/Downloads/Programs/spiderfoot" >> spiderfoot.sh
echo "python3 sf.py -l 127.0.0.1:5001 &" >> spiderfoot.sh
echo "sleep 5" >> spiderfoot.sh
echo "firefox http://127.0.0.1:5001" >> spiderfoot.sh
cd ~/Downloads/Programs
# Elasticsearch-Crawler
git clone https://github.com/AmIJesse/Elasticsearch-Crawler.git
cd Elasticsearch-Crawler
sudo -H pip3 install nested-lookup
sudo -H pip3 install internetarchive
cd ~/Downloads/Programs
sudo chmod +x udate_osint_tools.sh
#ToDo: VMware tools installation