class NatasLevel1

Level 1

Constants

LEVEL
PAGE

Public Instance Methods

exec() click to toggle source
# File lib/natas.rb, line 143
def exec
  log("Parsing the page: #{PAGE}")
  data = get(PAGE).body
  match = /<!--The password for natas2 is (\w{32}) -->/.match(data)
  not_found unless match
  found(match[1])
end