How To Find And Store WIFI Password | subprocess API | All In One Code

Опубликовано: 23 Октябрь 2020
на канале: AIOC all in one code
649
19

pip install subprocess

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:
running the 2nd cmd command to check passwords
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i,
'key=clear']).decode('utf-8').split('\n')
storing passwords after converting them to list
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
printing the profiles(wifi name) with their passwords using
try and except method
try:
print ("{:30}| {:}".format(i, results[0]))
except IndexError:
print ("{:30}| {:}".format(i, ""))


Смотрите видео How To Find And Store WIFI Password | subprocess API | All In One Code онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал AIOC all in one code 23 Октябрь 2020. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 649 раз и оно понравилось 19 посетителям.