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

Inherits:
Message
  • Object
show all
Defined in:
lib/rex/proto/adb/message.rb

Constant Summary collapse

COMMAND =
"AUTH"
TYPE_TOKEN =
1
TYPE_SIGNATURE =
2

Instance Method Summary collapse

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