metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#wait_for_payload_session

At the end of the module, especially for reverse_tcp payloads, wait for
the payload to connect back to us.  There's a very high probability we
will lose the payload's signal otherwise.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/linux/http/huawei_hg532n_cmdinject.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MetasploitModule-wait_for_payload_session-for-pr


# Commit to git

git add modules/exploits/linux/http/huawei_hg532n_cmdinject.rbgit commit -m "better docs for MetasploitModule#wait_for_payload_session"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-MetasploitModule-wait_for_payload_session-for-pr

hub pull-request


# Celebrate!