Add specs for Msf::Java::Rmi::Client::Registry::Parser
parent
6eecbc3de1
commit
6094d1bfb1
|
@ -10,7 +10,7 @@ module Msf
|
||||||
# Parses a java.rmi.registry.Registry.lookup() return value to find out
|
# Parses a java.rmi.registry.Registry.lookup() return value to find out
|
||||||
# the remote object bound.
|
# the remote object bound.
|
||||||
#
|
#
|
||||||
# @param return_value [Rex::Java::Serialization::Model::ReturnValue]
|
# @param return_value [Rex::Proto::Rmi::Model::ReturnValue]
|
||||||
# @return [String, NilClass] The remote object name if success, nil otherwise
|
# @return [String, NilClass] The remote object name if success, nil otherwise
|
||||||
def parse_registry_lookup(return_value)
|
def parse_registry_lookup(return_value)
|
||||||
if return_value.nil? || return_value.is_exception?
|
if return_value.nil? || return_value.is_exception?
|
||||||
|
|
Loading…
Reference in New Issue