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

15 lines
299 B
Plaintext
Raw Normal View History

2020-05-06 19:22:32 +02:00
<?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>