Repository navigation
Log_Extractor
New Release for Log Extractor....
π New Log Types Added:
8. πΎ Memory/Crash Dumps
- Memory addresses (0x...)
- Exception codes (EXCEPTION_ACCESS_VIOLATION, etc.)
- Stack frames (#0, #1, #2...)
- CPU registers (EAX, RBX, RIP, etc.)
- Modules/DLLs (.dll, .so, .dylib)
- Function names
- Keywords: exception, crash, segfault, violation, fault, corrupt
9. βοΈ Kernel/System Dumps (dmesg)
- Kernel timestamps [12345.678]
- Log levels <0> to <7>
- Device names (eth0, wlan0, sda, usb1-1)
- Memory addresses
- Process names in brackets
- Keywords: error, panic, oops, bug, failed
10. π JSON Log Format
- Complete JSON objects
- Timestamp fields
- Level/severity fields
- Message fields
- Keywords: error, exception, failed, warning
11. π³ Container/Docker Logs
- Container IDs (12 or 64 char hex)
- Container names
- Image names with tags
- Pod names
- Namespaces
- Keywords: error, failed, crash, restart, oom
12. π Security/Audit Logs
- Usernames
- UIDs (User IDs)
- Actions (login, logout, sudo, denied, granted)
- IP addresses
- Session IDs
- Keywords: denied, failed, unauthorized, breach, attack
π Enhanced Common Pattern Detection:
Now detects 25+ patterns including:
β
UUID/GUID - Improved detection priority
β
IPv4 & IPv6 addresses
β
Memory/Hex addresses (0x...)
β
MD5/SHA1/SHA256 hashes
β
API Keys & Tokens (20+ chars)
β
JWT Tokens (eyJ...)
β
ISO Timestamps (2024-01-15T10:30:00Z)
β
Unix Timestamps (1640000000)
β
Phone numbers (US format)
β
Base64 strings
β
Process IDs (pid=12345)
β
Version numbers (v1.2.3)
β
Transaction/Reference IDs (TXN123456)
β
Windows & Unix paths
β
URLs & Email addresses
β
MAC addresses
β
Credit cards (masked)
Example Use Cases:
# Analyze a crash dump
π Detected Type: πΎ Memory/Crash Dump
β¨ Found patterns:
1. Memory Address
2. Exception Code
3. Register Value
4. Module/DLL
5. UUID/GUID
6. Windows Path
# Analyze dmesg output
π Detected Type: βοΈ Kernel/System Dump
β¨ Found patterns:
1. Timestamp
2. Device Name
3. Memory Address
4. Process Name
# Analyze Docker logs
π Detected Type: π³ Container/Docker Log
β¨ Found patterns:
1. Container ID
2. Container Name
3. Image Name
4. UUID/GUIDNow the script intelligently handles memory dumps, UUIDs, and 12 different log types! π
Full Changelog: https://github.com/PrinceAikinsBaidoo/CTF_Programs/commits/v1