All cheatsheets
Cheatsheet · beginner
Operator shell hygiene
Small habits that keep engagements reproducible and less painful.
Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.
notes
linux
workflow
Session setup
Command
mkdir -p ~/eng/$(date +%F)_name/{notes,scans,screenshots,loot,report}Command
cd ~/eng/$(date +%F)_name && tmux new -s eng
Command
export TARGET=10.10.10.10 # use vars in commands
Logging
Command
script -a notes/typescript.log # optional full tty log
Command
nmap ... -oA scans/label
Command
history | tail -n 50 >> notes/commands.txt
Safety
Command
# Confirm IP in scope before paste
Command
# Prefer --exclude and scope files
Command
unset HISTFILE # only if policy requires; prefer honest logs in labs
Checklist
- Dated engagement folder exists
- Scope visible in notes header
- Outputs named and linked from notes