Telegram Group & Telegram Channel
چگونه با پایتون یوزر و پسوردهای سیو شده ی wifi مون را ببینیم؟!
import subprocess

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



tg-me.com/PyLab/541
Create:
Last Update:

چگونه با پایتون یوزر و پسوردهای سیو شده ی wifi مون را ببینیم؟!
import subprocess

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

BY Python_Labs🐍




Share with your friend now:
tg-me.com/PyLab/541

View MORE
Open in Telegram


Python_Labs Telegram | DID YOU KNOW?

Date: |

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

Python_Labs from id


Telegram Python_Labs🐍
FROM USA