Please switch to positive conditions:

```ruby

if res and res.code == 200
  return Exploit::CheckCode::Appears
end

return Exploit::CheckCode::Unknown
```