Reduce msfvenom run time by only loading relevant modules
Work was already done, just need the args passed in
This commit is contained in:
@@ -49,10 +49,10 @@ def init_framework(create_opts={})
|
||||
]
|
||||
|
||||
create_opts[:module_types].map! do |type|
|
||||
type = Msf.const_get("MODULE_#{type.upcase}")
|
||||
Msf.const_get("MODULE_#{type.upcase}")
|
||||
end
|
||||
|
||||
@framework = ::Msf::Simple::Framework.create
|
||||
@framework = ::Msf::Simple::Framework.create(create_opts)
|
||||
end
|
||||
|
||||
# Cached framework object
|
||||
|
||||
Reference in New Issue
Block a user