Module: Rex::Proto::ACPP

Defined in:
lib/rex/proto/acpp.rb,
lib/rex/proto/acpp/client.rb,
lib/rex/proto/acpp/message.rb

Defined Under Namespace

Classes: Client, Message

Constant Summary collapse

DEFAULT_PORT =
5009
XOR_KEY =

This was taken from airport-util’s AirportInforRecord for ease of copying, but can also be obtained by XOR’ing the null-padded known plain text with the appropriate 32-byte ciphertext from an airport-util request

[
  14, 57, -8, 5, -60, 1, 85, 79, 12, -84,
  -123, 125, -122, -118, -75, 23, 62, 9, -56, 53,
  -12, 49, 101, 127, 60, -100, -75, 109, -106, -102,
  -91, 7, 46, 25, -40, 37, -28, 33, 117, 111,
  44, -116, -91, -99, 102, 106, 85, -9, -34, -23,
  40, -43, 20, -47, -123, -97, -36, 124, 85, -115,
  118, 122, 69, -25, -50, -7, 56, -59, 4, -63,
  -107, -113, -52, 108, 69, -67, 70, 74, 117, -41,
  -2, -55, 8, -11, 52, -15, -91, -65, -4, 92,
  117, -83, 86, 90, 101, -57, -18, -39, 24, -27,
  36, -31, -75, -81, -20, 76, 101, -35, 38, 42,
  21, -73, -98, -87, 104, -107, 84, -111, -59, -33,
  -100, 60, 21, -51, 54, 58, 5, -89, -114, -71,
  120, -123, 68, -127, -43, -49, -116, 44, 5, -3,
  6, 10, 53, -105, -66, -119, 72, -75, 116, -79,
  -27, -1, -68, 28, 53, -19, 22, 26, 37, -121,
  -82, -103, 88, -91, 100, -95, -11, -17, -84, 12,
  37, 29, -26, -22, -43, 119, 94, 105, -88, 85,
  -108, 81, 5, 31, 92, -4, -43, 13, -10, -6,
  -59, 103, 78, 121, -72, 69, -124, 65, 21, 15,
  76, -20, -59, 61, -58, -54, -11, 87, 126, 73,
  -120, 117, -76, 113, 37, 63, 124, -36, -11, 45,
  -42, -38, -27, 71, 110, 89, -104, 101, -92, 97,
  53, 47, 108, -52, -27, 93, -90, -86, -107, 55,
  30, 41, -24, 21, -44, 17, 69, 95, 28, -68,
  -107, 77, -74, -70, -123, 39
].pack("C*")