Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Eliminate redundant aruba step that would always pass anyways

  • Loading branch information...
commit 6851c7920010a5b1fd000a8251648ec162044805 1 parent 6986b0b
@bowsersenior bowsersenior authored
View
5 features/attack.feature
@@ -31,7 +31,10 @@ Feature: Verify the attack behaviour is correct
\"\"\"
"""
When I run `gauntlt attack --name nmap --attack-file nmap.attack`
- Then it should pass
+ Then it should pass with:
+ """
+ 4 steps (4 passed)
+ """
Scenario: Run attack with undefined steps
Given an attack "nmap" exists
View
3  features/attacks/cookies.feature
@@ -18,8 +18,7 @@ Feature: Cookies attack
| NID | false | {'HttpOnly': None} |
"""
When I run `gauntlt attack --name cookies --attack-file cookies.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
4 steps (4 passed)
"""
View
3  features/attacks/curl.feature
@@ -16,8 +16,7 @@ Feature: curl attack
Then the response code should be "301"
"""
When I run `gauntlt attack --name curl --attack-file curl.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
4 steps (4 passed)
"""
View
3  features/attacks/http_methods.feature
@@ -26,8 +26,7 @@ Feature: http_methods attack
| bogus | Error 405 (Method Not Allowed) |
"""
When I run `gauntlt attack --name http_methods --attack-file http_methods.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
5 scenarios (5 passed)
"""
View
12 features/attacks/nmap.feature
@@ -84,8 +84,7 @@ Feature: nmap attack
Scenario: Simple nmap attack
When I run `gauntlt attack --name nmap --attack-file simple_nmap.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
4 steps (4 passed)
"""
@@ -93,24 +92,21 @@ Feature: nmap attack
@slow
Scenario: OS detection nmap attack
When I run `gauntlt attack -n nmap -a os_detection_nmap.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
4 steps (4 passed)
"""
Scenario: Testing the tcp_ping_ports
When I run `gauntlt attack -n nmap -a tcp_ping_ports_nmap.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
5 steps (5 passed)
"""
Scenario: Handle XML output file
When I run `gauntlt attack -n nmap -a xml_output_nmap.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
5 steps (5 passed)
"""
View
3  features/attacks/sqlmap.feature
@@ -10,8 +10,7 @@ Feature: sqlmap attack
Given "sqlmap" is installed
"""
When I run `gauntlt attack --name sqlmap --attack-file sqlmap.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
1 step (1 passed)
"""
View
3  features/attacks/sslyze.feature
@@ -29,8 +29,7 @@ Feature: sslyze attack
# Then the key size should be at least 2048
"""
When I run `gauntlt attack --name sslyze --attack-file sslyze.attack`
- Then it should pass
- And the output should contain:
+ Then it should pass with:
"""
4 steps (4 passed)
"""
View
3  features/step_definitions/aruba_extension_steps.rb
@@ -1,3 +0,0 @@
-Then /^it should pass$/ do
- assert_success(true)
-end
Please sign in to comment.
Something went wrong with that request. Please try again.