Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ticketwatch

ticketwatch parses klist output into a live, auto-refreshing terminal table to track active Kerberos tickets, SPNs, and expiration times in real time.

screenshot

Features

  • Auto-refreshing loop for live cache monitoring
  • Color-coded countdown timers based on remaining lifespan:
    • Green: > 2 hours
    • Yellow: < 2 hours
    • Red: < 15 minutes
    • Critical (Flashing Red/White): < 2 minutes
    • Grey: Expired
  • Unique color highlighting for standard AD SPNs (krbtgt, ldap, cifs, mssql, http, etc.)
  • Multi-platform date parsing (MIT Kerberos, Heimdal, Windows)

Prerequisites

  • Python 3.8+
  • System klist utility available in PATH

Installation

git clone https://github.com/kipair/ticketwatch.git
cd ticketwatch
pip install -r requirements.txt

Usage

# Default refresh rate (1 second)
python3 ticketwatch.py

# Custom refresh rate (e.g., every 5 seconds)
python3 ticketwatch.py -r 5

Options

options:
  -h, --help            show this help message and exit
  -r REFRESH, --refresh REFRESH
                        Refresh rate in seconds (default: 1)

License

GPL v3

About

Live color-coded terminal table for monitoring Kerberos ticket caches and SPN expiration times.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages