nmap

package
v0.0.0-...-0f6999a Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromXML

func FromXML(data []byte) (*scan.Run, error)

FromXML - Given the output of an Nmap Scan as a string in XML format, parse it and return a Run with its contents. If the unmarshalling fails, it returns both the model and the error, so always check the latter.

Types

type Run

type Run scan.Run

Run - The results of an Nmap scan that has been ran. This object is the root of the complete output XML tree of the scan.

func FromRun

func FromRun(pb *scan.Run) *Run

FromRun - If you have ran a Scan and parsed its XML output into an scan.Run protobuf type, you can create a scan out of it.

func (*Run) AsEntity

func (s *Run) AsEntity() maltego.Entity

AsEntity - Returns the Scan as a valid Maltego Entity.

Jump to

Keyboard shortcuts

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