xfreed0m / katzkatz Goto Github PK
View Code? Open in Web Editor NEWPython3 script to parse txt files containing Mimikatz output
License: GNU General Public License v3.0
Python3 script to parse txt files containing Mimikatz output
License: GNU General Public License v3.0
Hi,
As mentioned in the other issue, request for supporting Pypykatz log formats.
Example:
== MSV ==
Username: administrator
Domain: testdomain
LM: NA
NT: ebacxxxxxxxxxxxxxxxxxxxxxxxxf7fb
SHA1: ba68xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5c7d
== MSV ==
Username: NA
Domain: NA
LM: NA
NT: ebacxxxxxxxxxxxxxxxxxxxxxxxxf7fb
SHA1: ba68xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5c7d
== WDIGEST [2055ef79]==
username administrator
domainname testdomain
password None
== SSP [2055ef79]==
username
domainname
password None
== Kerberos ==
Username: administrator
Domain: testdomain.local
Password: None
== WDIGEST [2055ef79]==
username administrator
domainname testdomain
password None
Regex should be something like these:
re.compile(r"\s*\s+Username:\s+((?!\(null\)).+)\s*(?!\$)", re.M)
re.compile(r"\s*\s+Password:\s+((?!\(null\)).+)\s*(?!\$)", re.M)
re.compile(r"\s*\s+Domain:\s+((?!\(null\)).+)\s*(?!\$)", re.M)
re.compile(r"\s*\s+NT:\s+((?!\(null\)).+)\s*(?!\$)", re.M)
root@kali:~/tools/KatzKatz# python katzkatz.py -f /root/loot/lsass.log
/$$ /$$ /$$ /$$ /$$ /$$
| $$ /$$/ | $$ | $$ /$$/ | $$
| $$ /$$/ /$$$$$$ /$$$$$$ /$$$$$$$$| $$ /$$/ /$$$$$$ /$$$$$$ /$$$$$$$$
| $$$$$/ |____ $$|_ $$_/ |____ /$$/| $$$$$/ |____ $$|_ $$_/ |____ /$$/
| $$ $$ /$$$$$$$ | $$ /$$$$/ | $$ $$ /$$$$$$$ | $$ /$$$$/
| $$\ $$ /$$__ $$ | $$ /$$ /$$__/ | $$\ $$ /$$__ $$ | $$ /$$ /$$__/
| $$ \ $$| $$$$$$$ | $$$$//$$$$$$$$| $$ \ $$| $$$$$$$ | $$$$//$$$$$$$$
|__/ \__/ \_______/ \___/ |________/|__/ \__/ \_______/ \___/ |________/
KatzKatz By @x_Freed0m
[10-03-2020 10:37] - [!]Exception: 'newline' is an invalid keyword argument for this function
No matching distribution found for python-magic-bin (from -r requirements.txt (line 3))
Kali 2020.1, default install, apt install python-pip.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.