From a35cf0656c3e9cc7d78077aa100a84ebfb403db0 Mon Sep 17 00:00:00 2001 From: Emmanuel Gautier Date: Tue, 26 Mar 2024 00:01:52 +0100 Subject: [PATCH] fix: change the vulnapi ua --- internal/request/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/request/request.go b/internal/request/request.go index 47d4bc4..c050dfb 100644 --- a/internal/request/request.go +++ b/internal/request/request.go @@ -31,7 +31,7 @@ func (r *Request) WithSecurityScheme(ss *auth.SecurityScheme) *Request { } func (r *Request) Do() (*http.Response, error) { - r.Header.Set("User-Agent", "MyProject") + r.Header.Set("User-Agent", "vulnapi") if securityScheme := *r.SecurityScheme; securityScheme != nil { for _, c := range securityScheme.GetCookies() {