mirror of
https://github.com/Ed1s0nZ/PrivHunterAI.git
synced 2025-09-17 20:41:37 +00:00
Update scan.go
This commit is contained in:
parent
35ab0aa1a7
commit
222193641d
10
scan.go
10
scan.go
@ -123,7 +123,15 @@ func sendHTTPAndKimi(r *RequestResponseLog) (result string, respA string, respB
|
||||
return "", "", "", err
|
||||
}
|
||||
req.Header = r.Request.Header
|
||||
req.Header.Set("Cookie", config.GetConfig().Cookie2)
|
||||
// 增加其他头 2025 02 27
|
||||
if config.GetConfig().Headers2 != nil {
|
||||
for key, value := range config.GetConfig().Headers2 {
|
||||
req.Header.Set(key, value)
|
||||
}
|
||||
}
|
||||
// 2025 02 27 end
|
||||
// req.Header.Set("Cookie", config.GetConfig().Cookie2)
|
||||
|
||||
client := &http.Client{}
|
||||
resp, err := client.Do(req)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user