mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-09-11 17:08:02 +02:00
Fix non-scanner external modules
This commit is contained in:
parent
9a8f1ace2d
commit
780c8f0506
2
lib/msf/core/modules/external/shim.rb
vendored
2
lib/msf/core/modules/external/shim.rb
vendored
@ -32,7 +32,7 @@ class Msf::Modules::External::Shim
|
|||||||
render_template('common_metadata.erb', meta)
|
render_template('common_metadata.erb', meta)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.mod_meta_common(mod, meta = {}, drop_rhost: true)
|
def self.mod_meta_common(mod, meta = {}, drop_rhost: false)
|
||||||
meta[:path] = mod.path.dump
|
meta[:path] = mod.path.dump
|
||||||
meta[:name] = mod.meta['name'].dump
|
meta[:name] = mod.meta['name'].dump
|
||||||
meta[:description] = mod.meta['description'].dump
|
meta[:description] = mod.meta['description'].dump
|
||||||
|
Loading…
Reference in New Issue
Block a user