Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
go-cpe — CPE(A Common Platform Enumeration 2.3)用のGoライブラリ | Kitploit
ツール/GitHubGitHub/knqyf263/go-cpe
脆弱性分析情報収集ユーティリティとフレームワーク脅威インテリジェンス
GitHubknqyf263/go-cpe

go-cpe

CPE(A Common Platform Enumeration 2.3)用のGoライブラリ

リポジトリを見る
41123年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

go-cpe

Build Status Coverage Status Go Report Card GoDoc MIT License

CPE(A Common Platform Enumeration 2.3) のための Go ライブラリです。

go-cpe は、NIST IR 7695 および 7696 に記述されている CPE 命名およびマッチングアルゴリズムの実装です。

参考となる Java 実装については、https://cpe.mitre.org/specification/CPE_Reference_Implementation_Sep2011.zipx を参照してください。

インストールと使用方法

通常の go get でインストールできます:

root@kitploit:~
$ go get github.com/knqyf263/go-cpe/...

比較

example を参照してください。

root@kitploit:~
package main

import (
	"fmt"

	"github.com/knqyf263/go-cpe/matching"
	"github.com/knqyf263/go-cpe/naming"
)

func main() {
	wfn, err := naming.UnbindURI("cpe:/a:microsoft:internet_explorer%01%01%01%01:8%02:beta")
	if err != nil {
		fmt.Println(err)
		return
	}
	wfn2, err := naming.UnbindFS(`cpe:2.3:a:microsoft:internet_explorer:8.0.6001:beta:*:*:*:*:*:*`)
	if err != nil {
		fmt.Println(err)
		return
	}
	fmt.Println(matching.IsDisjoint(wfn, wfn2))
	fmt.Println(matching.IsEqual(wfn, wfn2))
	fmt.Println(matching.IsSubset(wfn, wfn2))
	fmt.Println(matching.IsSuperset(wfn, wfn2))
}

貢献

  1. リポジトリをフォークする: github.com/knqyf263/go-cpe を github.com/you/repo にフォーク
  2. 元のコードを取得: go get github.com/knqyf263/go-cpe
  3. 元のコードで作業する
  4. 自分のリポジトリにリモートを追加: git remote add myfork https://github.com/you/repo.git
  5. 変更をプッシュ: git push myfork
  6. 新しいプルリクエストを作成する
  • GitHub と Go: フォーク、プルリクエスト、go-getting を参照してください。

ライセンス

MIT

著者

Teppei Fukuda

ツールをダウンロード