2006-10-17 05:26:49 +00:00
|
|
|
This is an experimental interface for lorcon, a 802.11 library
|
|
|
|
developed by Joshua Wright and dragorn. This interface is only
|
|
|
|
available on Linux and with lorcon-supported wireless drivers.
|
|
|
|
|
|
|
|
For more information, please see the lorcon documentation and code:
|
|
|
|
http://www.802.11mercenary.net/lorcon/
|
2006-11-06 00:26:35 +00:00
|
|
|
|
2008-06-29 21:37:10 +00:00
|
|
|
To build this extension:
|
|
|
|
|
|
|
|
1) Download, compile, and install lorcon
|
2006-12-10 08:21:15 +00:00
|
|
|
The latest version of lorcon can pulled from SVN:
|
2008-06-29 21:37:10 +00:00
|
|
|
$ svn co https://802.11ninja.net/svn/lorcon/trunk/ lorcon
|
|
|
|
$ cd lorcon
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
$ sudo make install
|
|
|
|
-- or --
|
|
|
|
$ su
|
|
|
|
# make install
|
|
|
|
# exit
|
|
|
|
$ cd ..
|
2006-12-10 08:21:15 +00:00
|
|
|
|
2008-06-29 21:37:10 +00:00
|
|
|
2) build the ruby extension..
|
2006-11-06 00:26:35 +00:00
|
|
|
$ ruby extconf.rb
|
|
|
|
$ make
|
2008-06-29 21:37:10 +00:00
|
|
|
$ sudo make install
|
|
|
|
-- or --
|
2006-11-10 04:18:14 +00:00
|
|
|
$ su
|
|
|
|
# make install
|
2008-06-29 21:37:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
NOTES:
|
|
|
|
|
|
|
|
if Ubuntu 8.04 (and probably others) bitches about 'mkmf',
|
|
|
|
you need ruby dev package.
|
|
|
|
|
|
|
|
:~/metasploit/external/ruby-lorcon$ ruby extconf.rb
|
|
|
|
extconf.rb:2:in `require': no such file to load -- mkmf (LoadError)
|
|
|
|
from extconf.rb:2
|
|
|
|
|
|
|
|
:~/metasploit/external/ruby-lorcon$ sudo apt-get install ruby1.8-dev
|