File structure in Metasploit is laid out in the scheme shown in the following figure:
We will cover the most relevant directories, which will aid us in building modules for Metasploit, through the following table:
Directory |
Usage |
lib |
The heart and soul of Metasploit; it contains all the essential library files to help us build MSF modules. |
modules |
All the Metasploit modules are contained in this directory; from scanners to post exploitation modules, every module which was integrated into the Metasploit project can be found in this directory. |
tools |
Command-line utilities that aid penetration ... |