You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
Is it possible to run specified module without running the whole metasploit?
Like a RUBYLIB=/usr/share/metasploit-framework/lib irb exploit/path/to/some.rb
In python I can do this via importing from metasploit import module.
Relevant information
I have an automation tool which run a lot of metasploit modules for checking vulnerabilities. And it spend a lot of time and CPU because of loading msfconsole every time.
Thank you for attention!
The text was updated successfully, but these errors were encountered:
Hello! Is it possible to run specified module without running the whole metasploit? Like a RUBYLIB=/usr/share/metasploit-framework/lib irb exploit/path/to/some.rb In python I can do this via importing from metasploit import module.
And it spend a lot of time and CPU because of loading msfconsole every time.
In the short term, you can speed up your existing automation implementation with the --defer-module-loads flag. Using this flag significantly increases the msfconsole startup time.
It is also worth noting that several patches were applied recently (in the two most recent releases). If you have not yet updated, these patches should cut the msfconsole startup time in half.
Summary
Hello!
Is it possible to run specified module without running the whole metasploit?
Like a
RUBYLIB=/usr/share/metasploit-framework/lib irb exploit/path/to/some.rb
In python I can do this via
importing from metasploit import module
.Relevant information
I have an automation tool which run a lot of metasploit modules for checking vulnerabilities. And it spend a lot of time and CPU because of loading msfconsole every time.
Thank you for attention!
The text was updated successfully, but these errors were encountered: