Skip to content
Browse files

Merge pull request #1563 from rapid7/bug/yard-guard

[Story #45771305]

Conflicts:
	Rakefile
  • Loading branch information...
2 parents 43c076e + addb73e commit 725fbea851a434bf652b007ecc897c7f9fca3167 @bturner-r7 bturner-r7 committed Mar 7, 2013
Showing with 162 additions and 143 deletions.
  1. +7 −0 .yardopts
  2. +1 −1 Gemfile
  3. +3 −3 Gemfile.lock
  4. +45 −48 Rakefile
  5. +0 −12 documentation/Gemfile
  6. +0 −34 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.0/Rakefile
  7. +0 −14 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.0/lib/metasploit_data_models/engine.rb
  8. +0 −27 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.0/lib/tasks/yard.rake
  9. 0 ...gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/.gitignore
  10. 0 lib/gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/.rspec
  11. 0 ...gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/.simplecov
  12. 0 lib/gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/.yardopts
  13. 0 lib/gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/Gemfile
  14. 0 lib/gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/LICENSE
  15. 0 lib/gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/README.md
  16. +53 −0 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.1/Rakefile
  17. 0 ....9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/api_key.rb
  18. 0 ...1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/client.rb
  19. 0 ...y/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/cred.rb
  20. 0 .../1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/event.rb
  21. 0 ...s/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/exploit_attempt.rb
  22. 0 ...ms/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/exploited_host.rb
  23. 0 ...y/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/host.rb
  24. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/host_detail.rb
  25. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/host_tag.rb
  26. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/imported_cred.rb
  27. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/listener.rb
  28. 0 ...y/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/loot.rb
  29. 0 .../1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/macro.rb
  30. 0 ....9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/mod_ref.rb
  31. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_action.rb
  32. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_arch.rb
  33. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_author.rb
  34. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_detail.rb
  35. 0 ...gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_mixin.rb
  36. 0 ...s/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_platform.rb
  37. 0 ...1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_ref.rb
  38. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/module_target.rb
  39. 0 ...s/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/nexpose_console.rb
  40. 0 ...y/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/note.rb
  41. 0 ....9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/profile.rb
  42. 0 ...by/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/ref.rb
  43. 0 ...1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/report.rb
  44. 0 ...s/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/report_template.rb
  45. 0 .../1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/route.rb
  46. 0 ....9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/service.rb
  47. 0 ....9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/session.rb
  48. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/session_event.rb
  49. 0 ...by/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/tag.rb
  50. 0 ...y/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/task.rb
  51. 0 ...y/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/user.rb
  52. 0 ...y/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/vuln.rb
  53. 0 ...gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/vuln_attempt.rb
  54. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/vuln_detail.rb
  55. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/vuln_ref.rb
  56. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/web_form.rb
  57. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/web_page.rb
  58. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/web_site.rb
  59. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/web_vuln.rb
  60. 0 ...gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/wmap_request.rb
  61. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/wmap_target.rb
  62. 0 ....1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/app/models/mdm/workspace.rb
  63. 0 ...che/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/bin/mdm_console
  64. 0 ...ache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/console_db.yml
  65. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/000_create_tables.rb
  66. 0 ...s/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/001_add_wmap_tables.rb
  67. 0 ...ms/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/002_add_workspaces.rb
  68. 0 ...1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/003_move_notes.rb
  69. 0 .../{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/004_add_events_table.rb
  70. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/005_expand_info.rb
  71. 0 ...ms/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/006_add_timestamps.rb
  72. 0 ....1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/007_add_loots.rb
  73. 0 ...gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/008_create_users.rb
  74. 0 ...s/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/009_add_loots_ctype.rb
  75. 0 .../{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/010_add_alert_fields.rb
  76. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/011_add_reports.rb
  77. 0 ....1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/012_add_tasks.rb
  78. 0 .../{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/013_add_tasks_result.rb
  79. 0 .../{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/014_add_loots_fields.rb
  80. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/015_rename_user.rb
  81. 0 .../{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/016_add_host_purpose.rb
  82. 0 ...gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/017_expand_info2.rb
  83. 0 ...ploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/018_add_workspace_user_info.rb
  84. 0 ...metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/019_add_workspace_desc.rb
  85. 0 ...tasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/020_add_user_preferences.rb
  86. 0 ...oit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/021_standardize_info_and_data.rb
  87. 0 ...metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/022_enlarge_event_info.rb
  88. 0 ...loit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/023_add_report_downloaded_at.rb
  89. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/024_convert_service_info_to_text.rb
  90. 0 ...ms/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/025_add_user_admin.rb
  91. 0 ...s/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/026_add_creds_table.rb
  92. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100819123300_migrate_cred_data.rb
  93. 0 ...ata_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100824151500_add_exploited_table.rb
  94. 0 ...models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100908001428_add_owner_to_workspaces.rb
  95. 0 ...ta_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100911122000_add_report_templates.rb
  96. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100916151530_require_admin_flag.rb
  97. 0 ...ls-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100916175000_add_campaigns_and_templates.rb
  98. 0 ...models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100920012100_add_generate_exe_column.rb
  99. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20100926214000_add_template_prefs.rb
  100. 0 ...oit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101001000000_add_web_tables.rb
  101. 0 ...tasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101002000000_add_query.rb
  102. 0 ...loit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101007000000_add_vuln_info.rb
  103. 0 ...odels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101008111800_add_clients_to_campaigns.rb
  104. 0 ...odels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101009023300_add_campaign_attachments.rb
  105. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101104135100_add_imported_creds.rb
  106. 0 ...oit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101203000000_fix_web_tables.rb
  107. 0 ...ata_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20101203000001_expand_host_comment.rb
  108. 0 ...0 → metasploit_data_models-0.6.1}/db/migrate/20101206212033_add_limit_to_network_to_workspaces.rb
  109. 0 ...odels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110112154300_add_module_uuid_to_tasks.rb
  110. 0 ...loit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110204112800_add_host_tags.rb
  111. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110317144932_add_session_table.rb
  112. 0 ...-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110414180600_add_local_id_to_session_table.rb
  113. 0 ...t_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110415175705_add_routes_table.rb
  114. 0 ...oit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110422000000_convert_binary.rb
  115. 0 ...dels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110425095900_add_last_seen_to_sessions.rb
  116. 0 ...dels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110513143900_track_successful_exploits.rb
  117. 0 ...-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110517160800_rename_and_prune_nessus_vulns.rb
  118. 0 ...s-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110527000000_add_task_id_to_reports_table.rb
  119. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110527000001_add_api_keys_table.rb
  120. 0 ...t_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110606000001_add_macros_table.rb
  121. 0 ...ls-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110622000000_add_settings_to_tasks_table.rb
  122. 0 ...ata_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110624000001_add_listeners_table.rb
  123. 0 ...s-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110625000001_add_macro_to_listeners_table.rb
  124. 0 ...els-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110630000001_add_nexpose_consoles_table.rb
  125. 0 ...0 → metasploit_data_models-0.6.1}/db/migrate/20110630000002_add_name_to_nexpose_consoles_table.rb
  126. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110717000001_add_profiles_table.rb
  127. 0 ...odels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110727163801_expand_cred_ptype_column.rb
  128. 0 ...ata_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110730000001_add_initial_indexes.rb
  129. 0 ...loit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110812000001_prune_indexes.rb
  130. 0 ...ploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110922000000_expand_notes.rb
  131. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20110928101300_add_mod_ref_table.rb
  132. 0 ....0 → metasploit_data_models-0.6.1}/db/migrate/20111011110000_add_display_name_to_reports_table.rb
  133. 0 ...ploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20111203000000_inet_columns.rb
  134. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20111204000000_more_inet_columns.rb
  135. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20111210000000_add_scope_to_hosts.rb
  136. 0 ...dels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120126110000_add_virtual_host_to_hosts.rb
  137. 0 ...odels-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120411173220_rename_workspace_members.rb
  138. 0 ...ls-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120601152442_add_counter_caches_to_hosts.rb
  139. 0 ...t_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000000_add_vuln_details.rb
  140. 0 ...t_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000001_add_host_details.rb
  141. 0 ...oit_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000002_expand_details.rb
  142. 0 ...it_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000003_expand_details2.rb
  143. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000004_add_vuln_attempts.rb
  144. 0 ...6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000005_add_vuln_and_host_counter_caches.rb
  145. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000006_add_module_details.rb
  146. 0 ...ta_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000007_add_exploit_attempts.rb
  147. 0 ...t_data_models-0.6.0 → metasploit_data_models-0.6.1}/db/migrate/20120625000008_add_fail_message.rb
  148. 0 ...0 → metasploit_data_models-0.6.1}/db/migrate/20120718202805_add_owner_and_payload_to_web_vulns.rb
  149. 0 ...ata_models-0.6.1}/db/migrate/20130228214900_change_required_columns_to_null_false_in_web_vulns.rb
  150. 0 ...gemcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/lib/mdm.rb
  151. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/lib/mdm/host/operating_system_normalization.rb
  152. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/lib/metasploit_data_models.rb
  153. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/lib/metasploit_data_models/base64_serializer.rb
  154. +23 −0 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.1/lib/metasploit_data_models/engine.rb
  155. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/lib/metasploit_data_models/serialized_prefs.rb
  156. 0 ....6.0 → metasploit_data_models-0.6.1}/lib/metasploit_data_models/validators/ip_format_validator.rb
  157. 0 ...tasploit_data_models-0.6.1}/lib/metasploit_data_models/validators/password_is_strong_validator.rb
  158. +1 −1 ...etasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/lib/metasploit_data_models/version.rb
  159. +26 −0 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.1/lib/tasks/yard.rake
  160. 0 ...gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/metasploit_data_models.gemspec
  161. 0 ...mcache/ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/script/rails
  162. 0 ...metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/app/models/mdm/web_vuln_spec.rb
  163. 0 ...ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/Rakefile
  164. 0 ...ata_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/app/assets/javascripts/application.js
  165. 0 ...ta_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/app/assets/stylesheets/application.css
  166. 0 ...models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/app/controllers/application_controller.rb
  167. 0 ...it_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/app/helpers/application_helper.rb
  168. 0 ..._data_models-0.6.0/spec/dummy/log → metasploit_data_models-0.6.1/spec/dummy/app/mailers}/.gitkeep
  169. 0 ...models-0.6.0/spec/dummy/lib/assets → metasploit_data_models-0.6.1/spec/dummy/app/models}/.gitkeep
  170. 0 ...ta_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/app/views/layouts/application.html.erb
  171. 0 ...uby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config.ru
  172. +1 −1 ...ms/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/application.rb
  173. 0 ....9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/boot.rb
  174. 0 ...tasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/database.yml.example
  175. 0 ...ms/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/environment.rb
  176. 0 ...t_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/environments/development.rb
  177. 0 ...it_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/environments/production.rb
  178. 0 ...tasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/environments/test.rb
  179. 0 ...odels-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/initializers/backtrace_silencers.rb
  180. 0 ...t_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/initializers/inflections.rb
  181. 0 ...it_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/initializers/mime_types.rb
  182. 0 ..._data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/initializers/secret_token.rb
  183. 0 ...data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/initializers/session_store.rb
  184. 0 ...ta_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/initializers/wrap_parameters.rb
  185. 0 ....1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/config/routes.rb
  186. 0 .../1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/db/schema.rb
  187. 0 ...models-0.6.0/spec/dummy/app/models → metasploit_data_models-0.6.1/spec/dummy/lib/assets}/.gitkeep
  188. 0 ..._data_models-0.6.0/spec/dummy/app/mailers → metasploit_data_models-0.6.1/spec/dummy/log}/.gitkeep
  189. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/public/404.html
  190. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/public/422.html
  191. 0 ...9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/public/500.html
  192. 0 .../gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/public/favicon.ico
  193. 0 .../1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/dummy/script/rails
  194. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/factories/mdm/addresses.rb
  195. 0 ....1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/factories/mdm/hosts.rb
  196. 0 ...gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/factories/mdm/services.rb
  197. 0 ....1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/factories/mdm/users.rb
  198. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/factories/mdm/web_sites.rb
  199. 0 ...ems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/factories/mdm/web_vulns.rb
  200. 0 ...ms/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/factories/mdm/workspaces.rb
  201. 0 .../{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/lib/base64_serializer_spec.rb
  202. 0 ...ruby/1.9.1/gems/{metasploit_data_models-0.6.0 → metasploit_data_models-0.6.1}/spec/spec_helper.rb
  203. +2 −2 ....9.1/specifications/{metasploit_data_models-0.6.0.gemspec → metasploit_data_models-0.6.1.gemspec}
View
7 .yardopts
@@ -0,0 +1,7 @@
+--protected
+--exclude samples/
+--exclude \.ut\.rb/
+--exclude \.ts\.rb/
+--files CONTRIBUTING.md,COPYING,HACKING,LICENSE
+lib/msf/**/*.rb
+lib/rex/**/*.rb
View
2 Gemfile
@@ -7,7 +7,7 @@ gem 'activerecord'
# Needed for some admin modules (scrutinizer_add_user.rb)
gem 'json'
# Database models shared between framework and Pro.
-gem 'metasploit_data_models', :git => 'git://github.com/rapid7/metasploit_data_models.git', :tag => '0.6.0'
+gem 'metasploit_data_models', :git => 'git://github.com/rapid7/metasploit_data_models.git', :tag => '0.6.1'
# Needed by msfgui and other rpc components
gem 'msgpack'
# Needed by anemone crawler
View
6 Gemfile.lock
@@ -1,9 +1,9 @@
GIT
remote: git://github.com/rapid7/metasploit_data_models.git
- revision: 0285d6e199f125b33214100dcb0f4eeb12ee765f
- tag: 0.6.0
+ revision: 7f8e36d9b62a36bcbf43c8f1ab48a07bed0732d9
+ tag: 0.6.1
specs:
- metasploit_data_models (0.6.0)
+ metasploit_data_models (0.6.1)
activerecord (>= 3.2.10)
activesupport
pg
View
93 Rakefile
@@ -1,52 +1,49 @@
require 'bundler/setup'
-require 'rspec/core/rake_task'
-require 'yard'
-
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
-
-namespace :yard do
- yard_files = [
- # Ruby source files first
- 'lib/msf/**/*.rb',
- 'lib/rex/**/*.rb',
- # Anything after '-' is a normal documentation, not source
- '-',
- 'COPYING',
- 'HACKING',
- 'LICENSE',
- 'CONTRIBUTING.md',
- ]
- yard_options = [
- # include documentation for protected methods for developers extending the code.
- '--protected',
- # Don't bother with files meant to be examples
- '--exclude', 'samples/',
- '--exclude', '\.ut\.rb/',
- '--exclude', '\.ts\.rb/',
- ]
-
- YARD::Rake::YardocTask.new(:doc) do |t|
- t.files = yard_files
- # --no-stats here as 'stats' task called after will print fuller stats
- t.options = yard_options + ['--no-stats']
-
- t.after = Proc.new {
- Rake::Task['yard:stats'].execute
- }
- end
-
- desc "Shows stats for YARD Documentation including listing undocumented modules, classes, constants, and methods"
- task :stats => :environment do
- stats = YARD::CLI::Stats.new
- yard_arguments = yard_options + ['--compact', '--list-undoc'] + yard_files
- stats.run(*yard_arguments)
- end
+require 'metasploit_data_models'
+
+print_without = false
+
+begin
+ require 'rspec/core/rake_task'
+rescue LoadError
+ puts "rspec not in bundle, so can't set up spec tasks. " \
+ "To run specs ensure to install the development and test groups."
+
+ print_without = true
+else
+ RSpec::Core::RakeTask.new(:spec)
+
+ task :default => :spec
+end
+
+begin
+ require 'yard'
+rescue LoadError
+ puts "yard not in bundle, so can't set up yard tasks. " \
+ "To generate documentation ensure to install the development group."
+
+ print_without = true
end
-# @todo Figure out how to just clone description from yard:doc
-desc "Generate YARD documentation"
-# allow calling namespace to as a task that goes to default task for namespace
-task :yard => ['yard:doc']
+metasploit_data_models_task_glob = MetasploitDataModels.root.join(
+ 'lib',
+ 'tasks',
+ '**',
+ '*.rake'
+).to_s
+
+# include tasks from metasplioit_data_models, such as `rake yard`.
+# metasploit-framework specific yard options are in .yardopts
+Dir.glob(metasploit_data_models_task_glob) do |path|
+ load path
+end
+
+if print_without
+ puts "Bundle currently installed " \
+ "'--without #{Bundler.settings.without.join(' ')}'."
+ puts "To clear the without option do `bundle install --without ''` " \
+ "(the --without flag with an empty string) or " \
+ "`rm -rf .bundle` to remove the .bundle/config manually and " \
+ "then `bundle install`"
+end
View
12 documentation/Gemfile
@@ -1,12 +0,0 @@
-source 'http://rubygems.org'
-gem 'rails', '3.2.2'
-gem 'authlogic'
-gem 'prototype_legacy_helper', '0.0.0', :git => 'git://github.com/jvennix-r7/prototype_legacy_helper.git'
-gem 'state_machine', '1.1.2'
-gem 'liquid', '2.3.0'
-gem 'ice_cube'
-gem 'acts_as_list'
-gem 'mime-types', '1.18', :git => "git://github.com/rapid7/mime-types.git"
-gem 'metasploit_data_models', '0.0.2', :git => "git://github.com/rapid7/metasploit_data_models.git"
-gem 'robots', '0.10.1'
-
View
34 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.0/Rakefile
@@ -1,34 +0,0 @@
-#!/usr/bin/env rake
-begin
- require 'bundler/setup'
-rescue LoadError
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
-end
-
-APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
-load 'rails/tasks/engine.rake'
-
-Bundler::GemHelper.install_tasks
-
-#
-# load rake files like a normal rails app
-# @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
-#
-
-pathname = Pathname.new(__FILE__)
-root = pathname.parent
-rakefile_glob = root.join('lib', 'tasks', '**', '*.rake').to_path
-
-Dir.glob(rakefile_glob) do |rakefile|
- load rakefile
-end
-
-require 'rspec/core'
-require 'rspec/core/rake_task'
-
-# Depend on app:db:test:prepare so that test database is recreated just like in a full rails app
-# @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
-RSpec::Core::RakeTask.new(:spec => 'app:db:test:prepare')
-
-task :default => :spec
-
View
14 ...emcache/ruby/1.9.1/gems/metasploit_data_models-0.6.0/lib/metasploit_data_models/engine.rb
@@ -1,14 +0,0 @@
-require 'rails'
-
-module MetasploitDataModels
- class Engine < Rails::Engine
-
- # @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
- config.generators do |g|
- g.assets false
- g.fixture_replacement :factory_girl, :dir => 'spec/factories'
- g.helper false
- g.test_framework :rspec, :fixture => false
- end
- end
-end
View
27 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.0/lib/tasks/yard.rake
@@ -1,27 +0,0 @@
-# @note All options not specific to any given rake task should go in the .yardopts file so they are available to both
-# the below rake tasks and when invoking `yard` from the command line
-
-require 'yard'
-require 'yard/rake/yardoc_task'
-
-namespace :yard do
- YARD::Rake::YardocTask.new(:doc) do |t|
- # --no-stats here as 'stats' task called after will print fuller stats
- t.options = ['--no-stats']
-
- t.after = Proc.new {
- Rake::Task['yard:stats'].execute
- }
- end
-
- desc "Shows stats for YARD Documentation including listing undocumented modules, classes, constants, and methods"
- task :stats => :environment do
- stats = YARD::CLI::Stats.new
- stats.run('--compact', '--list-undoc')
- end
-end
-
-# @todo Figure out how to just clone description from yard:doc
-desc "Generate YARD documentation"
-# allow calling namespace to as a task that goes to default task for namespace
-task :yard => ['yard:doc']
View
0 ...s/metasploit_data_models-0.6.0/.gitignore → ...s/metasploit_data_models-0.6.1/.gitignore
File renamed without changes.
View
0 .../gems/metasploit_data_models-0.6.0/.rspec → .../gems/metasploit_data_models-0.6.1/.rspec
File renamed without changes.
View
0 ...s/metasploit_data_models-0.6.0/.simplecov → ...s/metasploit_data_models-0.6.1/.simplecov
File renamed without changes.
View
0 ...ms/metasploit_data_models-0.6.0/.yardopts → ...ms/metasploit_data_models-0.6.1/.yardopts
File renamed without changes.
View
0 ...gems/metasploit_data_models-0.6.0/Gemfile → ...gems/metasploit_data_models-0.6.1/Gemfile
File renamed without changes.
View
0 ...gems/metasploit_data_models-0.6.0/LICENSE → ...gems/metasploit_data_models-0.6.1/LICENSE
File renamed without changes.
View
0 ...ms/metasploit_data_models-0.6.0/README.md → ...ms/metasploit_data_models-0.6.1/README.md
File renamed without changes.
View
53 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.1/Rakefile
@@ -0,0 +1,53 @@
+#!/usr/bin/env rake
+begin
+ require 'bundler/setup'
+rescue LoadError
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
+end
+
+print_without = false
+APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
+
+begin
+ load 'rails/tasks/engine.rake'
+rescue LoadError
+ puts "railties not in bundle, so can't load engine tasks."
+ print_without = true
+end
+
+Bundler::GemHelper.install_tasks
+
+#
+# load rake files like a normal rails app
+# @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
+#
+
+pathname = Pathname.new(__FILE__)
+root = pathname.parent
+rakefile_glob = root.join('lib', 'tasks', '**', '*.rake').to_path
+
+Dir.glob(rakefile_glob) do |rakefile|
+ load rakefile
+end
+
+begin
+ require 'rspec/core'
+rescue LoadError
+ puts "rspec not in bundle, so can't set up spec tasks. " \
+ "To run specs ensure to install the development and test groups."
+ print_without = true
+else
+ require 'rspec/core/rake_task'
+
+ # Depend on app:db:test:prepare so that test database is recreated just like in a full rails app
+ # @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
+ RSpec::Core::RakeTask.new(:spec => 'app:db:test:prepare')
+
+ task :default => :spec
+end
+
+if print_without
+ puts "Bundle currently installed '--without #{Bundler.settings.without.join(' ')}'."
+ puts "To clear the without option do `bundle install --without ''` (the --without flag with an empty string) or " \
+ "`rm -rf .bundle` to remove the .bundle/config manually and then `bundle install`"
+end
View
0 ...ta_models-0.6.0/app/models/mdm/api_key.rb → ...ta_models-0.6.1/app/models/mdm/api_key.rb
File renamed without changes.
View
0 ...ata_models-0.6.0/app/models/mdm/client.rb → ...ata_models-0.6.1/app/models/mdm/client.rb
File renamed without changes.
View
0 ..._data_models-0.6.0/app/models/mdm/cred.rb → ..._data_models-0.6.1/app/models/mdm/cred.rb
File renamed without changes.
View
0 ...data_models-0.6.0/app/models/mdm/event.rb → ...data_models-0.6.1/app/models/mdm/event.rb
File renamed without changes.
View
0 ...s-0.6.0/app/models/mdm/exploit_attempt.rb → ...s-0.6.1/app/models/mdm/exploit_attempt.rb
File renamed without changes.
View
0 ...ls-0.6.0/app/models/mdm/exploited_host.rb → ...ls-0.6.1/app/models/mdm/exploited_host.rb
File renamed without changes.
View
0 ..._data_models-0.6.0/app/models/mdm/host.rb → ..._data_models-0.6.1/app/models/mdm/host.rb
File renamed without changes.
View
0 ...odels-0.6.0/app/models/mdm/host_detail.rb → ...odels-0.6.1/app/models/mdm/host_detail.rb
File renamed without changes.
View
0 ...a_models-0.6.0/app/models/mdm/host_tag.rb → ...a_models-0.6.1/app/models/mdm/host_tag.rb
File renamed without changes.
View
0 ...els-0.6.0/app/models/mdm/imported_cred.rb → ...els-0.6.1/app/models/mdm/imported_cred.rb
File renamed without changes.
View
0 ...a_models-0.6.0/app/models/mdm/listener.rb → ...a_models-0.6.1/app/models/mdm/listener.rb
File renamed without changes.
View
0 ..._data_models-0.6.0/app/models/mdm/loot.rb → ..._data_models-0.6.1/app/models/mdm/loot.rb
File renamed without changes.
View
0 ...data_models-0.6.0/app/models/mdm/macro.rb → ...data_models-0.6.1/app/models/mdm/macro.rb
File renamed without changes.
View
0 ...ta_models-0.6.0/app/models/mdm/mod_ref.rb → ...ta_models-0.6.1/app/models/mdm/mod_ref.rb
File renamed without changes.
View
0 ...els-0.6.0/app/models/mdm/module_action.rb → ...els-0.6.1/app/models/mdm/module_action.rb
File renamed without changes.
View
0 ...odels-0.6.0/app/models/mdm/module_arch.rb → ...odels-0.6.1/app/models/mdm/module_arch.rb
File renamed without changes.
View
0 ...els-0.6.0/app/models/mdm/module_author.rb → ...els-0.6.1/app/models/mdm/module_author.rb
File renamed without changes.
View
0 ...els-0.6.0/app/models/mdm/module_detail.rb → ...els-0.6.1/app/models/mdm/module_detail.rb
File renamed without changes.
View
0 ...dels-0.6.0/app/models/mdm/module_mixin.rb → ...dels-0.6.1/app/models/mdm/module_mixin.rb
File renamed without changes.
View
0 ...s-0.6.0/app/models/mdm/module_platform.rb → ...s-0.6.1/app/models/mdm/module_platform.rb
File renamed without changes.
View
0 ...models-0.6.0/app/models/mdm/module_ref.rb → ...models-0.6.1/app/models/mdm/module_ref.rb
File renamed without changes.
View
0 ...els-0.6.0/app/models/mdm/module_target.rb → ...els-0.6.1/app/models/mdm/module_target.rb
File renamed without changes.
View
0 ...s-0.6.0/app/models/mdm/nexpose_console.rb → ...s-0.6.1/app/models/mdm/nexpose_console.rb
File renamed without changes.
View
0 ..._data_models-0.6.0/app/models/mdm/note.rb → ..._data_models-0.6.1/app/models/mdm/note.rb
File renamed without changes.
View
0 ...ta_models-0.6.0/app/models/mdm/profile.rb → ...ta_models-0.6.1/app/models/mdm/profile.rb
File renamed without changes.
View
0 ...t_data_models-0.6.0/app/models/mdm/ref.rb → ...t_data_models-0.6.1/app/models/mdm/ref.rb
File renamed without changes.
View
0 ...ata_models-0.6.0/app/models/mdm/report.rb → ...ata_models-0.6.1/app/models/mdm/report.rb
File renamed without changes.
View
0 ...s-0.6.0/app/models/mdm/report_template.rb → ...s-0.6.1/app/models/mdm/report_template.rb
File renamed without changes.
View
0 ...data_models-0.6.0/app/models/mdm/route.rb → ...data_models-0.6.1/app/models/mdm/route.rb
File renamed without changes.
View
0 ...ta_models-0.6.0/app/models/mdm/service.rb → ...ta_models-0.6.1/app/models/mdm/service.rb
File renamed without changes.
View
0 ...ta_models-0.6.0/app/models/mdm/session.rb → ...ta_models-0.6.1/app/models/mdm/session.rb
File renamed without changes.
View
0 ...els-0.6.0/app/models/mdm/session_event.rb → ...els-0.6.1/app/models/mdm/session_event.rb
File renamed without changes.
View
0 ...t_data_models-0.6.0/app/models/mdm/tag.rb → ...t_data_models-0.6.1/app/models/mdm/tag.rb
File renamed without changes.
View
0 ..._data_models-0.6.0/app/models/mdm/task.rb → ..._data_models-0.6.1/app/models/mdm/task.rb
File renamed without changes.
View
0 ..._data_models-0.6.0/app/models/mdm/user.rb → ..._data_models-0.6.1/app/models/mdm/user.rb
File renamed without changes.
View
0 ..._data_models-0.6.0/app/models/mdm/vuln.rb → ..._data_models-0.6.1/app/models/mdm/vuln.rb
File renamed without changes.
View
0 ...dels-0.6.0/app/models/mdm/vuln_attempt.rb → ...dels-0.6.1/app/models/mdm/vuln_attempt.rb
File renamed without changes.
View
0 ...odels-0.6.0/app/models/mdm/vuln_detail.rb → ...odels-0.6.1/app/models/mdm/vuln_detail.rb
File renamed without changes.
View
0 ...a_models-0.6.0/app/models/mdm/vuln_ref.rb → ...a_models-0.6.1/app/models/mdm/vuln_ref.rb
File renamed without changes.
View
0 ...a_models-0.6.0/app/models/mdm/web_form.rb → ...a_models-0.6.1/app/models/mdm/web_form.rb
File renamed without changes.
View
0 ...a_models-0.6.0/app/models/mdm/web_page.rb → ...a_models-0.6.1/app/models/mdm/web_page.rb
File renamed without changes.
View
0 ...a_models-0.6.0/app/models/mdm/web_site.rb → ...a_models-0.6.1/app/models/mdm/web_site.rb
File renamed without changes.
View
0 ...a_models-0.6.0/app/models/mdm/web_vuln.rb → ...a_models-0.6.1/app/models/mdm/web_vuln.rb
File renamed without changes.
View
0 ...dels-0.6.0/app/models/mdm/wmap_request.rb → ...dels-0.6.1/app/models/mdm/wmap_request.rb
File renamed without changes.
View
0 ...odels-0.6.0/app/models/mdm/wmap_target.rb → ...odels-0.6.1/app/models/mdm/wmap_target.rb
File renamed without changes.
View
0 ..._models-0.6.0/app/models/mdm/workspace.rb → ..._models-0.6.1/app/models/mdm/workspace.rb
File renamed without changes.
View
0 ...asploit_data_models-0.6.0/bin/mdm_console → ...asploit_data_models-0.6.1/bin/mdm_console
File renamed without changes.
View
0 ...tasploit_data_models-0.6.0/console_db.yml → ...tasploit_data_models-0.6.1/console_db.yml
File renamed without changes.
View
0 ...els-0.6.0/db/migrate/000_create_tables.rb → ...els-0.6.1/db/migrate/000_create_tables.rb
File renamed without changes.
View
0 ...s-0.6.0/db/migrate/001_add_wmap_tables.rb → ...s-0.6.1/db/migrate/001_add_wmap_tables.rb
File renamed without changes.
View
0 ...ls-0.6.0/db/migrate/002_add_workspaces.rb → ...ls-0.6.1/db/migrate/002_add_workspaces.rb
File renamed without changes.
View
0 ...models-0.6.0/db/migrate/003_move_notes.rb → ...models-0.6.1/db/migrate/003_move_notes.rb
File renamed without changes.
View
0 ...-0.6.0/db/migrate/004_add_events_table.rb → ...-0.6.1/db/migrate/004_add_events_table.rb
File renamed without changes.
View
0 ...odels-0.6.0/db/migrate/005_expand_info.rb → ...odels-0.6.1/db/migrate/005_expand_info.rb
File renamed without changes.
View
0 ...ls-0.6.0/db/migrate/006_add_timestamps.rb → ...ls-0.6.1/db/migrate/006_add_timestamps.rb
File renamed without changes.
View
0 ..._models-0.6.0/db/migrate/007_add_loots.rb → ..._models-0.6.1/db/migrate/007_add_loots.rb
File renamed without changes.
View
0 ...dels-0.6.0/db/migrate/008_create_users.rb → ...dels-0.6.1/db/migrate/008_create_users.rb
File renamed without changes.
View
0 ...s-0.6.0/db/migrate/009_add_loots_ctype.rb → ...s-0.6.1/db/migrate/009_add_loots_ctype.rb
File renamed without changes.
View
0 ...-0.6.0/db/migrate/010_add_alert_fields.rb → ...-0.6.1/db/migrate/010_add_alert_fields.rb
File renamed without changes.
View
0 ...odels-0.6.0/db/migrate/011_add_reports.rb → ...odels-0.6.1/db/migrate/011_add_reports.rb
File renamed without changes.
View
0 ..._models-0.6.0/db/migrate/012_add_tasks.rb → ..._models-0.6.1/db/migrate/012_add_tasks.rb
File renamed without changes.
View
0 ...-0.6.0/db/migrate/013_add_tasks_result.rb → ...-0.6.1/db/migrate/013_add_tasks_result.rb
File renamed without changes.
View
0 ...-0.6.0/db/migrate/014_add_loots_fields.rb → ...-0.6.1/db/migrate/014_add_loots_fields.rb
File renamed without changes.
View
0 ...odels-0.6.0/db/migrate/015_rename_user.rb → ...odels-0.6.1/db/migrate/015_rename_user.rb
File renamed without changes.
View
0 ...-0.6.0/db/migrate/016_add_host_purpose.rb → ...-0.6.1/db/migrate/016_add_host_purpose.rb
File renamed without changes.
View
0 ...dels-0.6.0/db/migrate/017_expand_info2.rb → ...dels-0.6.1/db/migrate/017_expand_info2.rb
File renamed without changes.
View
0 ...db/migrate/018_add_workspace_user_info.rb → ...db/migrate/018_add_workspace_user_info.rb
File renamed without changes.
View
0 ....6.0/db/migrate/019_add_workspace_desc.rb → ....6.1/db/migrate/019_add_workspace_desc.rb
File renamed without changes.
View
0 ....0/db/migrate/020_add_user_preferences.rb → ....1/db/migrate/020_add_user_preferences.rb
File renamed without changes.
View
0 .../migrate/021_standardize_info_and_data.rb → .../migrate/021_standardize_info_and_data.rb
File renamed without changes.
View
0 ....6.0/db/migrate/022_enlarge_event_info.rb → ....6.1/db/migrate/022_enlarge_event_info.rb
File renamed without changes.
View
0 ...b/migrate/023_add_report_downloaded_at.rb → ...b/migrate/023_add_report_downloaded_at.rb
File renamed without changes.
View
0 ...grate/024_convert_service_info_to_text.rb → ...grate/024_convert_service_info_to_text.rb
File renamed without changes.
View
0 ...ls-0.6.0/db/migrate/025_add_user_admin.rb → ...ls-0.6.1/db/migrate/025_add_user_admin.rb
File renamed without changes.
View
0 ...s-0.6.0/db/migrate/026_add_creds_table.rb → ...s-0.6.1/db/migrate/026_add_creds_table.rb
File renamed without changes.
View
0 ...grate/20100819123300_migrate_cred_data.rb → ...grate/20100819123300_migrate_cred_data.rb
File renamed without changes.
View
0 ...ate/20100824151500_add_exploited_table.rb → ...ate/20100824151500_add_exploited_table.rb
File renamed without changes.
View
0 ...20100908001428_add_owner_to_workspaces.rb → ...20100908001428_add_owner_to_workspaces.rb
File renamed without changes.
View
0 ...te/20100911122000_add_report_templates.rb → ...te/20100911122000_add_report_templates.rb
File renamed without changes.
View
0 ...rate/20100916151530_require_admin_flag.rb → ...rate/20100916151530_require_admin_flag.rb
File renamed without changes.
View
0 ...0916175000_add_campaigns_and_templates.rb → ...0916175000_add_campaigns_and_templates.rb
File renamed without changes.
View
0 ...20100920012100_add_generate_exe_column.rb → ...20100920012100_add_generate_exe_column.rb
File renamed without changes.
View
0 ...rate/20100926214000_add_template_prefs.rb → ...rate/20100926214000_add_template_prefs.rb
File renamed without changes.
View
0 .../migrate/20101001000000_add_web_tables.rb → .../migrate/20101001000000_add_web_tables.rb
File renamed without changes.
View
0 ....0/db/migrate/20101002000000_add_query.rb → ....1/db/migrate/20101002000000_add_query.rb
File renamed without changes.
View
0 ...b/migrate/20101007000000_add_vuln_info.rb → ...b/migrate/20101007000000_add_vuln_info.rb
File renamed without changes.
View
0 ...0101008111800_add_clients_to_campaigns.rb → ...0101008111800_add_clients_to_campaigns.rb
File renamed without changes.
View
0 ...0101009023300_add_campaign_attachments.rb → ...0101009023300_add_campaign_attachments.rb
File renamed without changes.
View
0 ...rate/20101104135100_add_imported_creds.rb → ...rate/20101104135100_add_imported_creds.rb
File renamed without changes.
View
0 .../migrate/20101203000000_fix_web_tables.rb → .../migrate/20101203000000_fix_web_tables.rb
File renamed without changes.
View
0 ...ate/20101203000001_expand_host_comment.rb → ...ate/20101203000001_expand_host_comment.rb
File renamed without changes.
View
0 ...033_add_limit_to_network_to_workspaces.rb → ...033_add_limit_to_network_to_workspaces.rb
File renamed without changes.
View
0 ...0110112154300_add_module_uuid_to_tasks.rb → ...0110112154300_add_module_uuid_to_tasks.rb
File renamed without changes.
View
0 ...b/migrate/20110204112800_add_host_tags.rb → ...b/migrate/20110204112800_add_host_tags.rb
File renamed without changes.
View
0 ...grate/20110317144932_add_session_table.rb → ...grate/20110317144932_add_session_table.rb
File renamed without changes.
View
0 ...14180600_add_local_id_to_session_table.rb → ...14180600_add_local_id_to_session_table.rb
File renamed without changes.
View
0 ...igrate/20110415175705_add_routes_table.rb → ...igrate/20110415175705_add_routes_table.rb
File renamed without changes.
View
0 .../migrate/20110422000000_convert_binary.rb → .../migrate/20110422000000_convert_binary.rb
File renamed without changes.
View
0 ...110425095900_add_last_seen_to_sessions.rb → ...110425095900_add_last_seen_to_sessions.rb
File renamed without changes.
View
0 ...110513143900_track_successful_exploits.rb → ...110513143900_track_successful_exploits.rb
File renamed without changes.
View
0 ...17160800_rename_and_prune_nessus_vulns.rb → ...17160800_rename_and_prune_nessus_vulns.rb
File renamed without changes.
View
0 ...527000000_add_task_id_to_reports_table.rb → ...527000000_add_task_id_to_reports_table.rb
File renamed without changes.
View
0 ...rate/20110527000001_add_api_keys_table.rb → ...rate/20110527000001_add_api_keys_table.rb
File renamed without changes.
View
0 ...igrate/20110606000001_add_macros_table.rb → ...igrate/20110606000001_add_macros_table.rb
File renamed without changes.
View
0 ...0622000000_add_settings_to_tasks_table.rb → ...0622000000_add_settings_to_tasks_table.rb
File renamed without changes.
View
0 ...ate/20110624000001_add_listeners_table.rb → ...ate/20110624000001_add_listeners_table.rb
File renamed without changes.
View
0 ...625000001_add_macro_to_listeners_table.rb → ...625000001_add_macro_to_listeners_table.rb
File renamed without changes.
View
0 ...10630000001_add_nexpose_consoles_table.rb → ...10630000001_add_nexpose_consoles_table.rb
File renamed without changes.
View
0 ...002_add_name_to_nexpose_consoles_table.rb → ...002_add_name_to_nexpose_consoles_table.rb
File renamed without changes.
View
0 ...rate/20110717000001_add_profiles_table.rb → ...rate/20110717000001_add_profiles_table.rb
File renamed without changes.
View
0 ...0110727163801_expand_cred_ptype_column.rb → ...0110727163801_expand_cred_ptype_column.rb
File renamed without changes.
View
0 ...ate/20110730000001_add_initial_indexes.rb → ...ate/20110730000001_add_initial_indexes.rb
File renamed without changes.
View
0 ...b/migrate/20110812000001_prune_indexes.rb → ...b/migrate/20110812000001_prune_indexes.rb
File renamed without changes.
View
0 ...db/migrate/20110922000000_expand_notes.rb → ...db/migrate/20110922000000_expand_notes.rb
File renamed without changes.
View
0 ...grate/20110928101300_add_mod_ref_table.rb → ...grate/20110928101300_add_mod_ref_table.rb
File renamed without changes.
View
0 ...0000_add_display_name_to_reports_table.rb → ...0000_add_display_name_to_reports_table.rb
File renamed without changes.
View
0 ...db/migrate/20111203000000_inet_columns.rb → ...db/migrate/20111203000000_inet_columns.rb
File renamed without changes.
View
0 ...grate/20111204000000_more_inet_columns.rb → ...grate/20111204000000_more_inet_columns.rb
File renamed without changes.
View
0 ...rate/20111210000000_add_scope_to_hosts.rb → ...rate/20111210000000_add_scope_to_hosts.rb
File renamed without changes.
View
0 ...120126110000_add_virtual_host_to_hosts.rb → ...120126110000_add_virtual_host_to_hosts.rb
File renamed without changes.
View
0 ...0120411173220_rename_workspace_members.rb → ...0120411173220_rename_workspace_members.rb
File renamed without changes.
View
0 ...0601152442_add_counter_caches_to_hosts.rb → ...0601152442_add_counter_caches_to_hosts.rb
File renamed without changes.
View
0 ...igrate/20120625000000_add_vuln_details.rb → ...igrate/20120625000000_add_vuln_details.rb
File renamed without changes.
View
0 ...igrate/20120625000001_add_host_details.rb → ...igrate/20120625000001_add_host_details.rb
File renamed without changes.
View
0 .../migrate/20120625000002_expand_details.rb → .../migrate/20120625000002_expand_details.rb
File renamed without changes.
View
0 ...migrate/20120625000003_expand_details2.rb → ...migrate/20120625000003_expand_details2.rb
File renamed without changes.
View
0 ...grate/20120625000004_add_vuln_attempts.rb → ...grate/20120625000004_add_vuln_attempts.rb
File renamed without changes.
View
0 ...00005_add_vuln_and_host_counter_caches.rb → ...00005_add_vuln_and_host_counter_caches.rb
File renamed without changes.
View
0 ...rate/20120625000006_add_module_details.rb → ...rate/20120625000006_add_module_details.rb
File renamed without changes.
View
0 ...te/20120625000007_add_exploit_attempts.rb → ...te/20120625000007_add_exploit_attempts.rb
File renamed without changes.
View
0 ...igrate/20120625000008_add_fail_message.rb → ...igrate/20120625000008_add_fail_message.rb
File renamed without changes.
View
0 ...805_add_owner_and_payload_to_web_vulns.rb → ...805_add_owner_and_payload_to_web_vulns.rb
File renamed without changes.
View
0 ...red_columns_to_null_false_in_web_vulns.rb → ...red_columns_to_null_false_in_web_vulns.rb
File renamed without changes.
View
0 ...s/metasploit_data_models-0.6.0/lib/mdm.rb → ...s/metasploit_data_models-0.6.1/lib/mdm.rb
File renamed without changes.
View
0 ...dm/host/operating_system_normalization.rb → ...dm/host/operating_system_normalization.rb
File renamed without changes.
View
0 ...odels-0.6.0/lib/metasploit_data_models.rb → ...odels-0.6.1/lib/metasploit_data_models.rb
File renamed without changes.
View
0 ...tasploit_data_models/base64_serializer.rb → ...tasploit_data_models/base64_serializer.rb
File renamed without changes.
View
23 ...emcache/ruby/1.9.1/gems/metasploit_data_models-0.6.1/lib/metasploit_data_models/engine.rb
@@ -0,0 +1,23 @@
+require 'rails'
+
+module MetasploitDataModels
+ class Engine < Rails::Engine
+ # @see http://viget.com/extend/rails-engine-testing-with-rspec-capybara-and-factorygirl
+ config.generators do |g|
+ g.assets false
+ g.fixture_replacement :factory_girl, :dir => 'spec/factories'
+ g.helper false
+ g.test_framework :rspec, :fixture => false
+ end
+
+ initializer 'metasploit_data_models.prepend_factory_path', :after => 'factory_girl.set_factory_paths' do
+ if defined? FactoryGirl
+ relative_definition_file_path = config.generators.options[:factory_girl][:dir]
+ definition_file_path = root.join(relative_definition_file_path)
+
+ # unshift so that Pro can modify mdm factories
+ FactoryGirl.definition_file_paths.unshift definition_file_path
+ end
+ end
+ end
+end
View
0 ...etasploit_data_models/serialized_prefs.rb → ...etasploit_data_models/serialized_prefs.rb
File renamed without changes.
View
0 ..._models/validators/ip_format_validator.rb → ..._models/validators/ip_format_validator.rb
File renamed without changes.
View
0 ...alidators/password_is_strong_validator.rb → ...alidators/password_is_strong_validator.rb
File renamed without changes.
View
2 ...6.0/lib/metasploit_data_models/version.rb → ...6.1/lib/metasploit_data_models/version.rb
@@ -4,5 +4,5 @@ module MetasploitDataModels
# metasploit-framework/data/sql/migrate to db/migrate in this project, not all models have specs that verify the
# migrations (with have_db_column and have_db_index) and certain models may not be shared between metasploit-framework
# and pro, so models may be removed in the future. Because of the unstable API the version should remain below 1.0.0
- VERSION = '0.6.0'
+ VERSION = '0.6.1'
end
View
26 lib/gemcache/ruby/1.9.1/gems/metasploit_data_models-0.6.1/lib/tasks/yard.rake
@@ -0,0 +1,26 @@
+# @note All options not specific to any given rake task should go in the .yardopts file so they are available to both
+# the below rake tasks and when invoking `yard` from the command line
+
+if defined? YARD
+ namespace :yard do
+ YARD::Rake::YardocTask.new(:doc) do |t|
+ # --no-stats here as 'stats' task called after will print fuller stats
+ t.options = ['--no-stats']
+
+ t.after = Proc.new {
+ Rake::Task['yard:stats'].execute
+ }
+ end
+
+ desc "Shows stats for YARD Documentation including listing undocumented modules, classes, constants, and methods"
+ task :stats => :environment do
+ stats = YARD::CLI::Stats.new
+ stats.run('--compact', '--list-undoc')
+ end
+ end
+
+ # @todo Figure out how to just clone description from yard:doc
+ desc "Generate YARD documentation"
+ # allow calling namespace to as a task that goes to default task for namespace
+ task :yard => ['yard:doc']
+end
View
0 ...dels-0.6.0/metasploit_data_models.gemspec → ...dels-0.6.1/metasploit_data_models.gemspec
File renamed without changes.
View
0 ...metasploit_data_models-0.6.0/script/rails → ...metasploit_data_models-0.6.1/script/rails
File renamed without changes.
View
0 ....6.0/spec/app/models/mdm/web_vuln_spec.rb → ....6.1/spec/app/models/mdm/web_vuln_spec.rb
File renamed without changes.
View
0 ...oit_data_models-0.6.0/spec/dummy/Rakefile → ...oit_data_models-0.6.1/spec/dummy/Rakefile
File renamed without changes.
View
0 ...mmy/app/assets/javascripts/application.js → ...mmy/app/assets/javascripts/application.js
File renamed without changes.
View
0 ...my/app/assets/stylesheets/application.css → ...my/app/assets/stylesheets/application.css
File renamed without changes.
View
0 ...app/controllers/application_controller.rb → ...app/controllers/application_controller.rb
File renamed without changes.
View
0 ...c/dummy/app/helpers/application_helper.rb → ...c/dummy/app/helpers/application_helper.rb
File renamed without changes.
View
0 ...data_models-0.6.0/spec/dummy/log/.gitkeep → ...els-0.6.1/spec/dummy/app/mailers/.gitkeep
File renamed without changes.
View
0 ...dels-0.6.0/spec/dummy/lib/assets/.gitkeep → ...dels-0.6.1/spec/dummy/app/models/.gitkeep
File renamed without changes.
View
0 ...my/app/views/layouts/application.html.erb → ...my/app/views/layouts/application.html.erb
File renamed without changes.
View
0 ...it_data_models-0.6.0/spec/dummy/config.ru → ...it_data_models-0.6.1/spec/dummy/config.ru
File renamed without changes.
View
2 ...ls-0.6.0/spec/dummy/config/application.rb → ...ls-0.6.1/spec/dummy/config/application.rb
@@ -2,7 +2,7 @@
require 'rails/all'
-Bundler.require
+Bundler.require(*Rails.groups)
# require the engine being tested. In a non-dummy app this would be handled by the engine's gem being in the Gemfile
# for real app and Bundler.require requiring the gem.
require 'metasploit_data_models'
View
0 ...ta_models-0.6.0/spec/dummy/config/boot.rb → ...ta_models-0.6.1/spec/dummy/config/boot.rb
File renamed without changes.
View
0 ....0/spec/dummy/config/database.yml.example → ....1/spec/dummy/config/database.yml.example
File renamed without changes.
View
0 ...ls-0.6.0/spec/dummy/config/environment.rb → ...ls-0.6.1/spec/dummy/config/environment.rb
File renamed without changes.
View
0 .../dummy/config/environments/development.rb → .../dummy/config/environments/development.rb
File renamed without changes.
View
0 ...c/dummy/config/environments/production.rb → ...c/dummy/config/environments/production.rb
File renamed without changes.
View
0 ....0/spec/dummy/config/environments/test.rb → ....1/spec/dummy/config/environments/test.rb
File renamed without changes.
View
0 ...onfig/initializers/backtrace_silencers.rb → ...onfig/initializers/backtrace_silencers.rb
File renamed without changes.
View
0 .../dummy/config/initializers/inflections.rb → .../dummy/config/initializers/inflections.rb
File renamed without changes.
View
0 ...c/dummy/config/initializers/mime_types.rb → ...c/dummy/config/initializers/mime_types.rb
File renamed without changes.
View
0 ...dummy/config/initializers/secret_token.rb → ...dummy/config/initializers/secret_token.rb
File renamed without changes.
View
0 ...ummy/config/initializers/session_store.rb → ...ummy/config/initializers/session_store.rb
File renamed without changes.
View
0 ...my/config/initializers/wrap_parameters.rb → ...my/config/initializers/wrap_parameters.rb
File renamed without changes.
View
0 ..._models-0.6.0/spec/dummy/config/routes.rb → ..._models-0.6.1/spec/dummy/config/routes.rb
File renamed without changes.
View
0 ...data_models-0.6.0/spec/dummy/db/schema.rb → ...data_models-0.6.1/spec/dummy/db/schema.rb
File renamed without changes.
View
0 ...dels-0.6.0/spec/dummy/app/models/.gitkeep → ...dels-0.6.1/spec/dummy/lib/assets/.gitkeep
File renamed without changes.
View
0 ...els-0.6.0/spec/dummy/app/mailers/.gitkeep → ...data_models-0.6.1/spec/dummy/log/.gitkeep
File renamed without changes.
View
0 ...a_models-0.6.0/spec/dummy/public/404.html → ...a_models-0.6.1/spec/dummy/public/404.html
File renamed without changes.
View
0 ...a_models-0.6.0/spec/dummy/public/422.html → ...a_models-0.6.1/spec/dummy/public/422.html
File renamed without changes.
View
0 ...a_models-0.6.0/spec/dummy/public/500.html → ...a_models-0.6.1/spec/dummy/public/500.html
File renamed without changes.
View
0 ...odels-0.6.0/spec/dummy/public/favicon.ico → ...odels-0.6.1/spec/dummy/public/favicon.ico
File renamed without changes.
View
0 ...data_models-0.6.0/spec/dummy/script/rails → ...data_models-0.6.1/spec/dummy/script/rails
File renamed without changes.
View
0 ...els-0.6.0/spec/factories/mdm/addresses.rb → ...els-0.6.1/spec/factories/mdm/addresses.rb
File renamed without changes.
View
0 ..._models-0.6.0/spec/factories/mdm/hosts.rb → ..._models-0.6.1/spec/factories/mdm/hosts.rb
File renamed without changes.
View
0 ...dels-0.6.0/spec/factories/mdm/services.rb → ...dels-0.6.1/spec/factories/mdm/services.rb
File renamed without changes.
View
0 ..._models-0.6.0/spec/factories/mdm/users.rb → ..._models-0.6.1/spec/factories/mdm/users.rb
File renamed without changes.
View
0 ...els-0.6.0/spec/factories/mdm/web_sites.rb → ...els-0.6.1/spec/factories/mdm/web_sites.rb
File renamed without changes.
View
0 ...els-0.6.0/spec/factories/mdm/web_vulns.rb → ...els-0.6.1/spec/factories/mdm/web_vulns.rb
File renamed without changes.
View
0 ...ls-0.6.0/spec/factories/mdm/workspaces.rb → ...ls-0.6.1/spec/factories/mdm/workspaces.rb
File renamed without changes.
View
0 ...-0.6.0/spec/lib/base64_serializer_spec.rb → ...-0.6.1/spec/lib/base64_serializer_spec.rb
File renamed without changes.
View
0 ...oit_data_models-0.6.0/spec/spec_helper.rb → ...oit_data_models-0.6.1/spec/spec_helper.rb
File renamed without changes.
View
4 ...ions/metasploit_data_models-0.6.0.gemspec → ...ions/metasploit_data_models-0.6.1.gemspec
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = "metasploit_data_models"
- s.version = "0.6.0"
+ s.version = "0.6.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Trevor Rosen"]
- s.date = "2013-03-06"
+ s.date = "2013-03-07"
s.description = "Implements minimal ActiveRecord models and database helper code used in both the Metasploit Framework (MSF) and Metasploit commercial editions."
s.email = ["trevor_rosen@rapid7.com"]
s.executables = ["mdm_console"]

0 comments on commit 725fbea

Please sign in to comment.
Something went wrong with that request. Please try again.