crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
b49ed62a
ROOT
/
pkg
/
kscan
/
lib
/
grdp
/
protocol
/
sec
/
sec.go
Search
History
883 lines
|
ISO-8859-1
|
24 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
EXCHANGE_PKT
:
uint16
TRANSPORT_REQ
TRANSPORT_RSP
ENCRYPT
RESET_SEQNO
IGNORE_SEQNO
INFO_PKT
LICENSE_PKT
LICENSE_ENCRYPT_CS
LICENSE_ENCRYPT_SC
REDIRECTION_PKT
SECURE_CHECKSUM
AUTODETECT_REQ
AUTODETECT_RSP
HEARTBEAT
FLAGSHI_VALID
INFO_MOUSE
:
uint32
INFO_DISABLECTRLALTDEL
INFO_AUTOLOGON
INFO_UNICODE
INFO_MAXIMIZESHELL
INFO_LOGONNOTIFY
INFO_COMPRESSION
INFO_ENABLEWINDOWSKEY
INFO_REMOTECONSOLEAUDIO
INFO_FORCE_ENCRYPTED_CS_PDU
INFO_RAIL
INFO_LOGONERRORS
INFO_MOUSE_HAS_WHEEL
INFO_PASSWORD_IS_SC_PIN
INFO_NOAUDIOPLAYBACK
INFO_USING_SAVED_CREDS
INFO_AUDIOCAPTURE
INFO_VIDEO_DISABLE
INFO_CompressionTypeMask
AF_INET
:
uint16
AF_INET6
PERF_DISABLE_WALLPAPER
:
uint32
PERF_DISABLE_FULLWINDOWDRAG
PERF_DISABLE_MENUANIMATIONS
PERF_DISABLE_THEMING
PERF_DISABLE_CURSOR_SHADOW
PERF_DISABLE_CURSORSETTINGS
PERF_ENABLE_FONT_SMOOTHING
PERF_ENABLE_DESKTOP_COMPOSITION
FASTPATH_OUTPUT_SECURE_CHECKSUM
FASTPATH_OUTPUT_ENCRYPTED
ClientAutoReconnect
CbAutoReconnectLen
:
uint16
CbLen
:
uint32
Version
:
uint32
LogonId
:
uint32
SecVerifier
:
[]byte
NewClientAutoReconnect
(id uint32, random []byte)
:
*ClientAutoReconnect
RDPExtendedInfo
ClientAddressFamily
:
uint16
CbClientAddress
:
uint16
ClientAddress
:
[]byte
CbClientDir
:
uint16
ClientDir
:
[]byte
ClientTimeZone
:
[]byte
ClientSessionId
:
uint32
PerformanceFlags
:
uint32
AutoReconnect
:
*ClientAutoReconnect
NewExtendedInfo
(auto *ClientAutoReconnect)
:
*RDPExtendedInfo
RDPInfo
CodePage
:
uint32
Flag
:
uint32
CbDomain
:
uint16
CbUserName
:
uint16
CbPassword
:
uint16
CbAlternateShell
:
uint16
CbWorkingDir
:
uint16
Domain
:
[]byte
UserName
:
[]byte
Password
:
[]byte
AlternateShell
:
[]byte
WorkingDir
:
[]byte
ExtendedInfo
:
*RDPExtendedInfo
NewRDPInfo
()
:
*RDPInfo
SecurityHeader
securityFlag
:
uint16
securityFlagHi
:
uint16
readSecurityHeader
(r io.Reader)
:
*SecurityHeader
SEC
emission.Emitter
transport
:
core.Transport
info
:
*RDPInfo
machineName
:
string
clientData
:
[]interface{}
serverData
:
[]interface{}
enableEncryption
:
bool
enableSecureCheckSum
:
bool
nbEncryptedPacket
:
int
nbDecryptedPacket
:
int
currentDecrytKey
:
[]byte
currentEncryptKey
:
[]byte
decryptRc4
:
*rc4.Cipher
encryptRc4
:
*rc4.Cipher
macKey
:
[]byte
NewSEC
(t core.Transport)
:
*SEC
macData
(macSaltKey, data []byte)
:
[]byte
Client
SEC
userId
:
uint16
channelId
:
uint16
initialDecrytKey
:
[]byte
initialEncryptKey
:
[]byte
fastPathListener
:
core.FastPathListener
NewClient
(t core.Transport)
:
*Client
saltedHash
(inputData, salt, salt1, salt2 []byte)
:
[]byte
finalHash
(key, random1, random2 []byte)
:
[]byte
masterSecret
(secret, random1, random2 []byte)
:
[]byte
sessionKeyBlob
(secret, random1, random2 []byte)
:
[]byte
generateKeys
(clientRandom, serverRandom []byte, method uint32)
:
([]byte, []byte, []byte)
ClientSecurityExchangePDU
Length
:
uint32
EncryptedClientRandom
:
[]byte
Padding
:
[]byte
*RDPExtendedInfo
Serialize
()
:
[]byte
*RDPInfo
SetClientAutoReconnect
(auto *ClientAutoReconnect)
Serialize
(hasExtended bool)
:
[]byte
*SEC
Read
(data []byte)
:
(n int, err error)
Write
(b []byte)
:
(n int, err error)
Close
()
:
error
sendFlagged
(flag uint16, data []byte)
:
(n int, err error)
readEncryptedPayload
(data []byte, checkSum bool)
:
[]byte
writeEncryptedPayload
(data []byte, checkSum bool)
:
[]byte
*Client
SetClientAutoReconnect
(id uint32, random []byte)
SetAlternateShell
(shell string)
SetUser
(user string)
SetPwd
(pwd string)
SetDomain
(domain string)
connect
(clientData []interface{}, serverData []interface{}, userId uint16, channels []t125.MCSChannelInfo)
ClientCoreData
()
:
*gcc.ClientCoreData
ClientSecurityData
()
:
*gcc.ClientSecurityData
ClientNetworkData
()
:
*gcc.ClientNetworkData
serverCoreData
()
:
*gcc.ServerCoreData
ServerSecurityData
()
:
*gcc.ServerSecurityData
sendClientRandom
()
sendInfoPkt
()
recvLicenceInfo
(s []byte)
sendClientNewLicenseRequest
(data []byte)
sendClientChallengeResponse
(data []byte)
recvData
(s []byte)
SetFastPathListener
(f core.FastPathListener)
RecvFastPath
(secFlag byte, s []byte)
*ClientSecurityExchangePDU
serialize
()
:
[]byte
All occurrences
Please wait...
Page is in error, reload to recover