← Back to search

Check Bash History

privesclinuxchecklist

Summary

History files frequently contain plaintext passwords typed by mistake.

Walkthrough

Read users' bash history for commands that leak credentials.

Commands

bash

cat /home/*/.bash_history 2>/dev/null