update tor

This commit is contained in:
j 2019-02-01 12:43:27 +05:30
parent 67c4bd5878
commit 52140713fa
3 changed files with 12 additions and 10 deletions

View file

@ -5,13 +5,4 @@ apt install python3-pip python3-venv python3.5 python3.5-dev python3.6 python3.6
# TOR update
wget https://www.torproject.org/dist/torbrowser/8.0.4/tor-browser-linux64-8.0.4_en-US.tar.xz
tar xvf tor-browser-linux64-8.0.4_en-US.tar.xz
rm -r tor
mv tor-browser_en-US/Browser/TorBrowser/Tor tor
mv tor/libstdc++/libstdc++.so.6 tor/
rmdir tor/libstdc++/
rm -r tor/PluggableTransports
rm -r tor-browser_en-US
./update_tor.sh

BIN
tor/tor

Binary file not shown.

11
update_tor.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
tortar=tor-browser-linux64-8.0.5_en-US.tar.xz
curl -sLO https://dist.torproject.org/torbrowser/8.0.5/$tortar
tar xvf $tortar
rm -rf tor
mv tor-browser_en-US/Browser/TorBrowser/Tor tor
mv tor/libstdc++/libstdc++.so.6 tor/
rmdir tor/libstdc++/
rm -r tor/PluggableTransports
rm -r tor-browser_en-US
rm $tortar