App - Script
Sunday 19 February 2023, 16:49 #1
App - Script | Powershell - SecureString
Hi folks
I’m stuck in this lab. I discovered the AES key bytes and the contents of .passwd.crypt, but I’m not so sure how can I convert the encrypted password back to the original plain text using PowerShell. I tried to do it from my local machine with a Python script, but the resulting decrypted plain text did not work as a validation. While in the PowerShell lab, also tried the following commands:
$pass = Get-Content .passwd.crypt
$dpass = ConvertFrom-SecureString $pass -AsPlainText -Force
but the resulting $dpass variable is empty when printed in the console. Any ideas on how should I proceed?