Class: Msf::Exploit::Remote::RDP::RDPConstants

Inherits:
Object
  • Object
show all
Defined in:
lib/msf/core/exploit/remote/rdp.rb

Overview

Constants

Constant Summary collapse

SSL_REQUIRED_BY_SERVER =
1
SSL_NOT_ALLOWED_BY_SERVER =
2
SSL_CERT_NOT_ON_SERVER =
3
INCONSISTENT_FLAGS =
4
HYBRID_REQUIRED_BY_SERVER =
5
SSL_WITH_USER_AUTH_REQUIRED_BY_SERVER =
6
PROTOCOL_RDP =
0
PROTOCOL_SSL =
1
PROTOCOL_HYBRID =
2
PROTOCOL_RDSTLS =
4
PROTOCOL_HYBRID_EX =
8
RDP_NEG_PROTOCOL =
{
  0 => "PROTOCOL_RDP",
  1 => "PROTOCOL_SSL",
  2 => "PROTOCOL_HYBRID",
  4 => "PROTOCOL_RDSTLS",
  8 => "PROTOCOL_HYBRID_EX"
}
RDP_NEG_FAILURE =
{
  1 => "SSL_REQUIRED_BY_SERVER",
  2 => "SSL_NOT_ALLOWED_BY_SERVER",
  3 => "SSL_CERT_NOT_ON_SERVER",
  4 => "INCONSISTENT_FLAGS",
  5 => "HYBRID_REQUIRED_BY_SERVER",
  6 => "SSL_WITH_USER_AUTH_REQUIRED_BY_SERVER"
}
REDIRECTION_SUPPORTED =
0x1
REDIRECTION_VERSION3 =
0x2 << 2
REDIRECTION_VERSION4 =
0x3 << 2
REDIRECTION_VERSION5 =
0x4 << 2
ENCRYPTION_40BIT =
0x01
ENCRYPTION_128BIT =
0x02
ENCRYPTION_56BIT =
0x08
ENCRYPTION_FIPS =
0x10
LICENSE_REQUEST =
0x01
LICENSE_PLATFORM_CHALLENGE =
0x02
LICENSE_NEW_LICENSE =
0x03
LICENSE_UPGRADE_LICENSE =
0x04
LICENSE_LICENSE_INFO =
0x12
LICENSE_NEW_LICENSE_REQ =
0x13
LICENSE_PLATFORM_CHAL_RESP =
0x15
LICENSE_ERROR_ALERT =
0xff
LICENSE_TAGS =
{
  0x01 => "LICENSE_REQUEST",
  0x02 => "LICENSE_PLATFORM_CHALLENGE",
  0x03 => "LICENSE_NEW_LICENSE",
  0x04 => "LICENSE_UPGRADE_LICENSE",
  0x12 => "LICENSE_LICENSE_INFO",
  0x13 => "LICENSE_NEW_LICENSE_REQ",
  0x15 => "LICENSE_PLATFORM_CHAL_RESP",
  0xff => "LICENSE_ERROR_ALERT"
}
LICENSE_ERR_INVALID_SCOPE =
0x04
LICENSE_ERR_NO_LICENSE_SERVER =
0x06
LICENSE_ERR_LICENSE_ISSUED =
0x07
LICENSE_ERR_INVALID_CLIENT =
0x08
LICENSE_ERR_INVALID_PRODUCTID =
0x0b
LICENSE_ERR_INVALID_MSG_LEN =
0x0c
LICENSE_ERRS =
{
  0x04 => "INVALID_SCOPE",
  0x06 => "NO_LICENSE_SERVER",
  0x07 => "LICENSE_ISSUED",
  0x08 => "INVALID_CLIENT",
  0x0b => "INVALID_PRODUCTID",
  0x0c => "INVALID_MSG_LEN"
}
CHAN_INITIALIZED =
0x80000000
CHAN_ENCRYPT_RDP =
0x40000000
CHAN_ENCRYPT_SC =
0x20000000
CHAN_ENCRYPT_CS =
0x10000000
CHAN_PRI_HIGH =
0x08000000
CHAN_PRI_MED =
0x04000000
CHAN_PRI_LOW =
0x02000000
CHAN_COMPRESS_RDP =
0x00800000
CHAN_COMPRESS =
0x00400000
CHAN_SHOW_PROTOCOL =
0x00200000
CHAN_REMOTE_CONTROL_PERSISTENT =
0x00100000
CHAN_FLAG_FIRST =
0x01
CHAN_FLAG_LAST =
0x02
CHAN_FLAG_SHOW_PROTOCOL =
0x10
RDPDR_CTYP_CORE =
0x4472
PAKID_CORE_SERVER_ANNOUNCE =
0x496e
PAKID_CORE_SERVER_CAPABILITY =
0x5350
PAKID_CORE_CLIENTID_CONFIRM =
0x4343
PAKID_CORE_CLIENT_NAME =
0x434e
PAKID_CORE_DEVICELIST_ANNOUNCE =
0x4441