I have Metasploit installed on OSX in /usr/local/share/msf
Metasploit's executables can't be run outside it's directory thus would give a command not found error.
msfbinscan
msfconsole
msfd
msfelfscan
msfmachscan
msfpescan
msfrop
msfrpc
msfrpcd
msfupdate
msfvenom
For me, only msfconsole runs without having a ./ prefix but the rest executes but gives no output unless I add ./msfupdate for example.
How would I run msf* files with the prefix as if I was running a built in command? I've tried symlinking the directory as a $MSF enviroment to /usr/local/bin but that never worked and it's also a known issue.
For example:
$: ./msfvenom works but $: msfvenom runs but doesn't output anything thus doesn't do anything.
All my msf* files are -rwxr-xr-x
Is there some sort of way to fix this or similar?