Skip to content

Commit 2383afd

Browse files
committed
Fix improved error handling
1 parent 60c3882 commit 2383afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/docker_daemon_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def check
144144

145145
def exploit
146146
# check if target is vulnerable
147-
unless check == Exploit::CheckCode::Appears
147+
unless check == Exploit::CheckCode::Vulnerable
148148
fail_with(Failure::Unknown, 'Failed to connect to the target')
149149
end
150150

0 commit comments

Comments
 (0)