Method: Wpxf::Cli::Help#show_exploits
- Defined in:
- lib/wpxf/cli/help.rb
#show_exploits ⇒ Object
67 68 69 70 71 72 73 74 |
# File 'lib/wpxf/cli/help.rb', line 67 def show_exploits modules = Wpxf::Models::Module.where(type: 'exploit') .order(:path) .map { |m| { path: m.path, title: m.name } } print_good "#{modules.length} Exploits" print_module_table modules end |