Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
# 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") HOŞ İSTİFADELER -- ZSOCİENT
# 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") View attachment 139 HOŞ İSTİFADELER -- ZSOCİENT
# 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") View attachment 139 HOŞ İSTİFADELER -- ZSOCİENT
# 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") View attachment 139 HOŞ İSTİFADELER -- ZSOCİENT
# 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") View attachment 139 HOŞ İSTİFADELER -- ZSOCİENT
# 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") View attachment 139 HOŞ İSTİFADELER -- ZSOCİENT