@@ -48,7 +48,7 @@ Feature: `msfconsole` `database.yml`
48
48
database: project_metasploit_framework_test
49
49
username: project_metasploit_framework_test
50
50
"""
51
- When I run `msfconsole -L - -environment test --yaml command_line.yml` interactively
51
+ When I run `msfconsole --environment test --yaml command_line.yml` interactively
52
52
And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
53
53
And I type "exit"
54
54
Then the output should contain "command_line_metasploit_framework_test"
@@ -84,7 +84,7 @@ Feature: `msfconsole` `database.yml`
84
84
database: project_metasploit_framework_test
85
85
username: project_metasploit_framework_test
86
86
"""
87
- When I run `msfconsole -L - -environment test` interactively
87
+ When I run `msfconsole --environment test` interactively
88
88
And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
89
89
And I type "exit"
90
90
Then the output should contain "environment_metasploit_framework_test"
@@ -113,7 +113,7 @@ Feature: `msfconsole` `database.yml`
113
113
database: project_metasploit_framework_test
114
114
username: project_metasploit_framework_test
115
115
"""
116
- When I run `msfconsole -L - -environment test` interactively
116
+ When I run `msfconsole --environment test` interactively
117
117
And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
118
118
And I type "exit"
119
119
Then the output should contain "user_metasploit_framework_test"
@@ -133,7 +133,7 @@ Feature: `msfconsole` `database.yml`
133
133
database: project_metasploit_framework_test
134
134
username: project_metasploit_framework_test
135
135
"""
136
- When I run `msfconsole -L - -environment test` interactively
136
+ When I run `msfconsole --environment test` interactively
137
137
And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
138
138
And I type "exit"
139
139
Then the output should contain "project_metasploit_framework_test"
@@ -148,7 +148,7 @@ Feature: `msfconsole` `database.yml`
148
148
And a mocked home directory
149
149
And I cd to "../.."
150
150
And the project "database.yml" does not exist
151
- When I run `msfconsole -L - -environment test` interactively
151
+ When I run `msfconsole --environment test` interactively
152
152
And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
153
153
And I type "db_status"
154
154
And I type "exit"
@@ -158,8 +158,8 @@ Feature: `msfconsole` `database.yml`
158
158
And the output should not contain "project_metasploit_framework_test"
159
159
And the output should contain "[*] postgresql selected, no connection"
160
160
161
- Scenario : Starting `msfconsole -L ` with a valid database.yml
162
- Given I run `msfconsole -L ` interactively
161
+ Scenario : Starting `msfconsole` with a valid database.yml
162
+ Given I run `msfconsole` interactively
163
163
And I wait for stdout to contain "Free Metasploit Pro trial: http://r-7.co/trymsp"
164
164
When I type "db_status"
165
165
And I type "exit"
0 commit comments