#!/bin/sh
echo " 
######################################
#    TOR AutoInstall By MexicanH     #
#    Usage: chmod 777 install.sh     #
#         Run: ./install.sh          #
#        twitter: @MexicanH          #
######################################
"
echo "deb  http://deb.torproject.org/torproject.org wheezy main" >> /etc/apt/sources.list
clear scr
echo "[*] Instalando las llaves...."
gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
echo "Listo!!"
clear scr
echo "[*] Actualizando repositorios...."
apt-get update
clear scr
echo "[*] Instalando TOR"
apt-get install deb.torproject.org-keyring
apt-get install tor
echo "Listo!!"
clear scr
echo "[*] Instalando Privoxy"
apt-get install privoxy
echo "[*] Configurando privoxy"
echo "forward-socks5 / 127.0.0.1:9050 ." >> /etc/privoxy/config
echo "Listo!!"
service tor restart
service privoxy restart
echo "Tor ha sido instalado satisfactoriamente."