reduce scanner client fingerprints

This commit is contained in:
ZacharyZcR
2026-05-23 07:20:24 +08:00
parent 0046817c2e
commit 1a714f6a0c
6 changed files with 44 additions and 38 deletions
+13
View File
@@ -0,0 +1,13 @@
package gcc
import (
"bytes"
"testing"
)
func TestClientCoreDataDoesNotExposeClientName(t *testing.T) {
data := NewClientCoreData()
if !bytes.Equal(data.ClientName[:], make([]byte, len(data.ClientName))) {
t.Fatalf("client name is not empty: %x", data.ClientName)
}
}