Skip to content

Instantly share code, notes, and snippets.

@ahhh
Forked from Arno0x/calc.hta
Created December 26, 2017 17:10
Show Gist options
  • Save ahhh/c2c7dc6c967ee259702a91fd7215de4d to your computer and use it in GitHub Desktop.
Save ahhh/c2c7dc6c967ee259702a91fd7215de4d 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