metasploit-framework/docs
bwatters c17c78bc0f
Land #16995, Add TrustedSec's COFFLoader as Meterpreter Extension
Merge branch 'land-16995' into upstream-master
2022-09-30 14:14:39 -05:00
..
_includes Add favicon, guidelines to the nav, remove edit link, and cruft 2021-12-02 03:32:08 +00:00
assets/images Add favicon, guidelines to the nav, remove edit link, and cruft 2021-12-02 03:32:08 +00:00
metasploit-framework.wiki Land #16995, Add TrustedSec's COFFLoader as Meterpreter Extension 2022-09-30 14:14:39 -05:00
.gitignore Update docs site to use migrated wiki files 2022-05-20 13:13:28 +01:00
.ruby-gemset Add initial metasploit docs site, generated from the existing wiki 2021-12-01 03:07:03 +00:00
.ruby-version Add initial metasploit docs site, generated from the existing wiki 2021-12-01 03:07:03 +00:00
404.html Add initial metasploit docs site, generated from the existing wiki 2021-12-01 03:07:03 +00:00
CNAME Add cname to metasploit docs 2022-02-10 23:46:47 +00:00
Gemfile Use Rapid7 fork for just-the-docs 2022-01-06 10:59:29 +00:00
Gemfile.lock Scroll improvements 2022-04-25 12:08:15 +01:00
README.md Simplify contributing steps 2022-05-19 16:10:47 +01:00
_config.yml Update Wiki deprecation notice text, and add functionality to integrate the wiki into framework 2022-05-18 15:13:23 +01:00
_config_development.yml Add initial metasploit docs site, generated from the existing wiki 2021-12-01 03:07:03 +00:00
build.rb add to ignored wordlist, add syntax highlighting 2022-09-22 17:59:49 -05:00
navigation.rb Land #16995, Add TrustedSec's COFFLoader as Meterpreter Extension 2022-09-30 14:14:39 -05:00
robots.txt Add initial metasploit docs site, generated from the existing wiki 2021-12-01 03:07:03 +00:00

README.md

Metasploit docs site

This folder maintains the docs for https://docs.metasploit.com/ and https://github.com/rapid7/metasploit-framework/wiki

Architecture

How it works:

  • build.rb - The main entry point for generating the docs site from the old Github Wiki format files within metasploit-framework.wiki/
  • navigation.rb - Stores the mapping of metasploit-framework.wiki files to the website's navigational structure
  • metasploit-framework.wiki/ - The raw markdown documentation files. Modify these files when updating the site. These files originally came from https://github.com/rapid7/metasploit-framework/wiki
  • metasploit-framework.wiki.old/ - A separate clone of https://github.com/rapid7/metasploit-framework/wiki

Behind the scenes these docs are built and deployed to https://docs.metasploit.com/

Setup

Developer build

Builds the latest docs content from the existing Metasploit Wiki, and serves the files locally:

cd metasploit-framework/docs

bundle install
bundle exec ruby build.rb --serve

Now visit http://127.0.0.1:4000

Production build

Builds the latest docs content from the existing Metasploit Wiki, creates a production Jekyll build, and serves the files locally:

cd metasploit-framework/docs

bundle install
bundle exec ruby build.rb --production --serve

Now visit http://127.0.0.1:4000/metasploit-framework/

Contributing Documentation

You can modify existing documentation files within metasploit-framework.wiki/ with an editor of your choice and send a pull request. Note that adding a new page will also require modifying navigation.rb to appear on the navigation menu.