Releases: aancw/pentlog
Releases · aancw/pentlog
Release v0.10.0
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
searchcommand 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-onlymode (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
0600permissions on the local database file.
Backend & Robustness
- Archive Format: Changed default archive format from
tar.gztozipfor broader compatibility. - Refactoring: Major refactor of the core
shellrecording logic for better maintainability. - Auto-Migration: Built-in migration for legacy JSON session metadata.
Release v0.9.0
🚀 Enhancements
- Interactive Context Selection:
pentlog createnow 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.
- Added
- Smart Archive:
- Enhanced
pentlog archiveto automatically include generated reports and clean up the directory structure. - New: Prompts to reuse existing reports if found, saving regeneration time.
- Enhanced
- Progress Bars: Implemented progress bars for install.sh and the
updatecommand. - 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
archivecommand. - Shell Display: Fixed shell info to remove unnecessary
./prefix.
📦 Maintenance
- Refactored configuration logic and updated documentation.
Release v0.8.0
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.gzfiles 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
--deleteflag (or-D) or confirmYesin 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 -> PhaseCLI 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 --deleteListing Archives
View your archived data with:
pentlog archive listv0.7.0
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 switchnow 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
ttyplayvisuals 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
7b7261cdocs: update README and ROADMAP for Exam/Lab mode support4495f8bfeat: add Exam/Lab mode support with dynamic prompts and target switching1b1d391feat(search): add date range param and add timestamp log090e5efadd demo video5a36c79feat: update status and note preview parser40ea6e7change manual- to sessions- for file namedd955f3fix(shell): nested pentlog shell prevention5916474fix(shell): fix broken ttyplay visuals by enabling transient rpromptb80e54cfeat: update banner
v0.6.1
Full Changelog: v0.6.0...v0.6.1
v0.6.0
v0.5
What's Changed
- Update Feature AI by @roomkangali in #1
New Contributors
- @roomkangali made their first contribution in #1
Full Changelog: v0.4...v0.5
v0.4
Full Changelog: v0.3...v0.4
v0.3
Full Changelog: v0.2...v0.3
v0.2
Full Changelog: https://github.com/aancw/pentlog/commits/v0.2