Chat freely about anything...

User avatar
By vallabh rao
#49419 Ok, i am working on a project in which, i need to know with what password are my devices trying to getting connected to my esp-01. Is it possible? well, I know there can be only one password, obviously! but i want to know whatever password the devices are trying to connect with, even if its a wrong password. could you give me the code for it, or links to some libraries to do so?

Thanks in advance :)
User avatar
By Cicero
#49466 Not sure whether there's access to that information actually on the ESP, I haven't seen anything in the SDK API. But I'm following just in case there is.
User avatar
By lotus49
#49504 I'm curious to know why you want to see the passwords.

The only reason I can think of for doing that is to steal people's wifi passwords and illegally access closed wireless networks. I'm sure you aren't trying to do anything like that so why do you need the passwords?
User avatar
By lethe
#49506 The WPA passphrase is never transmitted during authentication, exactly for the reason lotus49 stated, so there's no way of knowing which passphrase the client used.
It would be pretty stupid if an AP could retrieve the passprase since anyone can spoof a SSID and also de-auth a client, so it would take you about 2 seconds to retrieve the passphrase of any network as long as there's at least one client connected.
See https://en.wikipedia.org/wiki/IEEE_802. ... _handshake