metasploit-framework

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

Ruby

Metasploit Framework

Plugin::Msfd#initialize

Initializes the msfd plugin.  The following options are supported in the
hash by this plugin:

ServerHost

	The local hostname to listen on for connections.  The default is
	127.0.0.1.

ServerPort

	The local port to listen on for connections.  The default is 55554.

SSL

Use SSL

RunInForeground

	Instructs the plugin to now execute the daemon in a worker thread and to
	instead allow the caller to manage executing the daemon through the
	``run'' method.

HostsAllowed

List of hosts (in NBO) allowed to use msfd

HostsDenied

List of hosts (in NBO) not allowed to use msfd

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open plugins/msfd.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Plugin--Msfd-initialize-for-pr


# Commit to git

git add plugins/msfd.rbgit commit -m "better docs for Plugin::Msfd#initialize"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Plugin--Msfd-initialize-for-pr

hub pull-request


# Celebrate!