viz

package
v3.0.0-...-6f57ffb Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VizData

func VizData(ctx context.Context, g *netmap.Graph, uuids []string) ([]Node, []Edge)

VizData returns the current state of the Graph as viz package Nodes and Edges.

func WriteD3Data

func WriteD3Data(output io.Writer, nodes []Node, edges []Edge) error

WriteD3Data generates a HTML file that displays the Amass graph using D3.

func WriteDOTData

func WriteDOTData(output io.Writer, nodes []Node, edges []Edge) error

WriteDOTData generates a DOT file to display the Amass graph.

func WriteGEXFData

func WriteGEXFData(output io.Writer, nodes []Node, edges []Edge) error

WriteGEXFData generates a GEXF file to display the Amass graph using Gephi.

func WriteGraphistryData

func WriteGraphistryData(output io.Writer, nodes []Node, edges []Edge) error

WriteGraphistryData generates a JSON file to display the Amass graph using Graphistry.

func WriteMaltegoData

func WriteMaltegoData(output io.Writer, nodes []Node, edges []Edge)

WriteMaltegoData converts the Amass graph nodes and edges into a structured table format (CSV) that can be input by Maltego.

Types

type Edge

type Edge struct {
	From, To int
	Label    string
	Title    string
}

Edge represents an Amass graph edge throughout the viz package.

type Node

type Node struct {
	ID         int
	Type       string
	Label      string
	Title      string
	Source     string
	ActualType string
}

Node represents an Amass graph node throughout the viz package.

Jump to

Keyboard shortcuts

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