metasploit-framework

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

Ruby

Metasploit Framework

Msf::Exploit.mixins

Returns an array of all of the exploit mixins.  Lame algorithm right now.
We search the Msf::Exploit namespace for all modules that do not have any
constants in them.  In the future we can replace this with a better
algorithm.  It's just important that it returns an array of all of the
mixin modules.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/exploit.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--Exploit-mixins-for-pr


# Commit to git

git add lib/msf/core/exploit.rbgit commit -m "better docs for Msf::Exploit.mixins"


# 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--Exploit-mixins-for-pr

hub pull-request


# Celebrate!