Files
bashbunny-payloads/payloads/library/general/Proxy_Interceptor/ImportCert.ps1
2017-04-10 13:29:17 +10:00

6 lines
216 B
PowerShell

#Import variables from vars.ps1 for use.
. .\vars.ps1
#Add certificate to certificate store
$certFile = ( Get-ChildItem -Path $certName )
$certFile | Import-Certificate -CertStoreLocation cert:\CurrentUser\Root