Skip to content

Commit bec15eb

Browse files
author
HD Moore
committed
Remove Failure (moved to parent class)
1 parent 4706f8b commit bec15eb

File tree

1 file changed

+0
-75
lines changed

1 file changed

+0
-75
lines changed

lib/msf/core/exploit.rb

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -101,81 +101,6 @@ module CheckCode
101101
Unsupported = [ 'unsupported', "This exploit does not support check." ]
102102
end
103103

104-
105-
106-
##
107-
#
108-
# Constants indicating the reason for an unsuccessful exploit attempt
109-
#
110-
##
111-
module Failure
112-
113-
#
114-
# No confidence in success or failure
115-
#
116-
None = 'none'
117-
118-
#
119-
# No confidence in success or failure
120-
#
121-
Unknown = 'unknown'
122-
123-
#
124-
# The network service was unreachable (connection refused, etc)
125-
#
126-
Unreachable = 'unreachable'
127-
128-
#
129-
# The exploit settings were incorrect
130-
#
131-
BadConfig = 'bad-config'
132-
133-
#
134-
# The network service disconnected us mid-attempt
135-
#
136-
Disconnected = 'disconnected'
137-
138-
#
139-
# The application endpoint or specific service was not found
140-
#
141-
NotFound = 'not-found'
142-
143-
#
144-
# The application replied in an unexpected fashion
145-
#
146-
UnexpectedReply = 'unexpected-reply'
147-
148-
#
149-
# The exploit triggered some form of timeout
150-
#
151-
TimeoutExpired = 'timeout-expired'
152-
153-
#
154-
# The exploit was interrupted by the user
155-
#
156-
UserInterrupt = 'user-interrupt'
157-
158-
#
159-
# The application replied indication we do not have access
160-
#
161-
NoAccess = 'no-access'
162-
163-
#
164-
# The target is not compatible with this exploit or settings
165-
#
166-
NoTarget = 'no-target'
167-
168-
#
169-
# The application response indicated it was not vulnerable
170-
#
171-
NotVulnerable = 'not-vulnerable'
172-
173-
#
174-
# The payload was delivered but no session was opened (AV, network, etc)
175-
#
176-
PayloadFailed = 'payload-failed'
177-
end
178-
179104
#
180105
# The various basic types of exploits
181106
#

0 commit comments

Comments
 (0)