Class: Rex::Proto::ADB::Message::Auth

Inherits:
Rex::Proto::ADB::Message show all
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

#arg0, #arg1, #command, #data

Instance Method Summary collapse

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