Have anyone this Problem?
This error appears if you want using in Metasploit this Module: auxiliary/dos/wifi/wifun
15:00:58[*] Launching auxiliary dos/wifi/fakeap...
15:00:58[*] The Lorcon2 module is not available: no such file to load -- Lorcon2
15:00:58 [-] Auxiliary failed: RuntimeError Lorcon2 not available
15:00:58 [-] Call stack:
15:00:58 [-] /opt/metasploit3/msf3/lib/msf/core/exploit/lorcon2.rb:66:in `open_wifi'
15:00:58 [-] (eval):44:in `run'
This is because you need to build and install the Lorcon2 stuff. I assume
you're running Linux, and if so then check the bottom of this page (under
"Building Native Extensions" -> Wifi):
This is the change by me:
$ sudo bash
$ sudo bash
# cd /opt/metasploit3/msf3/external/ruby-lorcon2/
# svn co
https://802.11ninja.net/svn/lorcon/trunk lorcon2
# cd lorcon2
# ./configure --prefix=/usr && make && make install
# cd ..
((You can try # ruby extconf.rb
((You can try # make && make install
((for me it appears this error by make install ("make: Nothing to be done for `all'.")
#
#
# cd /opt/metasploit3/bin/
# ./ruby /opt/metasploit3/msf3/external/ruby-lorcon2/extconf.rb
# cp Makefile /opt/metasploit3/msf3/external/ruby-lorcon2/
# cd /opt/metasploit3/msf3/external/ruby-lorcon2/
# make && make install
Here the Link:
https://metasploit.com/redmine/proje.../Install_Linux
By IBI