fix
This commit is contained in:
parent
10e314ae7e
commit
662e1dc6e5
@ -156,6 +156,9 @@ func RequestWithWAFSession(method string, URL string, wafSession Session, option
|
|||||||
options.Ja3 = "772,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,23-27-65037-43-51-45-16-11-13-17513-5-18-65281-0-10-35,25497-29-23-24,0"
|
options.Ja3 = "772,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,23-27-65037-43-51-45-16-11-13-17513-5-18-65281-0-10-35,25497-29-23-24,0"
|
||||||
options.UserAgent = headers["user-agent"]
|
options.UserAgent = headers["user-agent"]
|
||||||
|
|
||||||
|
if options.Headers == nil {
|
||||||
|
options.Headers = map[string]string{}
|
||||||
|
}
|
||||||
for key, value := range headers {
|
for key, value := range headers {
|
||||||
options.Headers[key] = value
|
options.Headers[key] = value
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user