metasploit-framework

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

Ruby

Metasploit Framework

Msf::Auxiliary::Report#store_local

Store some locally-generated data as a file, similiar to store_loot.
Sometimes useful for keeping artifacts of an exploit or auxiliary
module, such as files from fileformat exploits. (TODO: actually
implement this on file format modules.)

+filenmae+ is the local file name.

+data+ is the actual contents of the file

Also stores metadata about the file in the database when available.
+ltype+ is an OID-style loot type, e.g. "cisco.ios.config".  Ignored when
no database is connected.

+ctype+ is the Content-Type, e.g. "text/plain". Ignored when no database
is connected.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/auxiliary/report.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--Auxiliary--Report-store_local-for-pr


# Commit to git

git add lib/msf/core/auxiliary/report.rbgit commit -m "better docs for Msf::Auxiliary::Report#store_local"


# 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--Auxiliary--Report-store_local-for-pr

hub pull-request


# Celebrate!