metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

Msf::DBManager::Import::MetasploitFramework::Zip#import_msf_zip

Import a Metasploit Express ZIP file. Note that this requires
a fair bit of filesystem manipulation, and is very much tied
up with the Metasploit Express ZIP file format export (for
obvious reasons). In the event directories exist, they will
be reused. If target files exist, they will be overwritten.

XXX: Refactor so it's not quite as sanity-blasting.

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/msf/core/db_manager/import/metasploit_framework/zip.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--DBManager--Import--MetasploitFramework--Zip-import_msf_zip-for-pr


# Commit to git

git add lib/msf/core/db_manager/import/metasploit_framework/zip.rbgit commit -m "better docs for Msf::DBManager::Import::MetasploitFramework::Zip#import_msf_zip"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Msf--DBManager--Import--MetasploitFramework--Zip-import_msf_zip-for-pr

hub pull-request


# Celebrate!