Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Generamos una "base de datos" en formato entendible para John The Ripper
- #Se guardará como hash.dat
- slapcat | awk 'BEGIN{uidFound=0};$1 ~ /^uid:/{uid=$2;uidFound=1};$1 ~ /^userPassword::/
- && uidFound == 1{printf uid":";system("echo " $2 "|base64 -d"); print "";uidFound=0};
- $0 == ""{uidFound=0}' > hash.dat
- #El output será similar a:
- #user:{{SSHA}}mi_h_a_s_h
- #Lo cual será muy útil para John
- #Ejecutamos John de forma incremental (a menos, claro, que tengamos un diccionario)
- john --incremental hash.dat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement