Metasploit-framework: Why msfconsole takes too long to print version?

Created on 8 Mar 2020  路  1Comment  路  Source: rapid7/metasploit-framework

Steps to reproduce

  1. time ./msfconsole --version

image

It took nearly 8 seconds to print version.

Expected behavior

I think printing the version should be quick.

Current behavior

I believe ~8s is not fast enough just to print version.

System stuff

Metasploit version

I am using master branch, this commit b85cd9b

I installed Metasploit with:

  • [x] Source install

Ruby version: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]

OS

What OS are you running Metasploit on?

Windows 10, WSL Ubuntu 18.04.

question usability

Most helpful comment

Same reason as in #9723: Framework is being loaded first. Splitting off the code for msfconsole's help or version is a little more involved than it was for msfvenom. This is something for @adfoster-r7's team to address.

>All comments

Same reason as in #9723: Framework is being loaded first. Splitting off the code for msfconsole's help or version is a little more involved than it was for msfvenom. This is something for @adfoster-r7's team to address.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ejholmes picture ejholmes  路  3Comments

XSecr3t picture XSecr3t  路  3Comments

Funeoz picture Funeoz  路  3Comments

Sonya2010 picture Sonya2010  路  3Comments

0x27 picture 0x27  路  3Comments