Skip to content

Commit d3bc366

Browse files
author
iallison
committed
Added open Tomcat RMI Registry attack
1 parent 4c4509a commit d3bc366

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)