Fix payload reference names #51

Closed
wants to merge 13 commits into
from

Conversation

Projects
None yet
2 participants
@limhoff-r7
Contributor

limhoff-r7 commented Jan 15, 2014

MSP-2878
MSP-9277
MSP-9108
MSP-9228

Supersedes #50 which superseded #49

limhoff-r7 added some commits Jan 3, 2014

Eager loading
MSP-9108

Support eager loading to allow Msf::DBManager to eager load
metasploit-model and metasploit_data_models prior to threading to fix
loading errors due to threading.
Mdm::Module::Instance.compatible_payloads_with
MSP-9228

Move some of the automatic payload choosing logic from
metasploit-framework into Mdm::Module::Instance to make better use of
the database cache.
Fix specs
MSP-9277
MSP-9108
Mdm::ExploitAttempt#module_class
MSP-2969

Add Mdm::ExploitAttempt#module_class association and its inverse
Mdm::Module::Class#exploit_attempts.  This deprecates
Mdm::ExploitAttempt#module, which has ActiveSupport::Deprecation
warnings now.
Deprecate Mdm::ExploitAttempt#port and #proto
MSP-9283

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
them.
Fix YARD
MSP-9285

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:
voormedia/rails-erd#61 (comment).
Committed changes fix YARD warnings and undocumented objects.
architecture and platform association for Mdm::Session
MSP-9285

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.
Mdm::Session connects to Mdm::Module::Class
MSP-3090

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.
Mdm::VulnAttempt#module_class association
MSP-2969

Mirror changes to Mdm::ExploitAttempt.

@limhoff-r7 limhoff-r7 referenced this pull request in limhoff-r7/metasploit-framework Jan 15, 2014

Closed

Exploit command #20

@jvazquez-r7

This comment has been minimized.

Show comment
Hide comment
@jvazquez-r7

jvazquez-r7 Feb 14, 2014

Contributor

Not related... but not sure why a loot has been related (belongs_to) to an Exploit Attempt.

Is Mdm::Loot relaed to a loot get while post exploitation :?

Not related... but not sure why a loot has been related (belongs_to) to an Exploit Attempt.

Is Mdm::Loot relaed to a loot get while post exploitation :?

@limhoff-r7

This comment has been minimized.

Show comment
Hide comment
@limhoff-r7

limhoff-r7 Mar 24, 2014

Contributor

Closing in favor of #52

Contributor

limhoff-r7 commented Mar 24, 2014

Closing in favor of #52

@limhoff-r7 limhoff-r7 closed this Mar 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment