Although it doesn't have modules that directly exploit wireless vulnerabilities, Metasploit is one of the best tools to use when performing wireless penetration testing. Take for example the post-exploitation wireless modules, which can be used, among other things, to extract saved wireless LAN profiles and get the passphrases.
Metasploit and wireless
How to do it...
- We will start by using the Windows Gather Wireless Current Connection Info post-exploitation module to gather information about the current connection on each wireless LAN interface, on the target machine:
![](https://static.packt-cdn.com/products/9781788623179/graphics/assets/dacbf727-bd24-4e5b-8b0b-ded2eb52756b.png)
- Next, we can use the Windows Gather Wireless BSS Info post-exploitation module to gather information about the wireless basic service sets...