aux scanner support

bug/bundler_fix
sinn3r 2014-01-24 17:54:40 -06:00
parent 9db295769d
commit 93fa58ed45
2 changed files with 8 additions and 1 deletions

View File

@ -32,6 +32,13 @@ def initialize(info = {})
end
def check
nmod = self.replicant
code = nmod.check_host(datastore['RHOST'])
code
end
#
# The command handler when launched from the console
#

View File

@ -42,7 +42,7 @@ module ModuleCommandDispatcher
def cmd_check(*args)
defanged?
ip_range_arg = args.shift || ''
ip_range_arg = args.shift || datastore['RHOSTS'] || ''
hosts = Rex::Socket::RangeWalker.new(ip_range_arg)
if hosts.ranges.blank?