I have Metasploit installed on my Mac in
Everytime I want to use it I have to cd into that directory and use
If I try to
/usr/local/share/msf/msfconsole in my home directory I get an error that gems are missing and I should
bundle install but if I cd to
msf and run
msfconsole it runs with no problems although I have to use
sudo -E msfconsole to utilise it fully.
Does anyone know how to add
/usr/local/share/msf as an environment called
$MSF that I can run its commands as root (
sudo -E) and use its dependencies/gems?
I have the same problem for BeEF too but thats a different question.