Sha256: 221554de3d627d70964c7e413bcb223753a96f397d546fc6d8dad9d5c4fcfaac
Contents?: true
Size: 750 Bytes
Versions: 5
Compression:
Stored size: 750 Bytes
Contents
# -*- coding: binary -*- ## # # RFB protocol support # # by Joshua J. Drake <jduck> # # Based on: # vnc_auth_none contributed by Matteo Cantoni <goony[at]nothink.org> # vnc_auth_login contributed by carstein <carstein.sec[at]gmail.com> # ## module Rex module Proto module RFB DefaultPort = 5900 # Version information MajorVersions = [3, 4] # NOTE: We will emulate whatever minor version the server reports. # Security types class AuthType Invalid = 0 None = 1 VNC = 2 RA2 = 5 RA2ne = 6 Tight = 16 Ultra = 17 TLS = 18 VeNCrypt = 19 GtkVncSasl = 20 MD5Hash = 21 ColinDeanXVP = 22 def self.to_s(num) self.constants.each { |c| return c.to_s if self.const_get(c) == num } 'Unknown' end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems