English
Web appOpen in Telegram

Post# Get WiFi Passwords using Python 💻

7 August 2026
P
PythonNotes
# Get WiFi Passwords using Python 💻 Code 👇👇👇👇👇👇👇👇 import subprocess import re command_output = subprocess.run(["netsh", "wlan", "show", "profiles"], capture_output = True).stdout.decode() profile_names = (re.findall("All User Profile       : (.*)\r", command_output)) wifi_list = list() if len(profile_names) !=0:     for name in profile_names:         wifi_profile = dict()         profile_info = subprocess.run(["netsh", "wlan", "show", "profile", name], capture_output = True).stdout.decode()         if re.search("Security Key      : Absent", profile_info):             continue         else:             wifi_profile["ssid"] = name             profile_info_pass = subprocess.run(["netsh", "wlan", "show", "profile", name, "key=clear"], capture_output = True).stdout.decode()             password = re.search("Key Content       : (.*)\r", profile_info_pass)             if password == None:                 wifi_profile["password"] = None             else:                 wifi_profile["password"] = password[1]             wifi_list.append(wifi_profile) for x in range(len(wifi_list)):     print(wifi_list[x])
87 · 11K ·

Nearby in the feed

PPythonNotes🐍 Top Python projects to add in resume >>> Face detection - https://youtu.be/JZZr0PjZsIk?si=PXlfwEgFVRiPVkm5 Voice assistant (Jarvis) https://youtube.com/playli
this message
PPythonNotesPythonNotes@pythonnotes1 · channel · Tech
76 389subscribers200posts in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count