**Aircrack for Windows**
I currently have a project for Windows that detects wireless networks and displays them in a listbox. It is a Visual Studio 2008 sp1 MFC-based native C++ app.
The listbox should update from time to time in case the user is moving or driving.
There needs to be additional code for the program so that it finds the encryption hash. Once it has the hash, the password can be cracked. For now, I just need a dummy method named CrackTheHash that simply returns a string "TEST". I will fill in that part myself.
bool CrackTheHash( const char *pszSourceHash, const char *pszDestPassword );
I would suggesting using aircrack-ng as a template. It is open source.
Since aircrack-ng uses WinPCap, most wireless cards are not supported. Right now I am using the native wireless API for the discovery. I am not sure if this will work for listening to the network traffic. The only alternative I can suggest is the MicroOlap sniffer library. I own an older copy but am willing to upgrade if necessary. I am open to suggestions. If the native API will work it is OK that some older versions of XP won't work.