Skip to content

Instantly share code, notes, and snippets.

@minkione
Forked from Arno0x/calc.hta
Created November 27, 2017 11:28
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