Advertisement
gacanepa

adduser8

Jul 29th, 2013
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. root@debian:~# grep jperez /etc/passwd > /home/jperez/linea_de_passwd
  2. root@debian:~# grep jperez /etc/shadow > /home/jperez/linea_de_shadow
  3. root@debian:~# unshadow /home/jperez/linea_de_passwd /home/jperez/linea_de_shadow > /tmp/crack.password.db
  4. root@debian:~# john /tmp/crack.password.db
  5. Created directory: /root/.john
  6. Loaded 1 password hash (generic crypt(3) [?/32])
  7. 1234 (jperez)
  8. guesses: 1 time: 0:00:44:41 100% (2) c/s: 8.16 trying: 12345 - missy
  9. Use the "--show" option to display all of the cracked passwords reliably
  10. root@debian:~# john -show /tmp/crack.password.db
  11. jperez:1234:1001:1001:Juan Pérez,816,+54 2657 444444,+54 2657 555555:/home/jperez:/bin/bash
  12.  
  13. 1 password hash cracked, 0 left
  14. root@debian:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement