Module: Msf::RPC::Simple::Features::Pro
- Included in:
- Client
- Defined in:
- lib/msfrpc-simple/features/pro.rb
Instance Method Summary collapse
- #start_bruteforce(options) ⇒ Object
- #start_discover(options) ⇒ Object
- #start_report(options) ⇒ Object
Instance Method Details
#start_bruteforce(options) ⇒ Object
47 48 49 |
# File 'lib/msfrpc-simple/features/pro.rb', line 47 def start_bruteforce() raise "Not Implemented" end |
#start_discover(options) ⇒ Object
36 37 38 39 40 41 42 43 44 45 |
# File 'lib/msfrpc-simple/features/pro.rb', line 36 def start_discover() raise "Not Implemented" #task = @client.call("pro.start_discover", { # 'DS_WHITELIST_HOSTS' => options[:whitelist], # 'DS_BLACKLIST_HOSTS' => options[:blacklist], # 'workspace' => options[:workspace], # 'username' => options[:username] #}) end |
#start_report(options) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/msfrpc-simple/features/pro.rb', line 7 def start_report() raise "Not Implemented" =begin task = @client.call("pro.start_report", { 'DS_REPORT_TYPE' => options[:report_type], 'DS_WHITELIST_HOSTS' => options[:whitelist], 'DS_BLACKLIST_HOSTS' => options[:blacklist], 'workspace' => options[:workspace], 'username' => options[:username], 'DS_MaskPasswords' => options[:ds_mask_passwords] || true, 'DS_IncludeTaskLog' => options[:include_task_log] || true, 'DS_JasperDisplaySession' => options[:ds_jasper_display_session] || false, 'DS_JasperDisplayCharts' => options[:ds_mask_passwords] || true, 'DS_LootExcludeScreenshots' => options[:ds_loot_exclude_screenshots] || false, 'DS_LootExcludePasswords' => options[:ds_loot_exclude_passwords] || false, 'DS_JasperTemplate' => options[:ds_jasper_template] || "msfxv3.jrxml", 'DS_UseJasper' => options[:ds_use_jasper]] ||true, 'DS_UseCustomReporting' => options[:ds_use_custom_reporting] || false, 'DS_JasperProductName' => options[:ds_jasper_product_name] || "Metasploit Pro", 'DS_JasperDbEnv' => options[:ds_jasper_db_env] || "production", 'DS_JasperLogo' => options[:ds_jasper_logo] || "", 'DS_JasperDisplaySections' => options[:ds_jasper_display_sections] || "1,2,3,4,5,6,7,8", 'DS_EnablePCIReport' => options[:ds_enable_pci_report] || true, 'DS_EnableFISMAReport' => options[:ds_enable_fisma_report] || true, 'DS_JasperDisplayWeb' => options[:ds_enable_jasper_display_web] || true, }) =end end |