There was an error while loading. Please reload this page.
1 parent 4c4509a commit d3bc366Copy full SHA for d3bc366
gauntlt/attacks/open-rmiregistry-server.attack
@@ -0,0 +1,23 @@
1
+@slow
2
+Feature: Checks for open java RMI registry servers
3
+
4
+ Background:
5
+ Given "nmap" is installed
6
+ And the following environment variables:
7
+ | name | environment_variable_name |
8
+ | host | TARGET_HOST |
9
10
+ And the following profile:
11
+ | name | value |
12
+ | port | 1099 |
13
14
+ Scenario: Verify server is not open on expected ports
15
+ When I launch an "nmap" attack with:
16
+ """
17
+ nmap -p <port> <host>
18
19
+ Then the output should contain:
20
21
+ 1099/tcp closed rmiregistry
22
23
0 commit comments