+ 1
Check wifi code
is there any way to get a saved WiFi password using python on Android?
5 Answers
+ 4
Execute script/command line instructions from your python program
for Ubuntu/Mint
$ cd /etc/NetworkManager/system-connections/
$ ls -a
$ sudo cat WIFI_SSID where WIFI_SSID is the name of one of the previously listed networks.
You may want to save the output of your commands/script in a file and have the python program use it as you deem necessary.
Way to access system connections via cmd/terminal exist also for windows and mac
same principles apply
+ 3
Good question, I thought this would be a question on how to get an unsaved WiFi password. I dony know the answer, but lets hope there will be
+ 1
seamiki-can u write exactly what u Input Into python
+ 1
@shauly k you have to use subprocess
Popen() to call external shell commands:
https://docs.python.org/3/library/subprocess.html#module-subprocess
print subprocess.Popen("cd /etc/NetworkManager/system-connections/ && ls -a ", shell=True, stdout=subprocess.PIPE).stdout.read()
Don't forget that you have to run your python program with root priviledges
0
Bro plz give me wifi hacking code