Skip to content

Instantly share code, notes, and snippets.

@MorbosVermin
MorbosVermin / tomcat-info.py
Created August 1, 2014 20:30
Tomcat information script in Python. This will parse the server.xml, tomcat-users.xml, and output deployed applications.
#!/usr/bin/env python
'''
Parses a Tomcat configuration and will output various helpful
settings to aide in the review/assessment of the service.
Copyright (c)2014 Mike Duncan <[email protected]>.
'''
import os, sys
import xml.etree.ElementTree as et