Skip to content

Instantly share code, notes, and snippets.

@majid-derkaoui
Forked from Arno0x/calc.hta
Created April 20, 2021 05:49
Show Gist options
  • Select an option

  • Save majid-derkaoui/116fac7f76de3df976249ef9cb861a82 to your computer and use it in GitHub Desktop.

Select an option

Save majid-derkaoui/116fac7f76de3df976249ef9cb861a82 to your computer and use it in GitHub Desktop.

Revisions

  1. @Arno0x Arno0x created this gist Nov 17, 2017.
    12 changes: 12 additions & 0 deletions calc.hta
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    <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>