Fix code based on Will's feedback
parent
583874d370
commit
9064fac1ff
|
@ -58,11 +58,11 @@ CRASH_SAFE = 'crash-safe'
|
|||
# Module crashes service, but service restarts.
|
||||
CRASH_SERVICE_RESTARTS = 'crash-service-restarts'
|
||||
# Module crashes service, and service remains down.
|
||||
CRASH_SERVICE_DEAD = 'crash-service-dead'
|
||||
CRASH_SERVICE_DOWN = 'crash-service-down'
|
||||
# Module crashes the OS, but OS restarts.
|
||||
CRASH_OS_RESTARTS = 'crash-os-restarts'
|
||||
# Module crashes the OS, and OS remains down.
|
||||
CRASH_OS_DEAD = 'crash-os-dead'
|
||||
CRASH_OS_DOWN = 'crash-os-down'
|
||||
# Module causes a resource (such as a file or data in database) to be unavailable for the service.
|
||||
SERVICE_RESOURCE_LOSS = 'service-resource-loss'
|
||||
# Modules causes a resource (such as a file) to be unavailable for the OS.
|
||||
|
@ -87,7 +87,7 @@ SCREEN_EFFECTS = 'screen-effects'
|
|||
# Reliability
|
||||
#
|
||||
|
||||
# The module is may fail at first attempt
|
||||
# The module tends to fail to get a session at first attempt
|
||||
FIRST_ATTEMPT_FAIL = 'first-attempt-fail'
|
||||
# The module is expected to get a shell every time it fires
|
||||
REPEATABLE_SESSION = 'repeatable-session'
|
||||
|
|
|
@ -4,7 +4,7 @@ module Msf::Module::Reliability
|
|||
module ClassMethods
|
||||
def reliability
|
||||
instance = self.new
|
||||
instance.notes['Reliability'] ? instance.notes['Reliability'] : []
|
||||
instance.notes['Reliability'] || []
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ module Msf::Module::SideEffects
|
|||
module ClassMethods
|
||||
def side_effects
|
||||
instance = self.new
|
||||
instance.notes['SideEffects'] ? instance.notes['SideEffects'] : []
|
||||
instance.notes['SideEffects'] || []
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ module Msf::Module::Stability
|
|||
module ClassMethods
|
||||
def stability
|
||||
instance = self.new
|
||||
instance.notes['Stability'] ? instance.notes['Stability'] : []
|
||||
instance.notes['Stability'] || []
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ class MetasploitModule < Msf::Exploit::Local
|
|||
],
|
||||
'Notes' =>
|
||||
{
|
||||
# It overwrites PrintConfig.dll, which makes it unusable.
|
||||
# Exploit overwrites PrintConfig.dll, which makes it unusable.
|
||||
'Stability' => [ OS_RESOURCE_LOSS ],
|
||||
'Reliability' => [ REPEATABLE_SESSION ]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue