attck

package module
v0.0.0-...-e8e6655 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Example
package main

import (
	"fmt"

	"github.com/Secyourflow/attck"
)

func main() {
	if tactic, ok := attck.Objects["TA0004"]; ok {
		fmt.Println(tactic.Name)
		fmt.Println(tactic.URL)
	}

	if technique, ok := attck.Objects["T1548.002"]; ok {
		fmt.Println(technique.Name)
		fmt.Println(technique.FullName)
		fmt.Println(technique.URL)
	}

}
Output:

Privilege Escalation
https://attack.mitre.org/tactics/TA0004
Bypass User Account Control
Abuse Elevation Control Mechanism: Bypass User Account Control
https://attack.mitre.org/techniques/T1548/002

Index

Examples

Constants

This section is empty.

Variables

View Source
var Objects = map[string]*Object{}/* 794 elements not displayed */

Functions

This section is empty.

Types

type Object

type Object struct {
	ID          string `json:"id"`
	Type        string `json:"type"`
	Name        string `json:"name"`
	FullName    string `json:"full_name"`
	Description string `json:"description"`
	URL         string `json:"url"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL