Skip to content

Commit 8dced1f

Browse files
Hard code path for demo
1 parent ced916b commit 8dced1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gauntlt/nmap.attack

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ Feature: nmap attacks for localhost and to use this for your tests, change the v
3636
Scenario: Output to XML
3737
When I launch an "nmap" attack with:
3838
"""
39-
nmap -p 22,80,443 -oX foo.xml <hostname>
39+
nmap -p 22,80,443 -oX /app/build/nmap-results.xml <hostname>
4040
"""
41-
And the file "foo.xml" should contain XML:
41+
And the file "/app/build/nmap-results.xml" should contain XML:
4242
| css |
4343
| ports port[protocol="tcp"][portid="22"] state[state="open"] |
44-
And the file "foo.xml" should not contain XML:
44+
And the file "/app/build/nmap-results.xml" should not contain XML:
4545
| css |
4646
| ports port[protocol="tcp"][portid="80"] state[state="open"] |
4747
| ports port[protocol="tcp"][portid="443"] state[state="open"] |

0 commit comments

Comments
 (0)