Add Mdm::ExploitAttempt#module_class association and its inverse
Mdm::Module::Class#exploit_attempts. This deprecates
Mdm::ExploitAttempt#module, which has ActiveSupport::Deprecation
Mdm::ExploitAttempt#service already holds the Mdm::Service#port and
Mdm::Service#proto, so there's no need for the #port and #proto on
Mdm::ExploitAttempt. Mark them as deprecated for now and later remove
rake yard was hanging due to the stderr pipe buffer being full while
stdout was trying to be read from graphviz. The pipe was full due to
postscript font name warnings on OS X Mavericks, which can be fixed
locally using these instructions:
Committed changes fix YARD warnings and undocumented objects.
Mdm::Session#platform is removed as a String attribute in favor of
Mdm::Session#architecture and Mdm::Session#platform associations to
Mdm::Architecture and Mdm::Platform, respectively. The associations are
validated for presence so that new sessions require them, but the
foreign key columns are null: true to support legacy sessions.
Add Mdm::Session#exploit_class and Mdm::Session#payload_class to
deprecate Mdm::Session#via_exploit and Mdm::Session#via_payload,
respectively. Mdm::Module::Class gets #exploit_sessions and
#payload_sesions for the inverses.