mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 21:21:53 +08:00
reduce scanner client fingerprints
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user