SystemCrash86 Posted April 6, 2012 Share Posted April 6, 2012 I am unable to use the Wi-Fi modules in metasploit despite the following instructions to install Lorcon2: In order to use the WiFi modules, the lorcon2 extension must be installed: # cd /pentest/svn # svn co http://802.11ninja.net/svn/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? Quote Link to comment Share on other sites More sharing options...
digip Posted April 6, 2012 Share Posted April 6, 2012 What drivers does your wifi card support? Maybe lorcon isn't supported by your card? I don't know if it would cause that error, but might be something to look into: Current State: The lorcon2 rewrite currently only supports the mac80211 driver, additional drivers will be restored over time http://802.11ninja.net/svn/lorcon/trunk/README Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted April 6, 2012 Author Share Posted April 6, 2012 What drivers does your wifi card support? Maybe lorcon isn't supported by your card? I don't know if it would cause that error, but might be something to look into: http://802.11ninja.net/svn/lorcon/trunk/README root@bt:~# airmon-zc This script is intended to replace airmon-ng and is functionally based on it. Please test and report bugs to Zero_Chaos on freenode in #aircrack-ng Linux bt 3.2.6 #1 SMP Fri Feb 17 10:40:05 EST 2012 i686 GNU/Linux K indicates driver is from 3.2.6 V indicates driver comes directly from the vendor, almost certainly a bad thing S indicates driver comes from the staging tree, these drivers are meant for reference not actual use, BEWARE ? indicates we do not know where the driver comes from... report this X[PHY]Interface Driver[stack]-FirmwareRev Chipset Extended Info K[phy0]wlan0 rt2800pci[mac80211]-0.34 Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe root@bt:~# The driver is mac80211. I have had no problems with lorcon before and as far a i can see my card is compatible with lorcon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.