add acc-lc dl

This commit is contained in:
itouakirai
2025-01-15 15:34:20 +08:00
parent 33502a5975
commit 90ba76ef96
11 changed files with 7066 additions and 49 deletions

16
utils/runv3/cdm/pssh.go Normal file
View File

@ -0,0 +1,16 @@
package wv
import (
"bytes"
"io"
"net/http"
)
func GetCertData(client *http.Client, licenseURL string) ([]byte, error) {
response, err := client.Post(licenseURL, "application/x-www-form-urlencoded", bytes.NewReader([]byte{0x08, 0x04}))
if err != nil {
return nil, err
}
defer response.Body.Close()
return io.ReadAll(response.Body)
}