Change namespace
parent
f85890a249
commit
c33e5faed3
|
@ -12,7 +12,7 @@ module Msf
|
|||
include Msf::Jmx::Util
|
||||
include Msf::Jmx::Discovery
|
||||
include Msf::Jmx::Handshake
|
||||
include Msf::Jmx::MBean
|
||||
include Msf::Jmx::Mbean
|
||||
|
||||
def initialize(info = {})
|
||||
super
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
module Msf
|
||||
module Jmx
|
||||
module MBean
|
||||
module Mbean
|
||||
require 'msf/jmx/mbean/server_connection'
|
||||
|
||||
include Msf::Jmx::MBean::ServerConnection
|
||||
include Msf::Jmx::Mbean::ServerConnection
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module Msf
|
||||
module Jmx
|
||||
module MBean
|
||||
module Mbean
|
||||
# This module provides methods which help to handle with MBean related calls.
|
||||
# Specially, simulating calls with the Java javax.management.MBeanServerConnection
|
||||
# class
|
||||
|
|
|
@ -4,7 +4,7 @@ require 'spec_helper'
|
|||
require 'rex/java'
|
||||
require 'msf/jmx'
|
||||
|
||||
describe Msf::Jmx::MBean::ServerConnection do
|
||||
describe Msf::Jmx::Mbean::ServerConnection do
|
||||
subject(:mod) do
|
||||
mod = ::Msf::Exploit.new
|
||||
mod.extend ::Msf::Jmx
|
||||
|
|
Loading…
Reference in New Issue