30 lines
721 B
Ruby
30 lines
721 B
Ruby
# -*- coding: binary -*-
|
|
|
|
module Msf
|
|
class Exploit
|
|
class Remote
|
|
module HTTP
|
|
module Joomla
|
|
require 'msf/core/exploit/http/joomla/base'
|
|
require 'msf/core/exploit/http/joomla/version'
|
|
|
|
include Msf::Exploit::Remote::HttpClient
|
|
include Msf::Exploit::Remote::HTTP::Joomla::Base
|
|
include Msf::Exploit::Remote::HTTP::Joomla::Version
|
|
|
|
def initialize(info = {})
|
|
super
|
|
|
|
register_options(
|
|
[
|
|
Msf::OptString.new('TARGETURI', [true, 'The base path to the Joomla application', '/'])
|
|
], Msf::Exploit::Remote::HTTP::Joomla
|
|
)
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|