|
1 | 1 | metasploit-framework Omnibus project
|
2 | 2 | ==========================
|
3 | 3 | This project creates full-stack platform-specific packages for
|
4 |
| -`metasploit-framework`. This is not the same as the Metasploit Community |
5 |
| -edition. It only contains the framework command-line interface and the |
| 4 | +`metasploit-framework`. This is not the same as Metasploit Pro. |
| 5 | +It only contains the framework command-line interface and the |
6 | 6 | associated tools and modules.
|
7 | 7 |
|
8 |
| -Installing the package |
9 |
| ------------- |
| 8 | +# Installing the package |
10 | 9 |
|
11 | 10 | If you just want to install this package, we provide a number of pre-built binaries for Metasploit that are rebuilt every night. See https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers for installation information.
|
12 | 11 |
|
13 |
| -Building the package |
14 |
| ------------- |
| 12 | +# Developer Upgrade Guide |
| 13 | + |
| 14 | +If you are updating software dependencies you will need to: |
| 15 | + |
| 16 | +1. Verify if the software has been updated upstream https://github.com/chef/omnibus-software |
| 17 | +1. Download the build artifacts and merge into the artifact cache https://github.com/rapid7/metasploit-omnibus-cache |
| 18 | +1. Update the git submodule within as a [prerequisite][#Prerequisites] |
| 19 | +1. Modify the `default_version` and `SHA` for your software |
| 20 | +1. Apply any additional changes required to build your software using chef/omnibus-software as a baseline were appropriate |
| 21 | +1. Verify that the build works locally following the build steps below. If there are issues, cross-reference the Github actions configuration as an indicator for how to build locally |
| 22 | +1. Verify that the update works on CI |
| 23 | + |
| 24 | +If you are updating omnibus itself: |
| 25 | + |
| 26 | +1. Clone the latest Rapid7 fork and branch from https://github.com/rapid7/omnibus/branches/all which will be referenced in the `Gemfile` ([example](https://github.com/rapid7/metasploit-omnibus/blob/3e30801521fb50291708b2e93c0940afdd11df37/Gemfile#L5)) |
| 27 | +1. Verify the latest available code from https://github.com/chef/omnibus |
| 28 | +1. Create a new R7 custom branch with the additional R7 custom patches applied |
| 29 | +1. Update the `Gemfile` to use your new branch - [example](https://github.com/rapid7/metasploit-omnibus/blame/master/Gemfile#L5) |
| 30 | +1. Apply any DSL changes to the software config files in the metasploit-omnibus repo, similar to steps required update software dependencies steps above |
| 31 | +1. Ensure CI passes |
| 32 | + |
| 33 | +# Building the package |
15 | 34 |
|
16 | 35 | ## Prerequisites
|
17 | 36 |
|
|
0 commit comments