Sha256: 64eda30926b7702fd8ac413ac9766498d0e237f7c986884e2aa2721be01760e4

Contents?: true

Size: 1.46 KB

Versions: 43

Compression:

Stored size: 1.46 KB

Contents

require 'rex/proto/drda'

module Rex
module Proto
module DRDA
class Constants

require 'rex/text'

# DRDA Code Points

EXCSAT     = 0x1041 # Exchange Server Attributes
EXTNAM     = 0x115e # External Name
MGRLVLLS   = 0x1404 # Manager-Level List
SRVCLSNM   = 0x1147 # Server Class Name
SRVNAM     = 0x116d # Server Name
SRVRLSLV   = 0x115a # Server Product Release Level
ACCSEC     = 0x106d # Access Security
SECMEC     = 0x11a2 # Security Mechanism
RDBNAM     = 0x2110 # Relational Database Name
SECTKN     = 0x11dc # Security Token
EXCSATRD   = 0x1443 # Server Attributes Reply Data
ACCSECRD   = 0x14ac # Access Security Reply Data
SRVDGN     = 0x1153 # Server Diagnostic Information
RDBNFNRM   = 0x2211 # Relational Database Not Found
SECCHK     = 0x106e # Security Check
USERID     = 0x11a0 # Remote User ID
PASSWORD   = 0x11a1 # Remote Password
RDBACCCL   = 0x210f # RDB Access Manager Class
PRDID      = 0x112e # Product-Specific Identifier
PRDDTA     = 0x2104 # Product-Specific Data
TYPEDEFNAM = 0x002f # Data Type Definition Name
TTPEDEFOVR = 0x0035 # TYPEDEF Overrides
CRRTKN     = 0x2135 # Correlation Token
TRGDFTRT   = 0x213b # Target Default Value Return
SQLCARD    = 0x2408 # SQL Communications Area Reply Data
SECCHKRM   = 0x1219 # Security Check Response Message
SRVCOD     = 0x1149 # Severity Code
SECCHKCD   = 0x11a4 # Security Check Code
ACCRDBRM   = 0x2201 # Access to RDB Completed

def self.const_values
	self.constants.map {|x| self.const_get x}
end

end
end
end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/proto/drda/constants.rb
librex-0.0.63 lib/rex/proto/drda/constants.rb
librex-0.0.54 lib/rex/proto/drda/constants.rb
librex-0.0.53 lib/rex/proto/drda/constants.rb
librex-0.0.52 lib/rex/proto/drda/constants.rb
librex-0.0.51 lib/rex/proto/drda/constants.rb
librex-0.0.50 lib/rex/proto/drda/constants.rb
librex-0.0.49 lib/rex/proto/drda/constants.rb
librex-0.0.48 lib/rex/proto/drda/constants.rb
librex-0.0.47 lib/rex/proto/drda/constants.rb
librex-0.0.46 lib/rex/proto/drda/constants.rb
librex-0.0.44 lib/rex/proto/drda/constants.rb
librex-0.0.43 lib/rex/proto/drda/constants.rb
librex-0.0.42 lib/rex/proto/drda/constants.rb
librex-0.0.41 lib/rex/proto/drda/constants.rb
librex-0.0.40 lib/rex/proto/drda/constants.rb
librex-0.0.39 lib/rex/proto/drda/constants.rb
librex-0.0.38 lib/rex/proto/drda/constants.rb
librex-0.0.37 lib/rex/proto/drda/constants.rb
librex-0.0.36 lib/rex/proto/drda/constants.rb