中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當前位置: 首頁 > news >正文

小說網(wǎng)站虛擬主機網(wǎng)絡(luò)促銷

小說網(wǎng)站虛擬主機,網(wǎng)絡(luò)促銷,響應(yīng)式網(wǎng)站是什么軟件做的,wordpress運行php代碼上一篇文章詳細介紹了 Golang 程序漏洞掃描工具 govulncheck 的使用方法,govulncheck 強大功能的背后,離不開 Go 漏洞數(shù)據(jù)庫(Go vulnerability database)的支持,接下來詳細講解下 Go 漏洞數(shù)據(jù)庫相關(guān)的知識。 Go 漏洞數(shù)…

上一篇文章詳細介紹了 Golang 程序漏洞掃描工具 govulncheck 的使用方法,govulncheck 強大功能的背后,離不開 Go 漏洞數(shù)據(jù)庫(Go vulnerability database)的支持,接下來詳細講解下 Go 漏洞數(shù)據(jù)庫相關(guān)的知識。

Go 漏洞數(shù)據(jù)庫(Go vulnerability database)是什么?

在當今數(shù)字化的世界中,軟件安全是至關(guān)重要的。隨著 Golang 在開發(fā)領(lǐng)域的日益流行,Go 項目的安全性也越來越重要。為了幫助開發(fā)者及時發(fā)現(xiàn)和解決與 Golang 相關(guān)的安全漏洞,Go 漏洞數(shù)據(jù)庫應(yīng)運而生。

Go 漏洞數(shù)據(jù)庫(Go vulnerability database),訪問地址是 https://vuln.go.dev 或者?https://pkg.go.dev/vuln,是一個存儲 Golang 安全漏洞信息的數(shù)據(jù)庫,由 Golang 官方維護。漏洞信息數(shù)據(jù)來自現(xiàn)有的源,例如 cve、ghsa 和 Go 包維護者直接提交的漏洞報告等,這些信息隨后由 Go 安全團隊審核并添加到數(shù)據(jù)庫中。

該數(shù)據(jù)庫支持多數(shù)據(jù)源訪問,提供訪問漏洞數(shù)據(jù)源的接口和默認實現(xiàn)。漏洞項使用 OSV(Open Source Vulnerability format)格式存儲和傳輸。開發(fā)人員可以基于 module 的路徑或者 ID 從漏洞數(shù)據(jù)庫中查找是否存在已知漏洞。

Go 漏洞數(shù)據(jù)庫 API

Go 漏洞數(shù)據(jù)庫提供基于 HTTP 協(xié)議,請求方式為 GET 的一系列接口,每個接口都是返回 JSON 類型的數(shù)據(jù)。

  1. 獲取數(shù)據(jù)庫元數(shù)據(jù)接口 /index/db.json[.gz]

示例如下:

$ curl https://vuln.go.dev/index/db.json
{"modified":"2023-08-23T14:38:50Z"}
  1. 獲取每個模塊元數(shù)據(jù)接口 /index/modules.json[.gz]

示例如下:

$ curl https://vuln.go.dev/index/modules.json
[ {// The module path."path": string,// The vulnerabilities that affect this module."vulns":[ {// The vulnerability ID."id": string,// The latest time the vulnerability should be considered// to have been modified, as an RFC3339-formatted UTC// timestamp ending in "Z"."modified": string,// (Optional) The module version (in SemVer 2.0.0 format)// that contains the latest fix for the vulnerability.// If unknown or unavailable, this should be omitted."fixed": string,} ]
} ]
  1. 獲取每個漏洞元數(shù)據(jù)接口 /index/vulns.json[.gz]

示例如下:

$ curl https://vuln.go.dev/index/vulns.json
[ {// The vulnerability ID."id": string,// The latest time the vulnerability should be considered// to have been modified, as an RFC3339-formatted UTC// timestamp ending in "Z"."modified": string,// A list of IDs of the same vulnerability in other databases."aliases": [ string ]} ]
  1. 獲取某個漏洞信息接口 /ID/$id.json[.gz]

示例如下:

$ curl https://vuln.go.dev/ID/GO-2023-2003.json
{"schema_version": "1.3.1","id": "GO-2023-2003","modified": "2023-08-10T22:06:06Z","published": "2023-08-10T22:06:06Z","aliases": ["GHSA-8c37-7qx3-4c4p"],"summary": "Blst fails to perform group signature validation","details": "When complemented with a check for infinity, blst skips performing a signature group-check. Formally speaking, infinity is the identity element of the elliptic curve group and as such it is a member of the group, so the group-check should be performed. The fix performs the check even in the presence of infinity.","affected": [{"package": {"name": "github.com/supranational/blst","ecosystem": "Go"},"ranges": [{"type": "SEMVER","events": [{"introduced": "0.3.0"},{"fixed": "0.3.11"}]}],"ecosystem_specific": {"imports": [{"path": "github.com/supranational/blst/bindings/go","symbols": ["P1Affine.SigValidate","P2Affine.SigValidate"]}]}}],"references": [{"type": "FIX","url": "https://github.com/supranational/blst/commit/fb91221c91c82f65bfc7f243256308977a06d48b"},{"type": "WEB","url": "https://github.com/supranational/blst/releases/tag/v0.3.11"}],"credits": [{"name": "Yunjong Jeong (@blukat29)"}],"database_specific": {"url": "https://pkg.go.dev/vuln/GO-2023-2003"}
}

govulncheck 使用漏洞數(shù)據(jù)庫方法

govulncheck 使用的漏洞數(shù)據(jù)地址是 https://vuln.go.dev,可以使用?-db 參數(shù)指定漏洞數(shù)據(jù)庫,支持 http://、https:// 和 file:// 協(xié)議。指定的漏洞數(shù)據(jù)庫必須實現(xiàn)上面講解的幾個 API。govulncheck 命令在從 http 源讀取時使用 “.json.gz” 端點,而從文件源讀取時,使用 “json”端點。

http://www.risenshineclean.com/news/35516.html

相關(guān)文章:

  • 建一個類似b站的網(wǎng)站多少錢百度用戶服務(wù)中心官網(wǎng)電話
  • 做搞笑視頻網(wǎng)站靠神魔賺錢好的競價推廣外包公司
  • 2018網(wǎng)站外鏈怎么做谷歌seo顧問
  • 棗莊網(wǎng)站設(shè)計淘寶指數(shù)在線查詢
  • 手機做網(wǎng)站怎么做網(wǎng)站快速收錄工具
  • 做游戲小網(wǎng)站是啥重慶百度seo整站優(yōu)化
  • 企業(yè)公司網(wǎng)站管理系統(tǒng)免費建站免費推廣的網(wǎng)站
  • 在網(wǎng)站插入微博靜態(tài)的網(wǎng)頁出的來到服務(wù)器出不來網(wǎng)站建設(shè)流程圖
  • 創(chuàng)意經(jīng)濟型網(wǎng)站建設(shè)個人網(wǎng)站推廣怎么做
  • 直銷軟件網(wǎng)站開發(fā)網(wǎng)站權(quán)重怎么提高
  • 新聞網(wǎng)站建設(shè)項目可行性報告網(wǎng)站媒體推廣方案
  • 上海門戶網(wǎng)站制推薦友情鏈接
  • 湖南seo丈哥seo博客
  • 返利網(wǎng)站制作最新病毒感染
  • 網(wǎng)站標簽名詞搜索排名優(yōu)化軟件
  • 會python做網(wǎng)站seo優(yōu)化前景
  • 天長企業(yè)網(wǎng)站制作最近的新聞?wù)?/a>
  • 做賭石網(wǎng)站客服的經(jīng)驗電子商務(wù)seo實訓總結(jié)
  • 網(wǎng)站做短信接口具體方法正規(guī)的關(guān)鍵詞優(yōu)化軟件
  • 多用戶智能網(wǎng)站建設(shè)源碼洛陽網(wǎng)站seo
  • 聊城開發(fā)區(qū)建設(shè)局網(wǎng)站湖南專業(yè)關(guān)鍵詞優(yōu)化服務(wù)水平
  • 公務(wù)員 做網(wǎng)站 違法網(wǎng)站制作網(wǎng)站推廣
  • 手機網(wǎng)站改版公司百度關(guān)鍵詞熱度查詢工具
  • 做電影網(wǎng)站模板教學網(wǎng)站制作設(shè)計
  • 專做醫(yī)藥中間體的網(wǎng)站今天微博熱搜前十名
  • 幫一個企業(yè)做網(wǎng)站流程seo線上培訓班
  • 效果圖在線制作重慶seo俱樂部
  • Iis 建網(wǎng)站為什么說沒有該用戶seo推廣顧問
  • 做電玩城設(shè)計的網(wǎng)站關(guān)鍵詞優(yōu)化公司
  • 如何搭建一個視頻網(wǎng)站互聯(lián)網(wǎng)營銷專業(yè)