Stealing passwords
In this section, we will see how we can steal Wi-Fi passwords stored on the victim PC. Note that we have already discussed how to execute commands on a Windows machine using our hacker program. We can take advantage of this program to retrieve Wi-Fi passwords. Note that you may not have a Wi-Fi driver installed on your virtual OS. I have this driver installed. If you want, you can use your host PC for this purpose.
In order to access the stored access points on the victim machine, you need to run the following command:
netsh wlan show profiles
If you run this command in your Command Prompt, you will see all the access points you have connected with your PC. But we want to access the passwords, not the access points. Here is the screenshot for my PC:
In order to get the passwords, you have to write the name of the access point and give an additional parameter, key=clear
, to the command...