Find forget WiFi password using command prompt


Sometimes we forget the password after connecting to the WiFi because once after giving the password it never asks us again from next onwards it will connect automatically.. so how to know the password.. Similarly when we got access to the remote computer through meterpreter shell then if you want to have there preferred WiFi network list and its passwords, You can find by using these steps

1) Open command prompt as an Administrator


2) now type "netsh wlan show profiles" and press enter. Then you will see the list of WiFi user profiles. Select any one of the profile you want to see the password. 



3) Now type "netsh wlan show profiles name=<profilename>  key=clear" here profilename is the name of the selected WiFi which we found in the earlier command



NOTE: You will get the password only if you have admin privileges...