airpwn is a nice tool to play with, but sometimes hard to install.
First you have to get airpwn from here.
Then install the following things:
- libpcap
- libnet
- libpcre
- openssl
- python
- python-devel
Extract it to a wanted folder and then continue like this:
cd airpwn-1.4 tar xvfz lorcon-current.tgz cd lorcon ./configure make sudo make install cd .. ./configure make
And now I had my problems. It showed all the times those errors
/pentest/airpwn-1.4/airpwn.c:404: undefined reference to `PyString_FromStringAndSize'
After struggling around the problem I found the root.
Change in the “configure” file all python2.4 strings to python2.6. You can just copy everything from here which covers the changed names from line number 3741 to 3812.
./configure make sudo make install
airpwn was now installed into the /usr/local/sbin directory.
To get it working just by typing “airpwn”move it from /usr/local/sbin to /usr/sbin
sudo cp /usr/local/sbin/airpwn /usr/sbin
To get familiar with airpwn itself read the man page
Have Phun!




