Add specs for Msf::Java::Rmi::Client::Registry::Parser

bug/bundler_fix
jvazquez-r7 2015-03-19 19:07:03 -05:00
parent 6eecbc3de1
commit 6094d1bfb1
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 1 additions and 1 deletions

View File

@ -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?