metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#enum_subdirs

The saved connections in SmartFTP are saved in XML files saved
in a Directory with user-defineable sub-directories. This
function recursively searches all sub directories for the XML files

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/post/windows/gather/credentials/smartftp.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/post/windows/gather/credentials/smartftp.rbgit commit -m "better docs for MetasploitModule#enum_subdirs"


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

hub pull-request


# Celebrate!