Kali/Linux auto-logging of all terminal sessions using script(1), with optional tmux, logrotate, and rclone sync.
Project description
kautolog
Auto-log everything you see in every terminal tab on Kali/Linux using script(1). Captures prompt, commands, output, ANSI colors, and ncurses apps with optional timing/replay, tmux per-pane logs, logrotate, and rclone cloud sync.
Install
Recommended:
pipx install kautolog
kautolog install
With extras:
kautolog install --with-tmux --with-sync remote:terminal-logs --interval 10
This will:
- Hook into both
~/.bashrcand~/.zshrcfor Zsh and Bash auto-logging. - Install kautolog-replay script into
~/.local/bin.
Replaying logs
To replay a session with timing:
kautolog replay ~/terminal-logs/2025/08/10/kali-33608-203123
To instantly dump the log without delay:
kautolog replay -i ~/terminal-logs/2025/08/10/kali-33608-203123
Uninstall
kautolog uninstall
Removes all shell hooks and scripts cleanly.
If you installed using pipx:
pipx uninstall kautolog
Log Format
Logs are saved to:
~/terminal-logs/YYYY/MM/DD/hostname-PID-TIMESTAMP.log
~/terminal-logs/YYYY/MM/DD/hostname-PID-TIMESTAMP.timing
If --with-tmux is used, each tmux pane logs independently.
License
The scripts and documentation in this project are released under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kautolog-1.1.8.tar.gz.
File metadata
- Download URL: kautolog-1.1.8.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11e4217c5477e2b7422de444d2392c601fcc2403986342bf3df4a9af8ebde538
|
|
| MD5 |
a677ebb15a8c298dc30288a52ce023b3
|
|
| BLAKE2b-256 |
7c9b0e1e2e9a0dcbbee723e956004d53f71909147caae6806ddd8bad4f0de58b
|
Provenance
The following attestation bundles were made for kautolog-1.1.8.tar.gz:
Publisher:
publish.yml on marksowell/kautolog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kautolog-1.1.8.tar.gz -
Subject digest:
11e4217c5477e2b7422de444d2392c601fcc2403986342bf3df4a9af8ebde538 - Sigstore transparency entry: 402806258
- Sigstore integration time:
-
Permalink:
marksowell/kautolog@866d40e4d75165f3dfb4a1bdae5d03fa56eafa49 -
Branch / Tag:
refs/tags/v1.1.8 - Owner: https://github.com/marksowell
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@866d40e4d75165f3dfb4a1bdae5d03fa56eafa49 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kautolog-1.1.8-py3-none-any.whl.
File metadata
- Download URL: kautolog-1.1.8-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94a8142b26195ee4ac566fccb6765ff9c95e662bd92d132c65a683dad3f0cdeb
|
|
| MD5 |
91fabd50d13042101494b7fef775afe4
|
|
| BLAKE2b-256 |
1e9fc9a2a0f4f1a2f7e4e872ff7867ed95c67c8de7e283381723db04936fb5cb
|
Provenance
The following attestation bundles were made for kautolog-1.1.8-py3-none-any.whl:
Publisher:
publish.yml on marksowell/kautolog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kautolog-1.1.8-py3-none-any.whl -
Subject digest:
94a8142b26195ee4ac566fccb6765ff9c95e662bd92d132c65a683dad3f0cdeb - Sigstore transparency entry: 402806267
- Sigstore integration time:
-
Permalink:
marksowell/kautolog@866d40e4d75165f3dfb4a1bdae5d03fa56eafa49 -
Branch / Tag:
refs/tags/v1.1.8 - Owner: https://github.com/marksowell
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@866d40e4d75165f3dfb4a1bdae5d03fa56eafa49 -
Trigger Event:
push
-
Statement type: