Gathering Wi-Fi passwords with Metasploit

Similar to the preceding module, we have the wlan_profile module, which collects all saved credentials for the Wi-Fi from the target system. We can use the module as follows:

We can see the name of the network in the <name> tag, and the password in the <keyMaterial> tag in the preceding screenshot.

Get Mastering Metasploit - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.