> For the complete documentation index, see [llms.txt](https://cheats.philkeeble.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cheats.philkeeble.com/web-app/untitled.md).

# Tomcat

## WAR File

```
# Try admin panel at:
/manager/html 

# May need to brute basic auth try basic combos:
tomcat:s3cret
tomcat:tomcat
admin:admin
admin:s3cret

# Can upload war file at the panel



# Can automate attack with msf:
use exploit/multi/http/tomcat_mgr_upload
```

## Config Files

```
# Passwords
/var/lib/tomcat8/tomcat-users.xml
```

<https://book.hacktricks.xyz/pentesting/pentesting-web/tomcat>
