Fix improved error handling

bug/bundler_fix
Martin Pizala 2017-08-04 23:42:44 +02:00
parent 60c3882b84
commit 2383afd8dc
No known key found for this signature in database
GPG Key ID: 50F0D0CE74400C95
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class MetasploitModule < Msf::Exploit::Remote
def exploit
# check if target is vulnerable
unless check == Exploit::CheckCode::Appears
unless check == Exploit::CheckCode::Vulnerable
fail_with(Failure::Unknown, 'Failed to connect to the target')
end