Documentation ¶
Index ¶
- Constants
- Variables
- type CheatCheck
- type CheckType
- type ClientCheatChecksResult
- type ClientCheckResult
- type ClientData
- type ClientHashResult
- type ClientResult
- type Command
- type CryptoData
- type Error
- type MemoryCheck
- type Reader
- type Request
- type ServerData
- type ServerHashRequest
- type ServerModuleInitialize
- type ServerModuleTransfer
- type ServerModuleUse
- type ServerRequest
- type ServerRequestCheatChecks
- type ServerRequestMemoryChecks
- type Writer
Constants ¶
View Source
const ( CheckSkip = 0 // SKIP CheckTiming = 87 // nyi CheckDriver = 113 // uint Seed + byte[20] SHA1 + byte driverNameIndex (check to ensure driver isn't loaded) CheckProcess = 126 // nyi CheckLuaEval = 139 // evaluate arbitrary Lua check CheckPaQ = 152 // get hash of MPQ file (to check it is not modified) CheckAllPages = 178 // scans all pages for specified SHA1 hash CheckMZPEPages = 191 // scans only pages starts with MZ+PE headers for specified hash CheckModule = 217 // check to make sure module isn't injected CheckMem = 243 // retrieve specific memory )
View Source
const PageCheckOK = 0xE9
Variables ¶
View Source
var ( ErrCheckBadChecksum = Error{"Bad checksum in client cheat checks"} ErrNeedCurrentChecks = Error{"CClientCheatChecksResult contains no intrinsic structure. It requires the last set of warden checks to be parsed"} )
Functions ¶
This section is empty.
Types ¶
type CheatCheck ¶
type ClientCheatChecksResult ¶
type ClientCheatChecksResult struct { CurrentChecks *ServerRequestCheatChecks Length uint16 Checksum uint32 CheckResults []ClientCheckResult }
func (*ClientCheatChecksResult) Command ¶
func (cccr *ClientCheatChecksResult) Command() Command
type ClientCheckResult ¶
type ClientData ¶
type ClientData struct {
Result ClientResult
}
type ClientHashResult ¶
type ClientHashResult struct {
Response []byte
}
func (*ClientHashResult) Command ¶
func (chr *ClientHashResult) Command() Command
type ClientResult ¶
type ClientResult Request
type CryptoData ¶
type MemoryCheck ¶
type Reader ¶
type Reader struct { CryptoData io.Reader }
type ServerData ¶
type ServerData struct {
Requests []ServerRequest
}
type ServerHashRequest ¶
type ServerHashRequest struct {
Seed []byte
}
func (*ServerHashRequest) Command ¶
func (shr *ServerHashRequest) Command() Command
type ServerModuleInitialize ¶
type ServerModuleInitialize struct { SizeFlags uint16 Type uint8 StringLibrary uint8 Function []uint64 FunctionSet uint8 }
func (*ServerModuleInitialize) Command ¶
func (smu *ServerModuleInitialize) Command() Command
type ServerModuleTransfer ¶
type ServerModuleTransfer struct {
Data []byte
}
func (*ServerModuleTransfer) Command ¶
func (smt *ServerModuleTransfer) Command() Command
type ServerModuleUse ¶
func (*ServerModuleUse) Command ¶
func (smu *ServerModuleUse) Command() Command
type ServerRequest ¶
type ServerRequest Request
type ServerRequestCheatChecks ¶
type ServerRequestCheatChecks struct {
Checks []CheatCheck
}
func (*ServerRequestCheatChecks) Command ¶
func (srcc *ServerRequestCheatChecks) Command() Command
type ServerRequestMemoryChecks ¶
type ServerRequestMemoryChecks struct {
Checks []MemoryCheck
}
func (*ServerRequestMemoryChecks) Command ¶
func (srmc *ServerRequestMemoryChecks) Command() Command
type Writer ¶
type Writer struct { CryptoData io.Writer }
Click to show internal directories.
Click to hide internal directories.