Skip to content

Instantly share code, notes, and snippets.

@Arno0x
Created November 17, 2017 16:54
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save Arno0x/91388c94313b70a9819088ddf760683f to your computer and use it in GitHub Desktop.
Save Arno0x/91388c94313b70a9819088ddf760683f to your computer and use it in GitHub Desktop.
HTML Application example to be executed by mstha.exe
<html>
<head>
<HTA:APPLICATION ID="HelloExample">
<script language="jscript">
var c = "cmd.exe /c calc.exe";
new ActiveXObject('WScript.Shell').Run(c);
</script>
</head>
<body>
<script>self.close();</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment