mirror of
https://github.com/teamchong/pxpipe.git
synced 2026-07-22 02:02:51 +02:00
1 line
678 B
JSON
1 line
678 B
JSON
[{"instance_id": "instance_future-architect__vuls-36456cb151894964ba1683ce7da5c35ada789970", "patch": "diff --git a/wordpress/wordpress.go b/wordpress/wordpress.go\nindex 2d44b9f..25e9ddf 100644\n--- a/wordpress/wordpress.go\n+++ b/wordpress/wordpress.go\n@@ -235,6 +235,14 @@ func extractToVulnInfos(pkgName string, cves []WpCveInfo) (vinfos []models.VulnI\n \treturn\n }\n \n+func searchCache(name string, wpVulnCaches *map[string]string) (string, bool) {\n+\tvalue, ok := (*wpVulnCaches)[name]\n+\tif ok {\n+\t\treturn value, true\n+\t}\n+\treturn \"\", false\n+}\n+\n func httpRequest(url, token string) (string, error) {\n \tretry := 1\n \tutil.Log.Debugf(\"%s\", url)\n"}] |