How to find WiFi Password?

Save this code with "wifi.py" name then run this you will see all the list of wifi password.



import subprocess
data = subprocess.check_output(['netsh', 'wlan','show', 'profiles']).decode('utf-8', errors="backslashreplace").split('\n')
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i]
for i in profiles:
   try:
       results = subprocess.check_output(['netsh','wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8', errors="backslashreplace").split("\n")
       results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
       try:
         print ("{:<30}| {:<}".format(i, results[0]))
       except IndexError:
         print ("{:<30}| {:<}".format(i, ""))
   except subprocess.CalledProcessError:
         print ("(:<30}| {:<}".format(i, "ENCODING ERROR"))
input("")



also you can download "wifi.py" file from this link 


Comments

  1. impressive, but i want to know where we have to run this code

    ReplyDelete
    Replies
    1. this is simple python code. you can run this code from IDLE or command prompt.

      Delete

Post a Comment

Popular posts from this blog

How to hack Facebook & Instagram accounts with Hidden Eye.