CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/proto/drda/constants.rb
Views: 11702
1
# -*- coding: binary -*-
2
3
4
module Rex
5
module Proto
6
module DRDA
7
class Constants
8
9
require 'rex/text'
10
11
# DRDA Code Points
12
13
EXCSAT = 0x1041 # Exchange Server Attributes
14
EXTNAM = 0x115e # External Name
15
MGRLVLLS = 0x1404 # Manager-Level List
16
SRVCLSNM = 0x1147 # Server Class Name
17
SRVNAM = 0x116d # Server Name
18
SRVRLSLV = 0x115a # Server Product Release Level
19
ACCSEC = 0x106d # Access Security
20
SECMEC = 0x11a2 # Security Mechanism
21
RDBNAM = 0x2110 # Relational Database Name
22
SECTKN = 0x11dc # Security Token
23
EXCSATRD = 0x1443 # Server Attributes Reply Data
24
ACCSECRD = 0x14ac # Access Security Reply Data
25
SRVDGN = 0x1153 # Server Diagnostic Information
26
RDBNFNRM = 0x2211 # Relational Database Not Found
27
SECCHK = 0x106e # Security Check
28
USERID = 0x11a0 # Remote User ID
29
PASSWORD = 0x11a1 # Remote Password
30
RDBACCCL = 0x210f # RDB Access Manager Class
31
PRDID = 0x112e # Product-Specific Identifier
32
PRDDTA = 0x2104 # Product-Specific Data
33
TYPEDEFNAM = 0x002f # Data Type Definition Name
34
TTPEDEFOVR = 0x0035 # TYPEDEF Overrides
35
CRRTKN = 0x2135 # Correlation Token
36
TRGDFTRT = 0x213b # Target Default Value Return
37
SQLCARD = 0x2408 # SQL Communications Area Reply Data
38
SECCHKRM = 0x1219 # Security Check Response Message
39
SRVCOD = 0x1149 # Severity Code
40
SECCHKCD = 0x11a4 # Security Check Code
41
ACCRDBRM = 0x2201 # Access to RDB Completed
42
43
def self.const_values
44
self.constants.map {|x| self.const_get x}
45
end
46
47
end
48
end
49
end
50
end
51
52