Skip to content

Commit e5c636f

Browse files
committed
Move folder descriptions into README.md files
1 parent 184ad67 commit e5c636f

File tree

17 files changed

+52
-99
lines changed

17 files changed

+52
-99
lines changed

app/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This directory contains ActiveRecord concerns, models and validators.

config/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Contains various files that help configure Metasploit. Most files here you'll never have to deal with, though
2+
`database.yml.example` might be useful for those looking to configure their database, and `openssl.conf`
3+
might be helpful for those trying to troubleshoot OpenSSL issues in Metasploit.

data/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This folder contains various data files used for a variety of purposes, including but not limited to banners for the
2+
console, exploit source code for exploits (under `data/exploits`), template code and binaries, wordlists and shellcode.
3+
4+
As a general rule of thumb this folder will most often be used when you are using compiled binaries or source code from
5+
other exploits for cases such as local privilege escalation exploits and need to provide the exploit code and compiled
6+
binaries so that maintainers can verify the binary and compile it themselves, as so that modules can find the R7 compiled
7+
version of the resulting binary for use during exploitation.

db/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Contains `modules_metadata_base.json` which contains information about all modules within Metasploit, as well as
2+
`schema.rb` which describes current state of the database schema maintained by Rails ActiveRecord.

docker/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Folder Purpose
2+
This folder contains files related to running Metasploit inside Docker.
3+
14
# Metasploit in Docker
25
## Getting Started
36

docs/metasploit-framework.wiki/Metasploit-Filesystem-Explained.md

-86
This file was deleted.

docs/navigation.rb

+7-12
Original file line numberDiff line numberDiff line change
@@ -242,36 +242,31 @@ def without_prefix(prefix)
242242
folder: 'basics',
243243
nav_order: 2,
244244
children: [
245-
{
246-
path: 'Metasploit-Filesystem-Explained.md',
247-
title: "Metasploit's Filesystem Explained",
248-
nav_order: 2
249-
},
250245
{
251246
path: 'Using-Metasploit.md',
252247
title: 'Running modules',
253-
nav_order: 3
248+
nav_order: 2
254249
},
255250
{
256251
path: 'How-to-use-a-Metasploit-module-appropriately.md',
257-
nav_order: 4
252+
nav_order: 3
258253
},
259254
{
260255
path: 'How-payloads-work.md',
261-
nav_order: 5
256+
nav_order: 4
262257
},
263258
{
264259
path: 'Module-Documentation.md',
265-
nav_order: 6
260+
nav_order: 5
266261
},
267262
{
268263
path: 'How-to-use-a-reverse-shell-in-Metasploit.md',
269-
nav_order: 7
264+
nav_order: 6
270265
},
271266
{
272267
path: 'How-to-use-msfvenom.md',
273-
nav_order: 8
274-
}
268+
nav_order: 7
269+
},
275270
]
276271
},
277272
{

documentation/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Folder Purpose
2+
This folder is primarily used to hold documentation for Metasploit's various modules, as well as the developers guide
3+
at `developers_guide.pdf`.
4+
15
# Metasploit Developer Documentation
26

37
Metasploit is actively supported by a community of hundreds of
@@ -19,7 +23,7 @@ treasures there, such as:
1923
## API Documentation
2024

2125
If you are looking for API documentation, you may run `rake yard` to
22-
generate a navigatable view of the comment documentation used throughout
26+
generate a navigable view of the comment documentation used throughout
2327
Metasploit, or visit https://rapid7.github.io/metasploit-framework/api
2428
for a recently generated online version.
2529

external/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This folder contains files to assist in using Metasploit with other tools such as `burp-proxy`, `vscode` and `zsh`.
2+
It also contains `serialport`, which is a Rapid7 fork of the original `ruby-serialport` project provided by
3+
RubyForge.org. Most importantly though, it contains the `source` directory, which contains source code for all
4+
compiled binaries in Metasploit Framework so that users can verify the code being used.

lib/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This is where all of the libraries and mixins of Metasploit live. Generally speaking any code that will be reused
2+
across multiple modules will be placed into a library or mixin which will then be placed under this folder.

modules/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This is the folder where all of Metasploit's modules live. These modules are scripts in Ruby that interface with
2+
Metasploit itself to perform some specific task. There are various types of modules, such as `exploit` modules to
3+
exploit a vulnerability and gain a shell, `auxiliary` to perform a non-shell gaining activity, `payloads` for
4+
Metasploit's various payloads (which are also modules), and `post` for post exploitation modules.

plugins/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is where plugins for Metasploit live, which allow Metasploit to interface with other tools and services.

script/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This contains the `rails.rb` file which will automatically be run when the command `rails` is run from
2+
the root of Metasploit itself, and allows Rails to populate its list of additional commands
3+
that are available for users to use.

scripts/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This folder contains all resource, shell, and Meterpreter scripts in Metasploit. Note that Metasploit no longer supports
2+
Meterpreter scripts, so the `meterpreter/` folder should be treated as deprecated and is likely to be removed in the
3+
future.

spec/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
All RSpec related unit test files reside under this directory.

test/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Contains files related to integration tests for things such as payload testing,
2+
modules used in sanity testing, as well as tests that can be exercised using
3+
https://github.com/rapid7/geppetto.

tools/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This folder contains standalone scripts that can help developers and users with various tasks, such as `msftidy.rb`
2+
which checks modules to make sure they conform to our linting rules, and `msftidy_docs.rb` which does the same for
3+
documentation files.

0 commit comments

Comments
 (0)