Class: Rex::Proto::ADB::Message::Auth
- Inherits:
-
Rex::Proto::ADB::Message
- Object
- Rex::Proto::ADB::Message
- Rex::Proto::ADB::Message::Auth
- Defined in:
- lib/rex/proto/adb/message.rb
Constant Summary collapse
- COMMAND =
"AUTH"
- TYPE_TOKEN =
1
- TYPE_SIGNATURE =
2
Constants inherited from Rex::Proto::ADB::Message
MESSAGE_TYPES, WORD_PACK, WORD_WIDTH
Instance Attribute Summary
Attributes inherited from Rex::Proto::ADB::Message
Instance Method Summary collapse
-
#initialize(type, data) ⇒ Auth
constructor
A new instance of Auth.
Methods inherited from Rex::Proto::ADB::Message
#command_word, #data_check, #magic, read, #send_recv, #serialize, #to_s
Constructor Details
#initialize(type, data) ⇒ Auth
Returns a new instance of Auth.
112 113 114 |
# File 'lib/rex/proto/adb/message.rb', line 112 def initialize(type, data) super(type, 0, data) end |