Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WiFi Password: how is it stored and where?

Tags:

android

wifi

Anyone knows how and where the WiFi passwords are stored on the android devices. I'm not looking into cracking it, but into saving and restoring whatever "container" holds it. any android API framework support to save wifi password and then retrieve the wifi password?

like image 297
conanlive Avatar asked Sep 16 '11 03:09

conanlive


1 Answers

It varies from device to device: it is stored in the wpa_supplication.conf configuration file, but that can be customized from distribution to distribution. See for a couple of possible locations, but you will need to dig around your device for it.

There is no API support for reading/writing Wifi passwords for APKs not signed with the system key, so no: you won't be able to retrieve it.

like image 118
Femi Avatar answered Sep 18 '22 22:09

Femi