-
Notifications
You must be signed in to change notification settings - Fork 21
Search Operator Help Translations
Luke Imhoff edited this page Dec 9, 2013
·
3 revisions
The translations are in the en.yml file in metasploit-model. You can access the help under the keys metasploit/model/ancestors//search/operator/names//help and metasploit/model/search/operators/ancestors//help.
The logic of how the help is displayed for an operator of a given name, is indirect, so that the help for searching by name on Mdm::Architecture is the same for search for architectures.name indirectly on Mdm::Module::Instance. You can just get a list of the operator name and the help by running this code:
Mdm::Module::Instance.search_operator_by_name.each_value do |operator|
puts "#{operator.name}"
puts " #{operator.help}"
endThis will also be available from search —help in msfconsole once MSP-9007 lands.