Rubocop fixes
This commit is contained in:
parent
ebe61b50a7
commit
e91beedc4a
|
@ -81,7 +81,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
print_status "Checking if #{peer} is vulnerable!"
|
||||
|
||||
res = execute_command('id')
|
||||
|
||||
|
||||
return CheckCode::Unknown("Didn't receive a response from the target.") unless res
|
||||
return CheckCode::Safe("Check URI Path, unexpected HTTP response code: #{res.code}.") unless res.code == 200
|
||||
|
||||
|
|
Loading…
Reference in New Issue