Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
go-cpe — Una librería de Go para CPE (A Common Platform Enumeration 2.3) | Kitploit
Herramientas/GitHubGitHub/knqyf263/go-cpe
Análisis de VulnerabilidadesRecopilación de InformaciónUtilidades y FrameworksInteligencia de Amenazas
GitHubknqyf263/go-cpe

go-cpe

Una librería de Go para CPE (A Common Platform Enumeration 2.3)

Ver Repositorio
4112hace 3 añosRevisado por Kitploit

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

go-cpe

Build Status Coverage Status Go Report Card GoDoc MIT License

Una librería de Go para CPE(A Common Platform Enumeration 2.3)

go-cpe es una implementación de los algoritmos de Naming y Matching de CPE, tal como se describen en los NIST IR 7695 y 7696.

Para la implementación de referencia en Java, consulte: https://cpe.mitre.org/specification/CPE_Reference_Implementation_Sep2011.zipx

Instalación y Uso

La instalación se puede realizar con un go get normal:

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

Comparar

Ver ejemplo

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

Contribuir

  1. haz un fork de un repositorio: github.com/knqyf263/go-cpe a github.com/you/repo
  2. obtén el código original: go get github.com/knqyf263/go-cpe
  3. trabaja en el código original
  4. añade el remoto a tu repositorio: git remote add myfork https://github.com/you/repo.git
  5. sube tus cambios: git push myfork
  6. crea una nueva Pull Request
  • consulta GitHub and Go: forking, pull requests, and go-getting

Licencia

MIT

Autor

Teppei Fukuda

Descargar herramienta