Yeniliklər

CyberDark

Xoş gəlmisiniz.Bizə qatılmaq üçün qeydiyyatdan keçin.Qeydiyyatdan keçərkən doğru məlumatlar qeyd etməyi unutmayın əks halda hesabınız silinəcək

Pythonla WiFi Şifrəsi Qırma

İştirak
28 Avq 2023
İsmarıclar
19
Reaksiya xalı
20
Xallar
0
Bu Kodları Visual Studio Code Terminalında Başlataraq WiFi Şifrələrini Qıra Bilərsiniz

# importing subprocess
import subprocess

# getting meta data
meta_data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles'])

# decoding meta data
data = meta_data.decode('utf-8', errors ="backslashreplace")

# splitting data by line by line
data = data.split('\n')

# creating a list of profiles
profiles = []

# traverse the data
for i in data:

# find "All User Profile" in each item
if "All User Profile" in i :

# if found
# split the item
i = i.split(":")

# item at index 1 will be the wifi name
i = i[1]

# formatting the name
# first and last character is use less
i = i[1:-1]

# appending the wifi name in the list
profiles.append(i)


# printing heading
print("{:<30}| {:<}".format("Wi-Fi Name", "Password"))
print("----------------------------------------------")

# traversing the profiles
for i in profiles:

# try catch block begins
# try block
try:
# getting meta data with password using wifi name
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key = clear'])

# decoding and splitting data line by line
results = results.decode('utf-8', errors ="backslashreplace")
results = results.split('\n')

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

# if there is password it will print the pass word
try:
print("{:<30}| {:<}".format(i, results[0]))

# else it will print blank in front of pass word
except IndexError:
print("{:<30}| {:<}".format(i, ""))



# called when this process get failed
except subprocess.CalledProcessError:
print("Encoding Error Occurred")
2023121915593..gif

HOŞ İSTİFADELER -- ZSOCİENT
 
İştirak
9 Sen 2023
İsmarıclar
29
Reaksiya xalı
3
Xallar
0
*** Hidden text: cannot be quoted. ***
Bu Kodları Visual Studio Code Terminalında Başlataraq WiFi Şifrələrini Qıra Bilərsiniz


# importing subprocess
import subprocess

# getting meta data
meta_data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles'])

# decoding meta data
data = meta_data.decode('utf-8', errors ="backslashreplace")

# splitting data by line by line
data = data.split('\n')

# creating a list of profiles
profiles = []

# traverse the data
for i in data:

# find "All User Profile" in each item
if "All User Profile" in i :

# if found
# split the item
i = i.split(":")

# item at index 1 will be the wifi name
i = i[1]

# formatting the name
# first and last character is use less
i = i[1:-1]

# appending the wifi name in the list
profiles.append(i)


# printing heading
print("{:<30}| {:<}".format("Wi-Fi Name", "Password"))
print("----------------------------------------------")

# traversing the profiles
for i in profiles:

# try catch block begins
# try block
try:
# getting meta data with password using wifi name
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key = clear'])

# decoding and splitting data line by line
results = results.decode('utf-8', errors ="backslashreplace")
results = results.split('\n')

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

# if there is password it will print the pass word
try:
print("{:<30}| {:<}".format(i, results[0]))

# else it will print blank in front of pass word
except IndexError:
print("{:<30}| {:<}".format(i, ""))



# called when this process get failed
except subprocess.CalledProcessError:
print("Encoding Error Occurred")
Əlavə edilmiş fayla baxın 139

HOŞ İSTİFADELER -- ZSOCİENT
 
İştirak
17 Sen 2023
İsmarıclar
15
Reaksiya xalı
0
Xallar
0
*** Hidden text: cannot be quoted. ***
Bu Kodları Visual Studio Code Terminalında Başlataraq WiFi Şifrələrini Qıra Bilərsiniz


# importing subprocess
import subprocess

# getting meta data
meta_data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles'])

# decoding meta data
data = meta_data.decode('utf-8', errors ="backslashreplace")

# splitting data by line by line
data = data.split('\n')

# creating a list of profiles
profiles = []

# traverse the data
for i in data:

# find "All User Profile" in each item
if "All User Profile" in i :

# if found
# split the item
i = i.split(":")

# item at index 1 will be the wifi name
i = i[1]

