Skip to content

Instantly share code, notes, and snippets.

xan7r

Block or report user

Report or block xan7r

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xan7r
xan7r / decryptKerbTicket.py
Last active Jun 10, 2019
Decrypt kerberos tickets and parse out authorization data
View decryptKerbTicket.py
#!/usr/bin/env python
# NOTE: this script was created for educational purposes to assist learning about kerberos tickets.
# Likely to have a few bugs that cause it to fail to decrypt some TGT or Service tickets.
#
# Recommended Instructions:
# Obtain valid kerberos tickets using Rubeus or mimikatz "sekurlsa::tickets /export"
# Optionally convert tickets to ccache format using kekeo "misc::convert ccache <ticketName.kirbi>"
# Obtain appropriate aes256 key using dcsync (krbtgt for TGT or usually target computer account for Service Ticket)
# Run this script to decrypt:
# ./decryptKerbTicket.py -k 5c7ee0b8f0ffeedbeefdeadbeeff1eefc7d313620feedbeefdeadbeefafd601e -t ./Administrator@TESTLAB.LOCAL_krbtgt~TESTLAB.LOCAL@TESTLAB.LOCAL.ccaches
@xan7r
xan7r / digitalOceanAPI.py
Created Oct 26, 2018
Script for basic management of Digital Ocean droplets and DNS records
View digitalOceanAPI.py
#!/usr/bin/python3
import digitalocean, time, datetime, sys, re, argparse
# NOTE: REQUIRES python-digitalocean
#
# examples:
# ./digitalOceanAPI.py --create-droplet "ubuntu 18.04"
# ./digitalOceanAPI.py --destroy-droplet <ubuntu18.04-20180723.185051>
# ./digitalOceanAPI.py --list-droplets
# ./digitalOceanAPI.py --list-images
# ./digitalOceanAPI.py --list-domains
You can’t perform that action at this time.