Skip to content

Instantly share code, notes, and snippets.

@gabemarshall
Created May 15, 2017 15:03
Show Gist options
  • Save gabemarshall/ca52ee332f1c0a8b89a5ec99fb20e0c1 to your computer and use it in GitHub Desktop.
Save gabemarshall/ca52ee332f1c0a8b89a5ec99fb20e0c1 to your computer and use it in GitHub Desktop.
test.sct
<?XML version="1.0"?>
<scriptlet>
<registration
progid="ChangeMyNameToSomethingArbitrary"
classid="{F0001111-0000-0000-0000-0000FEEDACDC}" >
<script language="JScript">
<![CDATA[
var r = new ActiveXObject("WScript.Shell").Run("calc.exe",0);
]]>
</script>
</registration>
</scriptlet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment