Reduce msfvenom run time by only loading relevant modules

Work was already done, just need the args passed in
This commit is contained in:
dwelch-r7
2020-08-27 15:25:33 +01:00
parent 5368536d1a
commit 98eaef20b3
+2 -2
View File
@@ -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