Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
go-cpe — Une bibliothèque Go pour CPE (A Common Platform Enumeration 2.3) | Kitploit
Outils/GitHubGitHub/knqyf263/go-cpe
Analyse des VulnérabilitésCollecte d'InformationsUtilitaires et FrameworksRenseignement sur les Menaces
GitHubknqyf263/go-cpe

go-cpe

Une bibliothèque Go pour CPE (A Common Platform Enumeration 2.3)

Voir le dépôt
4112il y a 3 ansVérifié par Kitploit

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager

go-cpe

Build Status Coverage Status Go Report Card GoDoc MIT License

Une bibliothèque Go pour CPE(A Common Platform Enumeration 2.3)

go-cpe est une implémentation des algorithmes de nommage et de correspondance CPE, tels que décrits dans les NIST IR 7695 et 7696.

Pour l'implémentation Java de référence, voir : https://cpe.mitre.org/specification/CPE_Reference_Implementation_Sep2011.zipx

Installation et utilisation

L'installation peut être effectuée avec un simple go get :

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

Comparer

Voir exemple

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))
}

Contribuer

  1. forker un dépôt : github.com/knqyf263/go-cpe vers github.com/you/repo
  2. récupérer le code original : go get github.com/knqyf263/go-cpe
  3. travailler sur le code original
  4. ajouter un remote à votre dépôt : git remote add myfork https://github.com/you/repo.git
  5. pousser vos modifications : git push myfork
  6. créer une nouvelle Pull Request
  • voir GitHub et Go : forker, pull requests et go-getting

Licence

MIT

Auteur

Teppei Fukuda

Télécharger l’outil