# formatting the name
# first and last character is use less
i = i[1:-1]

# appending the wifi name in the list
profiles.append(i)


# printing heading
print("{:<30}| {:<}".format("Wi-Fi Name", "Password"))
print("----------------------------------------------")

# traversing the profiles
for i in profiles:

# try catch block begins
# try block
try:
# getting meta data with password using wifi name
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key = clear'])

# decoding and splitting data line by line
results = results.decode('utf-8', errors ="backslashreplace")
results = results.split('\n')

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

# if there is password it will print the pass word
try:
print("{:<30}| {:<}".format(i, results[0]))

# else it will print blank in front of pass word
except IndexError:
print("{:<30}| {:<}".format(i, ""))



# called when this process get failed
except subprocess.CalledProcessError:
print("Encoding Error Occurred")
Əlavə edilmiş fayla baxın 139

HOŞ İSTİFADELER -- ZSOCİENT
kod xeta verir
 
İştirak
22 Yanvar 2024
İsmarıclar
5
Reaksiya xalı
2
Xallar
0
*** Hidden text: cannot be quoted. ***
Bu Kodları Visual Studio Code Terminalında Başlataraq WiFi Şifrələrini Qıra Bilərsiniz


# importing subprocess
import subprocess

# getting meta data
meta_data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles'])

# decoding meta data
data = meta_data.decode('utf-8', errors ="backslashreplace")

# splitting data by line by line
data = data.split('\n')

# creating a list of profiles
profiles = []

# traverse the data
for i in data:

# find "All User Profile" in each item
if "All User Profile" in i :

# if found
# split the item
i = i.split(":")

# item at index 1 will be the wifi name
i = i[1]

# formatting the name
# first and last character is use less
i = i[1:-1]

# appending the wifi name in the list
profiles.append(i)


# printing heading
print("{:<30}| {:<}".format("Wi-Fi Name", "Password"))
print("----------------------------------------------")

# traversing the profiles
for i in profiles:

# try catch block begins
# try block
try:
# getting meta data with password using wifi name
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key = clear'])

# decoding and splitting data line by line
results = results.decode('utf-8', errors ="backslashreplace")
results = results.split('\n')

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

# if there is password it will print the pass word
try:
print("{:<30}| {:<}".format(i, results[0]))

# else it will print blank in front of pass word
except IndexError:
print("{:<30}| {:<}".format(i, ""))



# called when this process get failed
except subprocess.CalledProcessError:
print("Encoding Error Occurred")
Əlavə edilmiş fayla baxın 139

HOŞ İSTİFADELER -- ZSOCİENT
👍
 
İştirak
5 Fev 2024
İsmarıclar
36
Reaksiya xalı
141
Xallar
0
*** Hidden text: cannot be quoted. ***
Bu Kodları Visual Studio Code Terminalında Başlataraq WiFi Şifrələrini Qıra Bilərsiniz


# importing subprocess
import subprocess

# getting meta data
meta_data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles'])

# decoding meta data
data = meta_data.decode('utf-8', errors ="backslashreplace")

# splitting data by line by line
data = data.split('\n')

# creating a list of profiles
profiles = []

# traverse the data
for i in data:

# find "All User Profile" in each item
if "All User Profile" in i :

# if found
# split the item
i = i.split(":")

# item at index 1 will be the wifi name
i = i[1]

# formatting the name
# first and last character is use less
i = i[1:-1]

# appending the wifi name in the list
profiles.append(i)


# printing heading
print("{:<30}| {:<}".format("Wi-Fi Name", "Password"))
print("----------------------------------------------")

# traversing the profiles
for i in profiles:

# try catch block begins
# try block
try:
# getting meta data with password using wifi name
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key = clear'])

# decoding and splitting data line by line
results = results.decode('utf-8', errors ="backslashreplace")
results = results.split('\n')

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

# if there is password it will print the pass word
try:
print("{:<30}| {:<}".format(i, results[0]))

# else it will print blank in front of pass word
except IndexError:
print("{:<30}| {:<}".format(i, ""))



# called when this process get failed
except subprocess.CalledProcessError:
print("Encoding Error Occurred")
Əlavə edilmiş fayla baxın 139

HOŞ İSTİFADELER -- ZSOCİENT
netsh show wlandiye bu.hecne qirmir
 
Göndərilən