Class: MetasploitDataModels::AutomaticExploitation::MatchResult

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/metasploit_data_models/automatic_exploitation/match_result.rb

Overview

The result of running a #match.

Constant Summary collapse

FAILED =

Running associated exploit did NOT create a session

"failed"
SUCCEEDED =

Running associated exploit created a session

"succeeded"
VALID_STATES =

Valid values for #state

[FAILED, SUCCEEDED]

Instance Attribute Summary collapse

Instance Attribute Details

#state'failed', 'succeeded'

Whether the #run of #match succeeded.

Returns:

  • ('failed', 'succeeded')


# File 'app/models/metasploit_data_models/automatic_exploitation/match_result.rb', line 35