This commit is contained in:
gospider
2024-08-17 11:07:04 +08:00
parent 71cb593bf6
commit ddb902eb94
5 changed files with 81 additions and 46 deletions

View File

@@ -11,10 +11,10 @@ import (
func TestJa3(t *testing.T) {
// j := "772,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,13-45-5-35-18-23-0-65281-10-65037-51-16-11-27-43-17513,12092-29-23-24,0"
j := "772,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,35-51-27-5-0-65281-13-65037-23-10-16-45-18-17513-43-11,29-23-24,0"
// j = "771,4866-4867-4865-49196-49200-159-52393-52392-52394-49195-49199-158-49188-49192-107-49187-49191-103-49162-49172-57-49161-49171-51-157-156-61-60-53-47-255,0-11-10-35-16-22-23-13-43-45-51,29-23-30-25-24,0-1-2"
// j := "772,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,43-16-27-18-5-45-0-23-11-17513-10-65281-65037-35-13-51,29-23-24,0"
ja3Spec, err := ja3.CreateSpecWithStr(j) //create ja3 spec with string
// ja3Spec, err := ja3.CreateSpecWithId(ja3.HelloChrome_100)
if err != nil {
t.Fatal(err)
}