Skip navigation.

Syndicate

Syndicate content

User login

aircrack-ng

WPA Cracking with rt73, aircrack-ng, and Ubuntu Gutsy

There’s been a dearth of tech posts around here lately, but that’s about to change.

I’ve previously mentioned the Alfa AWUS036S USB WLAN adapter that I got a while back for OpenBSD wardriving. It’s been reliable for that purpose, but lately I’ve been interested in using it with aircrack-ng to crack WPA pre-shared keys.

Building aircrack-ng on OpenBSD 4.1 i386

This is a post to remind myself how to build aircrack-ng on OpenBSD, since I always seem to forget.

The standard OpenBSD make tool doesn’t support $(shell ...) commands, thus the REVISION variable gets set to an empty string instead of 0. As a result, all the code that references the _REVISION macro doesn’t compile right. The failure looks like this:

# make
gcc -O2 -pipe  -D_FILE_OFFSET_BITS=64 -D_REVISION= src/aircrack-ng.c src/crypto.c src/sha1-mmx.S src/common.c src/aircrack-ptw-lib.c -o aircrack-ng -lpthread
Syndicate content