Skip to content

Releases: aancw/pentlog

Release v0.10.0

16 Jan 19:33
84e01a9

Choose a tag to compare

This release focuses on massive performance improvements, UX enhancements, and security hardening.

🚀 Features

Performance & Scalability

  • SQLite Backend: Migrated from flat files to a local SQLite database, offering O(1) performance for session lookups.
  • Pagination: Implemented efficient pagination for both session listings (pentlog sessions) and search results, handling large datasets with ease.

User Experience

  • Search Dashboard: The search command now features an interactive "Infinite Scroll" UI with a dashboard-style, box-delimited details view.
  • Visual Alignment: Fixed unicode alignment issues (for shells like Kali) using go-runewidth.
  • Log Only Mode: New create --log-only mode (or interactive selection) for quick recording without strict engagement metadata.

Security

  • Archive Encryption: Added support for AES-256 encrypted zip archives via --password.
  • Hardening: Enforced strict 0600 permissions on the local database file.

Backend & Robustness

  • Archive Format: Changed default archive format from tar.gz to zip for broader compatibility.
  • Refactoring: Major refactor of the core shell recording logic for better maintainability.
  • Auto-Migration: Built-in migration for legacy JSON session metadata.

Release v0.9.0

14 Jan 16:43
8603cda

Choose a tag to compare

🚀 Enhancements

  • Interactive Context Selection: pentlog create now features a user-friendly dropdown for selecting the context type (Client vs Exam/Lab).
  • Improved Switch Workflow:
    • Added pentlog switch - to quickly toggle to the previous session.
    • Added history selection to the interactive switch menu.
  • Smart Archive:
    • Enhanced pentlog archive to automatically include generated reports and clean up the directory structure.
    • New: Prompts to reuse existing reports if found, saving regeneration time.
  • Progress Bars: Implemented progress bars for install.sh and the update command.
  • Interactive Changelog: The updater now displays the changelog interactively.
  • Export Workflow: Added a prompt to open the exported file immediately.
  • Unified Configuration: Standardized AI configuration to ai.yaml.

🐛 Bug Fixes

  • ANSI Stripping: Fixed an issue where Markdown reports retained ANSI control codes.
  • Duplicate Command: Removed redundant registration of the archive command.
  • Shell Display: Fixed shell info to remove unnecessary ./ prefix.

📦 Maintenance

  • Refactored configuration logic and updated documentation.

Release v0.8.0

12 Jan 06:14
1925e58

Choose a tag to compare

We are excited to introduce the new Archive command to help you manage disk usage and keep your logs organized!

📦 New Feature: Session Archiving

The pentlog archive command allows you to compress and move old sessions to a dedicated archive directory (~/.pentlog/archive).

Key Capabilities

  • Compression: Sessions are bundled into .tar.gz files to save space (roughly 10-20x reduction for text logs).
  • Granular Control: Archive by Client, Engagement, or Phase.
  • Safety First: By default, the archive command Copies files (Backup Mode). Original files are only deleted if you explicitly pass the --delete flag (or -D) or confirm Yes in the interactive prompt.
  • Interactive & CLI: Fully supported through both an interactive wizard and command-line flags for scripting.

Usage Examples

Interactive Mode:

pentlog archive
# Follow the wizard to select Client -> Engagement -> Phase

CLI Automation:

# Archive all sessions for client 'ExampleCorp'
pentlog archive ExampleCorp

# Archive only 'Recon' phase logs for 'ExampleCorp'
pentlog archive ExampleCorp -p recon

# Archive 'Internal' engagement logs older than 30 days and DELETE originals
pentlog archive ExampleCorp -e Internal -d 30 --delete

Listing Archives

View your archived data with:

pentlog archive list

v0.7.0

11 Jan 14:17
ef4cf52

Choose a tag to compare

Release Notes v0.7.0

Important Updates

  • Flexible Context Modes (Client vs. Exam/Lab)
    • Client Mode: Traditional workflow for professional engagements.
    • Exam/Lab Mode: New streamlined workflow for CTFs/Exams (OSCP, HTB), tracking "Exam Name" and "Target IP".
  • Fast Target Switching: pentlog switch now enables rapid target changes in Exam mode without re-running initialization.

Enhancements

  • Enhanced Search: Added date range filtering and improved timestamp logging in search results.
  • Improved UI/UX:
    • Better banner and setup/install visuals.
    • Nested shell prevention.
    • Fixed ttyplay visuals by enabling transient rprompt in zsh.
  • Documentation: Added demo video and updated README/ROADMAP for new workflows.

Fixes & Chores 🛠️

  • Fixed broken ttyplay visuals.
  • Updated dependencies (actions/setup-go, actions/checkout).
  • Standardized session filenames (manual- -> sessions-).

Full Changelog

  • 7b7261c docs: update README and ROADMAP for Exam/Lab mode support
  • 4495f8b feat: add Exam/Lab mode support with dynamic prompts and target switching
  • 1b1d391 feat(search): add date range param and add timestamp log
  • 090e5ef add demo video
  • 5a36c79 feat: update status and note preview parser
  • 40ea6e7 change manual- to sessions- for file name
  • dd955f3 fix(shell): nested pentlog shell prevention
  • 5916474 fix(shell): fix broken ttyplay visuals by enabling transient rprompt
  • b80e54c feat: update banner

v0.6.1

07 Jan 15:37
5a36c79

Choose a tag to compare

Full Changelog: v0.6.0...v0.6.1

v0.6.0

06 Jan 17:01
2784f82

Choose a tag to compare

What's Changed

  • Feature/ttyrec migration by @aancw in #6

Full Changelog: v0.5...v0.6.0

v0.5

03 Jan 17:08
d1f958f

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4...v0.5

v0.4

02 Jan 19:58
c0a60e7

Choose a tag to compare

Full Changelog: v0.3...v0.4

v0.3

02 Jan 19:48
714192e

Choose a tag to compare

Full Changelog: v0.2...v0.3

v0.2

02 Jan 19:42
68b4562

Choose a tag to compare