Filesystem And Libraries

From Metasploit Unleashed
Jump to: navigation, search

The MSF filesystem is laid out in an intuitive manner and is organized by directory.

  • data: editable files used by Metasploit
  • documentation: provides documentation for the framework
  • external: source code and third-party libraries
  • lib: the 'meat' of the framework code base
  • modules: the actual MSF modules
  • plugins: plugins that can be loaded at run-time
  • scripts: Meterpreter and other scripts
  • tools: various useful command-line utilities


Libraries


Rex

  • The basic library for most tasks
  • Handles sockets, protocols, text transformations, and others
  • SSL, SMB, HTTP, XOR, Base64, Unicode


Msf::Core

  • Provides the 'basic' API
  • Defines the Metasploit Framework


Msf::Base

  • Provides the 'friendly' API
  • Provides simplified APIs for use in the Framework




Introduction > Metasploit Architecture > Filesystem And Libraries