Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/lib/rex/proto/drda/constants.rb
Views: 11702
# -*- coding: binary -*-123module Rex4module Proto5module DRDA6class Constants78require 'rex/text'910# DRDA Code Points1112EXCSAT = 0x1041 # Exchange Server Attributes13EXTNAM = 0x115e # External Name14MGRLVLLS = 0x1404 # Manager-Level List15SRVCLSNM = 0x1147 # Server Class Name16SRVNAM = 0x116d # Server Name17SRVRLSLV = 0x115a # Server Product Release Level18ACCSEC = 0x106d # Access Security19SECMEC = 0x11a2 # Security Mechanism20RDBNAM = 0x2110 # Relational Database Name21SECTKN = 0x11dc # Security Token22EXCSATRD = 0x1443 # Server Attributes Reply Data23ACCSECRD = 0x14ac # Access Security Reply Data24SRVDGN = 0x1153 # Server Diagnostic Information25RDBNFNRM = 0x2211 # Relational Database Not Found26SECCHK = 0x106e # Security Check27USERID = 0x11a0 # Remote User ID28PASSWORD = 0x11a1 # Remote Password29RDBACCCL = 0x210f # RDB Access Manager Class30PRDID = 0x112e # Product-Specific Identifier31PRDDTA = 0x2104 # Product-Specific Data32TYPEDEFNAM = 0x002f # Data Type Definition Name33TTPEDEFOVR = 0x0035 # TYPEDEF Overrides34CRRTKN = 0x2135 # Correlation Token35TRGDFTRT = 0x213b # Target Default Value Return36SQLCARD = 0x2408 # SQL Communications Area Reply Data37SECCHKRM = 0x1219 # Security Check Response Message38SRVCOD = 0x1149 # Severity Code39SECCHKCD = 0x11a4 # Security Check Code40ACCRDBRM = 0x2201 # Access to RDB Completed4142def self.const_values43self.constants.map {|x| self.const_get x}44end4546end47end48end49end505152