ctf-tools/tor-browser/install

10 lines
344 B
Text
Raw Normal View History

#!/bin/bash -ex
2016-07-02 10:34:54 +00:00
REL_PATH=$(curl https://www.torproject.org/projects/torbrowser.html.en#downloads | grep -i tor-browser-linux | grep hardened | grep td | sed -e 's/.*href="//' -e 's/">.*//')
wget https://www.torproject.org/projects/$REL_PATH -O - | tar xvJ
mkdir -p bin
cd bin
ln -s ../tor-browser/start-tor-browser.desktop tor-browser
cd ..