metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#list_removal_paths

useful if you want to remove the persistence.
prints out a list of paths to remove and commands to run.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/osx/local/persistence.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/exploits/osx/local/persistence.rbgit commit -m "better docs for MetasploitModule#list_removal_paths"


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

hub pull-request


# Celebrate!