Comments (4)
I do not see the reason why you want to parse the "logfiles" (assuming you mean the default text output), can you clarify?
I have added --json
and --grep
output options specifically for parsing the output programmatically. Is there a problem parsing those?
from pypykatz.
Edit: I didn't know about the --grep flag (It doesn't show up in -h either?) but this is nice! Thanks for the pointer.
TL;DR: Pypykatz output is a different syntax as Mimikatz (For instance NT: for pypykatz; * NTLM: for mimikatz) and therefor my regex fails for extracting needed parts (username, password, domain, NTLM hash).
I dug a little deeper and found it wasn't (only) because of the missing CRLF lines, but the output created by Pypykatz is different from Mimikatz.
Reason I do this is to automate the process as much as possible, by dropping a lsass memory dumpfile a cronjob will run which executes pypykatz (lsa minidump $inputfile -o $outfile).
After this a second part will execute, the parser, which extracts usernames with cleartext credentials in one file, and usernames with NTLM hashes in a second file. The cleartext credentials will be put in the dictionary file. The second file will be fed to Hashcat to be cracked.
from pypykatz.
The grep flag does show up in the help. pypykatz lsa -h
The normal text output was not meant for automatic parsing, JSON output is the one that has all the information in a structured manner -except for the kerberos tickets-, please use that.
pypykatz's output was never intended to mimic minikatz's output.
from pypykatz.
Thanks for your patience and explanations! Appreciate your time and effort!
from pypykatz.
Related Issues (20)
- AttributeError: 'collections.OrderedDict' object has no attribute 'kirbiobj' HOT 2
- LIVE DPAPI wiki mentions "chrome" but it isn't documented HOT 1
- LM Hash not being picked up. HOT 1
- pypykatz lsa minidump lsass.DMP (Exception: All detection methods failed) HOT 3
- The parsing password is hex, how should I use it?
- How to package it into exe? HOT 1
- Errors when 'pypykatz live lsa'
- Is it possible to get account password? HOT 3
- Kali Linux error LibraryNotFoundError: Error detecting the version of libcrypto HOT 10
- Exception: Could not find module! lsasrv.dll HOT 2
- load_rsa_private_numbers() missing 1 required positional argument: 'unsafe_skip_rsa_key_validation' HOT 1
- Win11: Incorrect minidump parse for DPAPI masterkeys
- kerberos brute: 'generator' object is not subscriptable HOT 3
- Exception: Could not find module! lsasrv.dll HOT 2
- Windows7 lsass.DMP under Pypykatz 069 HOT 1
- utf-8 nanodump + pypykatz HOT 2
- No module named 'winacl.dtyp.wcee.cryptoapikey' HOT 1
- LSA signature not found HOT 4
- how to use masterkey to Decrypting files
- Error C2065: 'FFI_STDCALL': undeclared identifier HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypykatz.