Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How can i create an ap know who tried to connect to it and used what password

What I have tried:

I have tried nothing i want a software to work with windows 10
Posted
Updated 6-Sep-19 4:20am
Comments
Patrice T 5-Sep-19 14:47pm    
Elaborate okease.
Dave Kreskowiak 5-Sep-19 16:20pm    
Incomplete question. There isn't sufficient detail in your question to properly answer it without making a bunch of assumptions.

An "app"? What kind of app? Website? WebAPI? Windows Forms? WPF? Windows Service?
MadMyche 5-Sep-19 18:07pm    
After reading OG's mention of this being tagged WiFi, I'm beginning to wonder if what we assumed to be "app" was meant as "A/P for Access Point

Each time someone tried to log in, you record the UserID, outcome (OK / Reject), and a timestamp (and maybe where the login attempt was from, if that is relevant) in a DB. You probably shouldn't store the password they used (or even the hash of teh password) for the same security reasons that you don't store passwords in plain text or encrypted!

Exactly how you determine "who did it" is pretty much impossible to answer: you mention "WiFi" as your tag, but that just at best gives you an IP address on a LAN segment, which is pretty much useless unless your WiFi router keeps logs of when any IP address was used and by what equipment - and most don't. IP addresses are "recycled" when they are disconnected, and there is absolutely no guarantee that the same device is using the same IP each time!

Then when you want to know who tried, you have the info at your fingertips.
 
Share this answer
 
Comments
MadMyche 5-Sep-19 18:07pm    
Possible "ap" means Access Point.
Under the assumption that you are referring to an Access Point (aka WiFi, wireless router), the answer to your question as a whole is generally going to be No.

You may be able to access the connection logs on the router itself and download those and parse them out; the method is going to vary on the firmware that is being used. If you are using DD-WRT a module could possibly be created to ease this for you.
But all this is really going to net you if anything is the devices themselves.

In an overly simplified generalization, the "password" is actually used as an encryption key; and authentication is based on the ability to decrypt the traffic that is generated during the authentication process.
The authentication processes being used do vary; WEP and WPA(x) work differently, so you may want to read the Wikipedia articles on them to see how the keys are used.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900