A little tool to convert ccache tickets into kirbi (KRB-CRED) and vice versa based on impacket.
As input you must provide a ccache or kirbi file. The script will detect the format and convert it.
git clone https://github.com/Zer1t0/ticket_converter
cd ticket_converter
pip install -r requirements.txt
ticket_converter.py [-h] input_file output_file
positional arguments:
input_file
output_file
optional arguments:
-h, --help show this help message and exit
python3 ticket_converter.py johnDomainAdmin.kirbi johnDomainAdmin.ccache
Converting kirbi => ccache
python3 ticket_converter.py johnDomainAdmin.ccache johnDomainAdmin.kirbi
Converting ccache => kirbi
Fixing the error message ImportError: cannot import name 'KeyBlock' from 'impacket.krb5.ccache'
.
Open ticket_converter.py
in a text editor and find+replace KeyBlock
with KeyBlockV4
.