$hash = Read-Host "Introduzca hash: " [Reflection.Assembly]::LoadWithPartialName("System.Web") gc .\diccionario.txt | %{ $_+","+([System.Web.Security.FormsAuthentication]::HashPasswordForStoringInConfigFile($_, "SHA1")) >> dichash.txt } gc .\dichash.txt | Select-String $hash
Ejercicios de seguridad: adivinar un hash utilizando un fichero con hashes generados (Seguridad, PowerShell)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.