Nandha's Channel [ தமிழன் பாட்கள் ] ("⁧;⁧(⁧"⁧
1.53K subscribers
180 photos
125 videos
40 files
296 links
🗣️ Discussion Group - @NandhaSupport
📢 Network Channel - @NandhaNetwork
🛒 Market Shop - @NandhaMarket

Owner: @Nandha

ℹ️ GitHub Account:
https://github.com/nandhaxd

ℹ️ GitHub Organization: https://github.com/Nandhabots
Download Telegram
import subprocess

# Getting a list of all Wi-Fi profiles stored on the computer
data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n')

# Filtering the data to extract only the profile names
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i]

# Printing the header for the output table
print("\n{:<30}| {:<}".format("Wi-Fi Name", "Password"))
print("-" * 50)

for i in profiles:
# Running the command to get details for each specific profile, including the password (key=clear)
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8').split('\n')

# Extracting the password from the "Key Content" field
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]

try:
# Printing the Wi-Fi name and the found password
print("{:<30}| {:<}".format(i, results[0]))
except IndexError:
# If no password is found (e.g., an open network), print blank
print("{:<30}| {:<}".format(i, ""))
🔥 Just wherever you see unjustice in tamilnadu,

post in
t.me/tamilnadusupport