class NatasLevel3

Level 3

Constants

LEVEL
USERS_FILE

Public Instance Methods

exec() click to toggle source
# File lib/natas.rb, line 173
def exec
  log("Parsing secret users file: #{USERS_FILE}")
  data = get(USERS_FILE).body
  match = /natas4:(\w{32})/.match(data)
  not_found unless match
  found(match[1])
end