[framework] ruby lorcon stopped working with madwifi

Robin Wood dninja at gmail.com
Sat Feb 23 18:04:04 CST 2008


On 23/02/2008, johnny cache <johnycsh at gmail.com> wrote:
> I think I've seen this before when I've upgraded drivers/lorcon/msf
>  but forget to rebuild the ruby-lorcon bridge in external/ruby-locon.
>  Try rebuilding and see if you get the same results.

I did a clean build and install from the the external/ruby-lorcon directory.

>From a  quick test, I've just realised that the rtl8187 isn't working,
it just isn't reporting any errors when I run the script. A script
doing the same thing (deauth attack) written in python is definitely
working through madwifi and lorcon.

Just a thought, I've got lorcon installed in /usr/lib rather than
/usr/local/lib. There were no complaints when I did the build but
could this affect it?

Robin

>  -jc
>
>
>
>  On Sat, Feb 23, 2008 at 6:24 PM, Robin Wood <dninja at gmail.com> wrote:
>  > Hi
>  >  I have a ruby based app which used to work fine with the ruby lorcon
>  >  wrappers but I just did an upgrade to msf 3.1, madwifi 0.9.4 and the
>  >  latest lorcon from svn and now I get the following error:
>  >
>  >  file.rb:1:in `write': Lorcon could not transmit packet:  (RuntimeError)
>  >
>  >  I tried the test.rb that comes with the wrapper and initially had to
>  >  remove the last parameter (,1) from line 29  but then got the same
>  >  error.
>  >
>  >  I'm guessing that this means that there has been some interface change
>  >  in either lorcon or madwifi that msf hasn't caught up on yet. Does
>  >  anyone have a patch/fix?
>  >
>  >  The script works fine with an rtl8187 card, it is just madwifi where it fails.
>  >
>  >  Robin
>
> >  _______________________________________________
>  >  http://spool.metasploit.com/mailman/listinfo/framework
>  >
>


More information about the Framework mailing list