from @sempervictus Merge forked changes to cmd_ls allowing for the use of string matching on listing output via Rex::Ui::Text::Table's SearchTerm facility. Example: ``` meterpreter > ls chef -R -S wget No entries exist in chef/backup/chef/handlers No entries exist in chef/backup/chef/ohai_plugins No entries exist in chef/backup/chef No entries exist in chef/backup No entries exist in chef/cache/cookbooks/avast/attributes No entries exist in chef/cache/cookbooks/avast/recipes No entries exist in chef/cache/cookbooks/avast No entries exist in chef/cache/cookbooks/chef-client/attributes No entries exist in chef/cache/cookbooks/chef-client/libraries No entries exist in chef/cache/cookbooks/chef-client/recipes No entries exist in chef/cache/cookbooks/chef-client No entries exist in chef/cache/cookbooks/chef_handler/attributes No entries exist in chef/cache/cookbooks/chef_handler/libraries No entries exist in chef/cache/cookbooks/chef_handler/providers No entries exist in chef/cache/cookbooks/chef_handler/recipes No entries exist in chef/cache/cookbooks/chef_handler/resources No entries exist in chef/cache/cookbooks/chef_handler No entries exist in chef/cache/cookbooks/cron/providers No entries exist in chef/cache/cookbooks/cron/recipes No entries exist in chef/cache/cookbooks/cron/resources No entries exist in chef/cache/cookbooks/cron No entries exist in chef/cache/cookbooks/logrotate/attributes No entries exist in chef/cache/cookbooks/logrotate/definitions No entries exist in chef/cache/cookbooks/logrotate/libraries No entries exist in chef/cache/cookbooks/logrotate/recipes No entries exist in chef/cache/cookbooks/logrotate No entries exist in chef/cache/cookbooks/ohai/attributes No entries exist in chef/cache/cookbooks/ohai/files/default/plugins No entries exist in chef/cache/cookbooks/ohai/files/default No entries exist in chef/cache/cookbooks/ohai/files No entries exist in chef/cache/cookbooks/ohai/recipes No entries exist in chef/cache/cookbooks/ohai No entries exist in chef/cache/cookbooks/svit-windows/attributes No entries exist in chef/cache/cookbooks/svit-windows/recipes No entries exist in chef/cache/cookbooks/svit-windows/templates/default/plugins No entries exist in chef/cache/cookbooks/svit-windows/templates/default No entries exist in chef/cache/cookbooks/svit-windows/templates No entries exist in chef/cache/cookbooks/svit-windows No entries exist in chef/cache/cookbooks/windows/attributes No entries exist in chef/cache/cookbooks/windows/files/default/handlers No entries exist in chef/cache/cookbooks/windows/files/default No entries exist in chef/cache/cookbooks/windows/files No entries exist in chef/cache/cookbooks/windows/libraries No entries exist in chef/cache/cookbooks/windows/providers No entries exist in chef/cache/cookbooks/windows/recipes No entries exist in chef/cache/cookbooks/windows/resources No entries exist in chef/cache/cookbooks/windows No entries exist in chef/cache/cookbooks No entries exist in chef/cache No entries exist in chef/handlers No entries exist in chef/log No entries exist in chef/ohai_plugins No entries exist in chef/run Listing: chef ============= Mode Size Type Last modified Name ---- ---- ---- ------------- ---- 100666/rw-rw-rw- 161 fil 2014-07-21 11:08:26 -0400 wget.ps1 100666/rw-rw-rw- 1285 fil 2014-07-21 11:08:26 -0400 wget.vbs meterpreter > ```
Metasploit

The Metasploit Framework is released under a BSD-style license. See COPYING for more details.
The latest version of this software is available from: https://metasploit.com
Bug tracking and development information can be found at: https://github.com/rapid7/metasploit-framework
New bugs and feature requests should be directed to: http://r-7.co/MSF-BUGv1
API documentation for writing modules can be found at: https://rapid7.github.io/metasploit-framework/api
Questions and suggestions can be sent to: https://lists.sourceforge.net/lists/listinfo/metasploit-hackers
Installing
Generally, you should use the free installer, which contains all of the dependencies and will get you up and running with a few clicks. See the Dev Environment Setup if you'd like to deal with dependencies on your own.
Using Metasploit
Metasploit can do all sorts of things. The first thing you'll want to do
is start msfconsole, but after that, you'll probably be best served by
reading Metasploit Unleashed, the great community
resources, or the wiki.
Contributing
See the Dev Environment Setup guide on GitHub, which will walk you through the whole process from installing all the dependencies, to cloning the repository, and finally to submitting a pull request. For slightly more information, see Contributing.