-
Notifications
You must be signed in to change notification settings - Fork 20
/
get-iron-browser.sh
executable file
·30 lines (30 loc) · 935 Bytes
/
get-iron-browser.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
#!/bin/sh
echo "Get SRware Iron Browser script"
echo "(c) Thom Hastings 2013 New BSD license"
echo " Add pentest-bookmarks.html"
echo "(c) Thom Hastings 2019 GNU Affero GPL"
echo
echo "Downloading & installing SRware Iron..."
cd ~
MACHINE_TYPE=`uname -m`
echo -e "Machine type is \e[37m$MACHINE_TYPE\e[0m"
if [ ${MACHINE_TYPE} = 'x86_64' ]
then
echo "Downloading 64-bit..."
URL="http://www.srware.net/downloads/iron64.deb"
else
echo "Downloading 32-bit..."
URL="http://www.srware.net/downloads/iron.deb"
fi
FILE="iron-installer.deb"
wget "$URL" -O $FILE && echo "Installing..." && sudo dpkg -i $FILE
echo "Cleaning up..."
rm $FILE
echo
echo "Replacing Iron's bookmarks.html..."
cd /usr/share/iron
mv bookmarks.html bookmarks.html.backup
wget -N -c https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pentest-bookmarks/bookmarksv1.5.html -O bookmarks.html
sleep 0.1
echo
echo -e "\e[32mDONE\e[0m"