Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find the Metasploit modules/exploits folder?

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

enter image description here

like image 487
Stas Mackarow Avatar asked Nov 22 '25 14:11

Stas Mackarow


1 Answers

On Ubuntu the exploit scripts are in this folder. I followed the symlinks from /usr/bin/msfconsole.

/opt/metasploit-framework/embedded/framework/modules

On Termux in this one.

/data/data/com.termux/files/usr/opt/metasploit-framework
like image 126
jakethefinn Avatar answered Nov 24 '25 05:11

jakethefinn