ShellOpsLog is a versatile tool designed to capture and log all executed commands during various operations, such as red and purple team engagements.
It provides a lightweight solution for tracking command history without recording their output. The logged commands are saved in a CSV file, making it easy to analyze and include in client deliverables or internal reviews.
ShellOpsLog offers two primary implementations:
PROMPT_COMMAND in Bash or preexec in Zsh to log commands in Unix-based shells.source /path/to/ShellOpsLog.sh to your shell startup file (e.g., ~/.bashrc or ~/.zshrc).start_operation_log ~/Projects/MyClient.stop_operation_log.New-Item -ItemType File -Path $PROFILE -Force.Start-OperationLog "C:\Projects\MyClient".Stop-OperationLog.While CMD support is available, it currently has limitations and is slated for updates in the future.
ShellOpsLog provides a simple yet effective way to track command history across different shell environments, making it a valuable tool for maintaining a clear record of activities during various operational engagements.
In the rapidly expanding Internet of Things (IoT) ecosystem, billions of devices are constantly exchanging…
Have you ever come across a picture on the internet and wondered where it came…
Overview WhatsMyName is a free, community-driven OSINT tool designed to identify where a username exists…
Managing disk usage is a crucial task for Linux users and administrators alike. Understanding which…
Efficient disk space management is vital in Linux, especially for system administrators who manage servers…
Knowing how to check directory sizes in Linux is essential for managing disk space and…