just check if decryption key is 16 bytes long
This commit is contained in:
@@ -255,7 +255,7 @@ func (dp *DemoParser) parseWorker() {
|
||||
spays := make([]*Sprays, 0)
|
||||
|
||||
cfg := demoinfocs.DefaultParserConfig
|
||||
if len(demo.DecryptionKey) >= 16 {
|
||||
if len(demo.DecryptionKey) == 16 {
|
||||
cfg.NetMessageDecryptionKey = demo.DecryptionKey
|
||||
}
|
||||
demoParser := demoinfocs.NewParserWithConfig(fDemo, cfg)
|
||||
|
Reference in New Issue
Block a user