metasploit-framework

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

Ruby

Metasploit Framework

Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::Railgun#add_library

Adds a library to this Railgun.

The +remote_name+ is the name used on the remote system and should be
set appropriately if you want to include a path or the library name contains
non-ruby-approved characters.

Raises an exception if a library with the given name has already been
defined.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/rex/post/meterpreter/extensions/stdapi/railgun/railgun.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rex--Post--Meterpreter--Extensions--Stdapi--Railgun--Railgun-add_library-for-pr


# Commit to git

git add lib/rex/post/meterpreter/extensions/stdapi/railgun/railgun.rbgit commit -m "better docs for Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::Railgun#add_library"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Rex--Post--Meterpreter--Extensions--Stdapi--Railgun--Railgun-add_library-for-pr

hub pull-request


# Celebrate!