metasploit-framework

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

Ruby

Metasploit Framework

Plugin::Lab::LabCommandDispatcher#cmd_lab_upload

Command: lab_upload [vmids] [from] [to]

Description: Uploads a file to the guest(s)

Quirks: Pass "all" as a vmid to have it operate on all vms.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open plugins/lab.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Plugin--Lab--LabCommandDispatcher-cmd_lab_upload-for-pr


# Commit to git

git add plugins/lab.rbgit commit -m "better docs for Plugin::Lab::LabCommandDispatcher#cmd_lab_upload"


# 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--Lab--LabCommandDispatcher-cmd_lab_upload-for-pr

hub pull-request


# Celebrate!