This commit is contained in:
Nite07 2024-12-03 23:54:27 +08:00
parent 60608c26cf
commit 10e314ae7e

View File

@ -140,6 +140,9 @@ func TurnstileMaxToken(ccsUrl string, requestUrl string) (string, error) {
} }
func RequestWithWAFSession(method string, URL string, wafSession Session, options *cycletls.Options) (cycletls.Response, error) { func RequestWithWAFSession(method string, URL string, wafSession Session, options *cycletls.Options) (cycletls.Response, error) {
if options == nil {
options = &cycletls.Options{}
}
headers := map[string]string{} headers := map[string]string{}
cookies := []string{} cookies := []string{}
for _, cookie := range wafSession.Cookies { for _, cookie := range wafSession.Cookies {