Vulpi
2013-04-06, 05:20
There is a lot of outdated source code and documentation on the net, and it took me a few false starts to get this going. I think these were the commands which worked:
Requires lorcon2:
cd /usr/src
apt-get install libpcap0.8-dev libnl-dev
git clone https://code.google.com/p/lorcon
cd lorcon
./configure
make
make install
# install pylorcon
cd pylorcon2
python setup.py build
python setup.py install
# to make lorcon available to metasploit
cd ../ruby-lorcon/
ruby extconf.rb
make
make install
Intalling airdrop-ng:
cd /usr/src
git clone git://github.com/jalcine/aircrack-ng.git # I couldn't pull down just airdrop-ng branch - don't know why
cd /aircrack-ng/scripts/airdrop-ng
make install
airodump-ng-oui-update #(airdrop-ng -u)
When running airdrop, you may get this error:
oui.txt not found in /usr/local/lib/python2.7/dist-packages/airdrop/support
or ./support/
Please run python airdrop-ng -u
You need to find an airodump-ng-oui.txt, copy and rename it. This worked for me:
cp /etc/aircrack-ng/airodump-ng-oui.txt /usr/local/lib/python2.7/dist-packages/airdrop/support/oui.txt
NB: There could be a reason these tools are not packaged in the repo's!
Reference: http://blog.opensecurityresearch.com/2012/09/getting-started-with-lorcon.html (http://http://blog.opensecurityresearch.com/2012/09/getting-started-with-lorcon.html)
Requires lorcon2:
cd /usr/src
apt-get install libpcap0.8-dev libnl-dev
git clone https://code.google.com/p/lorcon
cd lorcon
./configure
make
make install
# install pylorcon
cd pylorcon2
python setup.py build
python setup.py install
# to make lorcon available to metasploit
cd ../ruby-lorcon/
ruby extconf.rb
make
make install
Intalling airdrop-ng:
cd /usr/src
git clone git://github.com/jalcine/aircrack-ng.git # I couldn't pull down just airdrop-ng branch - don't know why
cd /aircrack-ng/scripts/airdrop-ng
make install
airodump-ng-oui-update #(airdrop-ng -u)
When running airdrop, you may get this error:
oui.txt not found in /usr/local/lib/python2.7/dist-packages/airdrop/support
or ./support/
Please run python airdrop-ng -u
You need to find an airodump-ng-oui.txt, copy and rename it. This worked for me:
cp /etc/aircrack-ng/airodump-ng-oui.txt /usr/local/lib/python2.7/dist-packages/airdrop/support/oui.txt
NB: There could be a reason these tools are not packaged in the repo's!
Reference: http://blog.opensecurityresearch.com/2012/09/getting-started-with-lorcon.html (http://http://blog.opensecurityresearch.com/2012/09/getting-started-with-lorcon.html)