Starting from terminal works for me whether or not X Server is running. It does not run when you use the GUI to launch the MSF console.
Printable View
Starting from terminal works for me whether or not X Server is running. It does not run when you use the GUI to launch the MSF console.
Hi, I was trying many things but only works if I start the msfconsole in terminal running with "./" before the msfconsole in other words:
root@bt: ./msfconsole
I think this is an issue with a relative path somewhere in Metasploit. If you have completed the fix on
http://blog.carlosgarciaprado.com/?t...rub-pentesting
And you still get this:
Starting it from the base directory /usr/local/bin seems to be what causes the problem.Code:msf auxiliary(ipidseq) > use auxiliary/scanner/ip/ipidseq
msf auxiliary(ipidseq) > set RHOSTS 172.31.254.90
RHOSTS => 172.31.254.90
msf auxiliary(ipidseq) > exploit
[*] The Pcaprub module is not available: no such file to load -- pcaprub
[-] Auxiliary failed: RuntimeError Pcaprub not available
[-] Call stack:
[-] /opt/framework3/msf3/lib/msf/core/exploit/capture.rb:379:in `check_pcaprub_loaded'
[-] /opt/framework3/msf3/lib/msf/core/exploit/capture.rb:75:in `open_pcap'
[-] (eval):68:in `run_host'
[-] /opt/framework3/msf3/lib/msf/core/auxiliary/scanner.rb:92:in `block in run'
[-] /opt/framework3/msf3/lib/msf/core/thread_manager.rb:64:in `call'
[-] /opt/framework3/msf3/lib/msf/core/thread_manager.rb:64:in `block in spawn'[*] Auxiliary module execution completed
msf auxiliary(ipidseq) >
Try this:
If you look at which msfconsole is run by default from the path setting it will be this one:Code:root@bt:/pentest/exploits/framework3# ./msfconsole
msf auxiliary(ipidseq) > exploit
[*] 172.31.254.90's IPID sequence class: Incremental![*] Scanned 1 of 1 hosts (100% complete)[*] Auxiliary module execution completed
msf auxiliary(ipidseq) > Interrupt: use the 'exit' command to qui
This is just a link to the one in the /pentest/exploits/framework3 directory but will start it with a different base directory and the external directory is not there when it looks for a relative path to it's base directory.Code:root@bt:/pentest/exploits/framework3# which msfconsole
/usr/local/bin/msfconsole
AndyCode:root@bt:/pentest/exploits/framework3/external/pcaprub#
Sherlock Holmes - "when you have eliminated the impossible, whatever remains, however improbable, must be the truth"