Skip to content

Fix payload reference names #51

Closed
wants to merge 13 commits into from

2 participants

@limhoff-r7

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

Supersedes #50 which superseded #49

limhoff-r7 added some commits Jan 3, 2014
@limhoff-r7 limhoff-r7 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.
e2e1790
@limhoff-r7 limhoff-r7 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.
f90c0e0
@limhoff-r7 limhoff-r7 Fix specs
MSP-9277
MSP-9108
1dbfc51
@limhoff-r7 limhoff-r7 Merge branch 'feature/eager_load' into feature/compatible-payloads a6726cc
@limhoff-r7 limhoff-r7 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.
63440e3
@limhoff-r7 limhoff-r7 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.
6d0392b
@limhoff-r7 limhoff-r7 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.
9337cff
@limhoff-r7 limhoff-r7 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.
08ff522
@limhoff-r7 limhoff-r7 Remove obsolete YARD docs
MSP-9285
6c1484d
@limhoff-r7 limhoff-r7 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.
6d42369
@limhoff-r7 limhoff-r7 Mdm::VulnAttempt#module_class association
MSP-2969

Mirror changes to Mdm::ExploitAttempt.
f3a617f
@limhoff-r7 limhoff-r7 Validations and null: false for Mdm::*Attempts
MSP-2969
MSP-9228
a55d149
@limhoff-r7 limhoff-r7 Fix payload reference names
MSP-2878
81bd261
@jvazquez-r7

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

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
Something went wrong with that request. Please try again.