fixed shopify detector line number (#4149)

This commit is contained in:
Kashif Khan
2025-05-20 10:34:09 +05:00
committed by GitHub
parent fa703eacf6
commit d794f9b60e
+3
View File
@@ -53,6 +53,9 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
Raw: []byte(key + domainRes),
}
// set key as the primary secret for engine to find the line number
s1.SetPrimarySecretValue(key)
if verify {
req, err := http.NewRequestWithContext(ctx, "GET", "https://"+domainRes+"/admin/oauth/access_scopes.json", nil)
if err != nil {