Skip to content

Releases

Log_Extractor

Choose a tag to compare

@PrinceAikinsBaidoo PrinceAikinsBaidoo released this 19 Jan 23:53
4591e7a

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/GUID

Now the script intelligently handles memory dumps, UUIDs, and 12 different log types! 🚀

Full Changelog: https://github.com/PrinceAikinsBaidoo/CTF_Programs/commits/v1

Log_Extractor v1.0.2

Choose a tag to compare

@PrinceAikinsBaidoo PrinceAikinsBaidoo released this 19 Jan 23:58
4591e7a

New Session Memory Features:

1. File Stays Loaded

  • After analyzing a file once, it stays in memory
  • No need to re-enter the path or re-read the file
  • Instant access for multiple analyses

2. Smart Menu System

When a file is loaded, you see:

📂 CURRENT FILE:
   /path/to/your/logfile.log
   Size: 2.5 MB
   Type: web_access

------------------------------------------------------------
OPTIONS:
  1. Analyze current file (new extraction)
  2. Load a different file
  3. Exit
------------------------------------------------------------

3. After Each Analysis

NEXT STEPS:
  1. Perform another analysis on current file  ← Default!
  2. Load a different file
  3. Exit

📋 Workflow Examples:

Example 1: Multiple Analyses on Same File

1. Load server.log (once)
2. Extract IP addresses → save results
3. Press 1 (analyze current file again)
4. Extract error messages → save results
5. Press 1 (analyze current file again)
6. Extract timestamps → save results
7. Press 3 (exit)

Example 2: Switch Between Files

1. Load firewall.log
2. Extract blocked IPs
3. Press 2 (load different file)
4. Load access.log
5. Extract 404 errors
6. Press 2 (load different file)
7. Back to firewall.log

✨ Benefits:

✅ Faster workflow - No re-typing file paths
✅ No re-reading - File content stays in memory
✅ No re-analysis - Log type detection cached
✅ Multiple extractions - Try different patterns quickly
✅ File switching - Easy to compare different logs
✅ Default action - Just press Enter to analyze again

Session Memory Stores:

  • 📁 Current file path
  • 💾 File content (in memory)
  • 🔍 Log type detection results
  • 📊 Suggested patterns

Now you can perform 10 different extractions on the same file without ever re-entering the path! 🚀

Full Changelog: https://github.com/PrinceAikinsBaidoo/CTF_Programs/commits/v1-0-2