How to see wifi Password ? Using Python
See wifi Password
Code
import subprocess
a = subprocess.check_output(['netsh' ,
'wlan' , 'show' , 'profiles'])
.decode('utf-8').split('\n')
a = [i.split(":")[1][1:-1] for i in a if "All User profile" in i]
for i in a:
results = subprocess.check_output
(['netsh' , 'wlan' , 'show' ,' profile' ,
i , 'key=clear']).decode('utf-8').split('\n')
results = [b.spilt(":")[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, ""))
Output
Redmi hack@12
Iphone myname34
poco 0242783527
IOT Lab a365c458cd67
dell ownuse23
Comments