Class: Rex::Proto::RFB::Constants::AuthType

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/proto/rfb/constants.rb

Overview

Constant Summary collapse

Invalid =
0
None =
1
VNC =
2
RealVNC_3 =

RealVNC has 3-15 registered

3
RealVNC_4 =
4
RA2 =
5
RA2ne =
6
RealVNC_7 =
7
RealVNC_8 =
8
RealVNC_9 =
9
RealVNC_10 =
10
RealVNC_11 =
11
RealVNC_12 =
12
RealVNC_13 =
13
RealVNC_14 =
14
RealVNC_15 =
15
Tight =
16
Ultra =
17
TLS =
18
VeNCrypt =

In TigerVNC this is used when one of the following options is specified: Plain, TLSNone, TLSVnc, TLSPlain, X509Vnc, X509Plain

19
GtkVncSasl =
20
MD5Hash =
21
ColinDeanXVP =
22
SecureTunnel =
23
IntegratedSSH =
24
ARD =
30
Apple_31 =

Apple has 31-35 registered, but no details on what these are. 36 is not registered but seems to be used by Apple

31
Apple_32 =
32
Apple_33 =
33
Apple_34 =
34
MacOSX_35 =
35
AppleUnknown_36 =
36
RealVNC_128 =

116 has been observed in the wild in the following combo: Ultra, Unknown: 116, VNC

128
RealVNC_or_TightUnixLoginAuth =
129
RealVNC_130 =
130
RealVNC_131 =
131
RealVNC_132 =
132
RealVNC_133 =
133
RealVNC_134 =
134
RealVNC_192 =
192
MSLOGON =
0xfffffffa

Class Method Summary collapse

Class Method Details

.to_s(num) ⇒ Object


72
73
74
75
76
77
# File 'lib/rex/proto/rfb/constants.rb', line 72

def self.to_s(num)
  constants.each do |c|
    return c.to_s if const_get(c) == num
  end
  "Unknown: #{num}"
end