GETTING ALL WIFI PASSWORDS

 GETTING ALL WIFI PASSWORDS WITH A SIMPLE SCRIPT IN PYTHON ..

You don't have to install any packages .

The source code :

import subprocess

data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n')
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i]
for i in profiles:
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8').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, ""))
input("")


This will print all the Wi-fi names and their corresponding Wi-fis ..

Comments

Popular posts from this blog

Testing insecure web server configurations ...

MOUSELOGGER IN PYTHON ..🤑🤑