Jump to content

Lorcon Error Metasploit Backtrack 5 R2


SystemCrash86
 Share

Recommended Posts

Could you provide those errors for us, we can't really tell what the problem is without looking at the error messages.

Link to comment
Share on other sites

Could you provide those errors for us, we can't really tell what the problem is without looking at the error messages.

In order to use the WiFi modules, the lorcon2 extension must be installed:

# cd /pentest/svn

# svn co http://802.11ninja.n...vn/lorcon/trunk lorcon2

# cd lorcon2

# ./configure --prefix=/usr && make && make install

# cd /pentest/svn/framework3/external/ruby-lorcon2

# ruby extconf.rb

# make && make install

The install is successful but I am still unable to use the WiFi modules.

Did I miss a step because every where I have found are the same

instructions

as stated above and as you can see from the output below it doesn't work.

=[ metasploit v4.3.0-dev [core:4.3 api:1.0]

+ -- --=[ 821 exploits - 461 auxiliary - 141 post

+ -- --=[ 250 payloads - 27 encoders - 8 nops

=[ svn r15057 updated today (2012.04.03)

msf > use auxiliary/dos/wifi/fakeap

msf auxiliary(fakeap) > run

[*] The Lorcon2 module is not available: no such file to load -- Lorcon2

[-] Auxiliary failed: RuntimeError Lorcon2 not available

[-] Call stack:

[-] /opt/metasploit/msf3/lib/msf/core/exploit/lorcon2.rb:66:in `open_wifi'

[-] /opt/metasploit/msf3/modules/auxiliary/dos/wifi/fakeap.rb:44:in `run'

[*] Auxiliary module execution completed

msf auxiliary(fakeap) >

I hope you can help and shed some light on what I may have done wrong

here.

This is the current version of Backtrack 5 r2, i have apt-get update, apt-get upgrade and apt-get dist-upgrade. I have svn updated everything as well but still no answer.

Apparently i need an older version of lorcon to make this work but after googling i can't find and site which tells me how to get an old version of lorcon and to make it work with metasploit. Can anyone tell me how this is done?

Link to comment
Share on other sites

msf > use auxiliary/dos/wifi/fakeap
msf auxiliary(fakeap) > run
[*] The Lorcon2 module is not available: no such file to load -- Lorcon2
[-] Auxiliary failed: RuntimeError Lorcon2 not available

By looks of the error message, it seems that there are not binaries or files in the "Fakeap" directory.

Could you do an ls -l auxiliary/dos/wifi/fakeap, and post the results in here.

Link to comment
Share on other sites

msf > use auxiliary/dos/wifi/fakeap
msf auxiliary(fakeap) > run
[*] The Lorcon2 module is not available: no such file to load -- Lorcon2
[-] Auxiliary failed: RuntimeError Lorcon2 not available

By looks of the error message, it seems that there are not binaries or files in the "Fakeap" directory.

Could you do an ls -l auxiliary/dos/wifi/fakeap, and post the results in here.

root@bt:/opt/metasploit/msf3/modules/auxiliary/dos/wifi# ls -l /opt/metasploit/msf3/modules/auxiliary/dos/wifi/fakeap.rb

-rw-r--r-- 1 root root 2469 2012-02-22 04:17 /opt/metasploit/msf3/modules/auxiliary/dos/wifi/fakeap.rb

root@bt:/opt/metasploit/msf3/modules/auxiliary/dos/wifi#

Link to comment
Share on other sites

I have encountered this before trying to run airpwn. If I remember rightly, there was a bug release from Backtrack on this matter. It contained instructions telling you to re-compile and install the lorcon librarys. I'll see if I can dig it up again.

Link to comment
Share on other sites

I've noticed you are still using the MSF3, trying updating to the latest module.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...