Advertisement
Templario_7777

JOHN THE RIPPER

Apr 20th, 2021 (edited)
1,344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.40 KB | None | 0 0
  1. INSTALACION_JOHN_THE_RIPPER
  2.  
  3. TESTEADO EN UBUNTU 20.04 CORE I5/SIN GPU
  4.  
  5. INSTALAR LIBRERIAS NECESARIAS:
  6.  
  7.     sudo apt-get install build-essential libssl-dev
  8.     sudo apt-get install yasm libgmp-dev libcap-dev libnss3-dev libkrb5-dev pkg-config libbz2-dev zlib1g-dev
  9.  
  10. DESCARGAR DE GIT LA ULTIMA VERSION MANTENIDA
  11.  
  12.     git clone https://github.com/openwall/john -b bleeding-jumbo john  
  13.     cd john/
  14.     cd src/
  15.  
  16. COMPILAR
  17.     ./configure && make -s clean && make -sj4
  18.  
  19. COMPROBAR QUE FUNCIONE
  20.     cd ..
  21.     ./run/john --test
  22.  
  23. AGREGANDO UN ALIAS
  24.  
  25. alias jtr="$HOME/john/run/./john"
  26.  
  27. IMPRIME SALIDA POR PANTALLA
  28.  
  29. jtr --incremental --session=test1 --stdout
  30.  
  31. jtr --incremental --session=test1 --stdout | aircrack-ng -a 2 -e ASDF asdf-01.cap -l HONEY.pot -w -
  32.  
  33. ## donde -w - (reemplaza un diccionario por el stdout de john the ripper)
  34.  
  35. EJEMPLO DE USO LA HERRAMIENTA DE OBTENCION DE HASH DE UN ARCHIVO ZIP
  36.  
  37.     cd run
  38.     ./zip2john /home/templario/Desktop/DIRECTORIO_ARCHIVO/NOMBRE_ARCHIVO.zip -o nombre_de_1_archivo_dentro_del_ZIP.doc > archivo_de_salida_que_contiene_hash.hash
  39.  
  40. ** El ejemplo anterior la opcion -o es para al momento de obtener el hash de la password seleccionar un solo archivo suponiendo que el zip usa la misma pass para todos los archivos **
  41.  
  42.     ./john archivo_de_salida_que_contiene_hash.hash
  43. ** crackeo de la password **
  44.     ./john archivo_de_salida_que_contiene_hash.hash --show
  45. ** informacion del crackeo **
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement