metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#service_running?

Try connecting to the server up to 20 times, with a two second gap
This gives the server time to recover after a failed exploit attempt

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/windows/iis/ms03_007_ntdll_webdav.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/exploits/windows/iis/ms03_007_ntdll_webdav.rbgit commit -m "better docs for MetasploitModule#service_running?"


# 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-service_running--for-pr

hub pull-request


# Celebrate!