Skip to content

Commit e9a69a8

Browse files
committed
"Without --yaml, MSF_DATABASE_CONFIG wins" --defer-module-loads
MSP-11671 Add `--defer-module-loads` when running `msfconsole`. Changes average (n=10) runtime from 52.96 seconds to 38.98 seconds (-26.39%) (-71.92% compared to 69b170a).
1 parent 8b88d7b commit e9a69a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/msfconsole/database_yml.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Feature: `msfconsole` `database.yml`
8282
database: project_metasploit_framework_test
8383
username: project_metasploit_framework_test
8484
"""
85-
When I run `msfconsole --environment test --execute-command exit`
85+
When I run `msfconsole --defer-module-loads --environment test --execute-command exit`
8686
Then the output should contain "environment_metasploit_framework_test"
8787

8888
Scenario: Without --yaml or MSF_DATABASE_CONFIG, ~/.msf4/database.yml wins

0 commit comments

Comments
 (0)