Metasploit mailing list archives

[PATCH] speed up "msfcli -h"


From: junkoi2004 at gmail.com (Jun Koi)
Date: Fri, 6 Mar 2009 23:50:05 +0900

Hi,

This simple patch significantly speeds up "msfcli -h" by checking -h
option before loading modules.

Time to run before patch:  48  seconds
Time to run after patch:    0.7  seconds

Thanks,
J

$ diffstat diff1.patch
 msfcli |   61 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 31 insertions(+), 30 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff1.patch
Type: application/octet-stream
Size: 2398 bytes
Desc: not available
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20090306/fafd87f3/attachment.obj>


Current thread: