v5.0.60: UA=Mozilla/5.0 exactly (DDoS-Guard TLS fingerprint bypass)

This commit is contained in:
“Naeel”
2026-07-01 14:33:38 +04:00
parent 45a722db29
commit 3308aebe76
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
nubes = {
source = "terra.k8c.ru/nubes-test/nubes"
version = "5.0.59"
version = "5.0.60"
}
}
}
Binary file not shown.
+1 -1
View File
@@ -804,7 +804,7 @@ func (c *UniversalClient) waitForInstanceIdle(ctx context.Context, instanceUid s
func (c *UniversalClient) doRequest(ctx context.Context, method, path string, payload interface{}) ([]byte, http.Header, error) {
// User-Agent: браузерный, чтобы пройти DDoS-Guard (см. docs/ops/API_TOKENS.md).
// Go-http-client по умолчанию блокируется фильтром ddos-guard.
const userAgent = "Mozilla/5.0 (compatible; Terraform-Provider-Nubes)"
const userAgent = "Mozilla/5.0"
const maxRetries = 3
baseDelay := 2 * time.Second
+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
var (
version string = "5.0.59"
version string = "5.0.60"
)
func main() {