Fix Rinda msfcrawler error
This commit is contained in:
@@ -94,6 +94,7 @@ PATH
|
||||
rex-struct2
|
||||
rex-text
|
||||
rex-zip
|
||||
rinda
|
||||
ruby-macho
|
||||
ruby-mysql
|
||||
ruby_smb (~> 3.3.3)
|
||||
@@ -252,6 +253,7 @@ GEM
|
||||
fiddle (1.1.6)
|
||||
filesize (0.2.0)
|
||||
fivemat (1.3.7)
|
||||
forwardable (1.3.3)
|
||||
getoptlong (0.2.1)
|
||||
gssapi (1.3.1)
|
||||
ffi (>= 1.0.1)
|
||||
@@ -271,6 +273,7 @@ GEM
|
||||
i18n (1.14.7)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-console (0.8.0)
|
||||
ipaddr (1.2.7)
|
||||
irb (1.7.4)
|
||||
reline (>= 0.3.6)
|
||||
jmespath (1.6.2)
|
||||
@@ -466,6 +469,10 @@ GEM
|
||||
rex-zip (0.1.6)
|
||||
rex-text
|
||||
rexml (3.4.1)
|
||||
rinda (0.2.0)
|
||||
drb
|
||||
forwardable
|
||||
ipaddr
|
||||
rkelly-remix (0.0.7)
|
||||
rspec (3.13.0)
|
||||
rspec-core (~> 3.13.0)
|
||||
|
||||
@@ -270,6 +270,7 @@ Gem::Specification.new do |spec|
|
||||
getoptlong
|
||||
mutex_m
|
||||
ostruct
|
||||
rinda
|
||||
].each do |library|
|
||||
spec.add_runtime_dependency library
|
||||
end
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
require 'openssl'
|
||||
require 'pathname'
|
||||
require 'uri'
|
||||
require 'rinda/rinda'
|
||||
require 'rinda/tuplespace'
|
||||
|
||||
class MetasploitModule < Msf::Auxiliary
|
||||
include Msf::Auxiliary::Scanner
|
||||
@@ -70,7 +72,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||
'data' => nil
|
||||
}
|
||||
|
||||
@NotViewedQueue = Rinda::TupleSpace.new
|
||||
@NotViewedQueue = ::Rinda::TupleSpace.new
|
||||
@ViewedQueue = Hash.new
|
||||
@UriLimits = Hash.new
|
||||
@curent_site = self.ctarget
|
||||
@@ -152,7 +154,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||
####
|
||||
|
||||
end
|
||||
rescue Rinda::RequestExpiredError
|
||||
rescue ::Rinda::RequestExpiredError
|
||||
print_status("END.")
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user