metasploit-framework/external/ruby-lorcon2
HD Moore e9d6309143 Fix 1.9.2 compatibility issues and C99 warnings 2012-03-22 19:09:16 -05:00
..
Lorcon2.c Fix 1.9.2 compatibility issues and C99 warnings 2012-03-22 19:09:16 -05:00
Lorcon2.h Mostly working codebase, still hanging on some instances, depends on latest svn of lorcon2. See #427 2009-10-27 20:13:20 +00:00
README Adds ruby-lorcon2 to the tree, (from lorcon2 trunk). Still some bugs to go, see #378 2009-10-22 15:46:01 +00:00
extconf.rb See #412. Fix compile warnings and errors on 1.9, still needs testing 2009-10-26 21:09:40 +00:00
test.rb Fixes #427. Finally found a solution that works for 1.8 and 1.9, this allows lorcon modules to run in the background or foreground and handle interrupts from the console gracefully. Its still a hack 2009-10-28 00:19:17 +00:00
upstream.svn Adds ruby-lorcon2 to the tree, (from lorcon2 trunk). Still some bugs to go, see #378 2009-10-22 15:46:01 +00:00

README

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/

To build this extension:

1) Download, compile, and install lorcon
The latest version of lorcon can pulled from SVN:
$ svn co https://802.11ninja.net/svn/lorcon/trunk/ lorcon
$ cd lorcon
$ ./configure
$ make
  $ sudo make install
   -- or --
  $ su 
  # make install
  # exit
$ cd ..

2) build the ruby extension.. 
$ ruby extconf.rb
$ make
$ sudo make install 
   -- or --
$ su
# make install


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