Skip to content

Commit b53ee13

Browse files
committed
Fix cosmetic issues with info -d
1 parent 1446a56 commit b53ee13

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

documentation/modules/auxiliary/admin/http/tomcat_administration.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,22 @@
22

33
The administrator application was removed as of Tomcat 6. Tomcat 5.5.36 is available from [apache](https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/). This does not have the `admin` app bundled though, and can be downloaded [here](https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.36/bin/apache-tomcat-5.5.36-admin.zip).
44

5-
To utilize the `admin` application, a user must have the permission `admin` applied to their account. The following user line will handle all necessary permissions: `<user username="tomcat" password="tomcat" roles="admin"/>`.
5+
To utilize the `admin` application, a user must have the permission `admin` applied to their account. The following user line will handle all necessary permissions:
6+
7+
```
8+
<user username="tomcat" password="tomcat" roles="admin"/>
9+
```
610

711
## Verification Steps
812

913
1. Install Tomcat 5.5 or older
1014
2. Install the admin app
1115
3. Start msfconsole
1216
4. Do: ```use auxiliary/admin/http/tomcat_administration```
13-
5. Do: ```set rhosts <ips>```
14-
6. Do: ```set tomcat_user <username>```
15-
7. Do: ```set tomcat_pass <username>```
16-
8. Do: ```set rport <port>```
17+
5. Do: ```set rhosts [ips]```
18+
6. Do: ```set tomcat_user [username]```
19+
7. Do: ```set tomcat_pass [username]```
20+
8. Do: ```set rport [port]```
1721
9. Do: ```run```
1822
10. Find all the Tomcat admin portals
1923

0 commit comments

Comments
 (0)