I need to go to Metasploit exploits directory in order to download new exploit written by some guy so I need to find metasploit-framework/modules/exploits directory.
I trying to see if the folder at least exists, so I type:
ls /usr/share/metasploit-framework/modules/
But I'm getting No such directory error, because there is no metasploit-framework directory in /usr/share.
You may think I didn't install msf properly, but I used an official way of installing from github msf repository. I thought it's installation fault too until I tried to watch /opt/metasploit-framework folder and seems like all files okay there. It's definitely my fault because I got same result on both Ubuntu and Debian servers, but I can't understand what am I doing wrong.
ls /opt/metasploit-framework