githubEdit

Plaintext password credentials (Password reuse)

When we land on a machine, we might look for easy wins like hard-coded credentials or default credentials.

1) Enumerate users on the machine

Linux

cat /etc/password

Windows

dir C:\Users\

2) Files that might contain credentials

WordPress installation

wp-config.php

phpmyadmin installation

/etc/phpmyadmin/config-db.php

MySQL history file

/home/user/.mysql_history

Viminfo file

/home/user/.viminfo

Last updated