Twitter: @MexicanH @Anonymousmexi @rofl4all @Anon_yuc
Descripcion: Script que automatiza la instalación de Tor
#!/bin/sh
colorise=1
print_welcome ()
{
echo "
@@@@@@ @@@ @@@ @@@@@@@ @@@@@@ @@@ @@@ @@@ @@@@@@ @@@@@@@ @@@@@@ @@@ @@@
@@! @@@ @@! @@@ @@! @@! @@@ @@! @@!@!@@@ !@@ @@! @@! @@@ @@! @@!
@!@!@!@! @!@ !@! @!! @!@ !@! !!@ @!@@!!@! !@@!! @!! @!@!@!@! @!! @!!
!!: !!! !!: !!! !!: !!: !!! !!: !!: !!! !:! !!: !!: !!! !!: !!:
: : : :.:: : : : :. : : :: : ::.: : : : : : : ::.: : : ::.: :
Coded By: Anonymous Mexico
Twitter: @MexicanH @Anonymousmexi @rofl4all @Anon_yuc
"
}
get_test_url ()
{
echo "Antes de instalar tor, tienes que escribir el nombre de tu distribucion:\n"
echo " Debian unstable (sid) is "'sid'" "
echo " Debian testing is "'wheezy'" "
echo " Debian 6.0 (squeeze) is "'squeeze'""
echo " Debian 5.0 (lenny) is "'lenny'""
echo " Ubuntu 12.04 is "'precise'" "
echo " Ubuntu 11.10 is "'oneiric'""
echo " Ubuntu 11.04 is "'natty'""
echo " Ubuntu 10.10 or Trisquel 4.5 is "'maverick'""
echo " Ubuntu 10.04 or Trisquel 4.0 is "'lucid'""
echo " Ubuntu 9.10 or Trisquel 3.5 is "'karmic'""
echo " Ubuntu 8.04 is "'hardy'"\n"
echo "distribucion : "
read distribucion
echo
echo "deb http://deb.torproject.org/torproject.org $distribucion 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 "Done!!"
clear scr
echo "[*] Actualizando repositorios...."
apt-get update
clear scr
echo "[*] Instalando paquetes deb"
apt-get install deb.torproject.org-keyring
echo "[*] Done!!"
clear scr
echo "[*] Instalando TOR, Privoxy, & Polipo"
apt-get install tor
echo "[*] Done!!"
apt-get install privoxy
echo "[*] Configurando privoxy"
echo "forward-socks4a / 127.0.0.1:9050 . " >> /etc/privoxy/config
apt-get install polipo
echo "[*] Configurando polipo"
cd /etc/polipo/
rm config > /dev/null
wget --output-document=config http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/config.sample
echo "Done!!"
echo "Tor ha sido instlado satisfactoriamente."
}
if [ "$colorise" = 1 ]; then print_welcome ; fi ;
get_test_url
0 comentarios:
Publicar un comentario