Skip to content
KitploitKITPLOIT
FerramentasBlog
Enviar
FerramentasBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
go-cpe — Uma biblioteca Go para CPE (A Common Platform Enumeration 2.3) | Kitploit
Ferramentas/GitHubGitHub/knqyf263/go-cpe
Análise de VulnerabilidadesColeta de InformaçõesUtilitários e FrameworksInteligência de Ameaças
GitHubknqyf263/go-cpe

go-cpe

Uma biblioteca Go para CPE (A Common Platform Enumeration 2.3)

Ver Repositório
4112há 3 anosRevisado pelo Kitploit

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
Compartilhar

go-cpe

Build Status Coverage Status Go Report Card GoDoc MIT License

Uma biblioteca Go para CPE (Common Platform Enumeration 2.3)

go-cpe é uma implementação dos algoritmos de Naming e Matching do CPE, conforme descrito nas NIST IRs 7695 e 7696.

Para a implementação de referência em Java, consulte: https://cpe.mitre.org/specification/CPE_Reference_Implementation_Sep2011.zipx

Instalação e Uso

A instalação pode ser feita com um go get normal:

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

Comparação

Veja exemplo

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

Contribua

  1. faça um fork de um repositório: github.com/knqyf263/go-cpe para github.com/you/repo
  2. obtenha o código original: go get github.com/knqyf263/go-cpe
  3. trabalhe no código original
  4. adicione um remote ao seu repositório: git remote add myfork https://github.com/you/repo.git
  5. envie suas alterações: git push myfork
  6. crie um novo Pull Request
  • veja GitHub e Go: forking, pull requests e go-getting

Licença

MIT

Autor

Teppei Fukuda

Baixar ferramenta