format

package
Version: v3.4.12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Version is used to display the current version of Amass.
	Version = "v3.4.0"

	// Author is used to display the Amass Project Team.
	Author = "OWASP Amass Project - @owaspamass"

	// Description is the slogan for the Amass Project.
	Description = "In-depth Attack Surface Mapping and Asset Discovery"
)
View Source

Banner is the ASCII art logo used within help output.

Variables

This section is empty.

Functions

func DesiredAddrTypes

func DesiredAddrTypes(addrs []requests.AddressInfo, ipv4, ipv6 bool) []requests.AddressInfo

DesiredAddrTypes removes undesired address types from the AddressInfo slice.

func OutputLineParts

func OutputLineParts(out *requests.Output, src, addrs, demo bool) (source, name, ips string)

OutputLineParts returns the parts of a line to be printed for a requests.Output.

func PrintBanner

func PrintBanner()

PrintBanner outputs the Amass banner the same for all tools.

func PrintEnumerationSummary

func PrintEnumerationSummary(total int, tags map[string]int, asns map[int]*ASNSummaryData, demo bool)

PrintEnumerationSummary outputs the summary information utilized by the command-line tools.

func UpdateSummaryData

func UpdateSummaryData(output *requests.Output, tags map[string]int, asns map[int]*ASNSummaryData)

UpdateSummaryData updates the summary maps using the provided requests.Output data.

Types

type ASNSummaryData

type ASNSummaryData struct {
	Name      string
	Netblocks map[string]int
}

ASNSummaryData stores information related to discovered ASs and netblocks.

type ParseCIDRs

type ParseCIDRs []*net.IPNet

ParseCIDRs implements the flag.Value interface.

func (*ParseCIDRs) Set

func (p *ParseCIDRs) Set(s string) error

Set implements the flag.Value interface.

func (*ParseCIDRs) String

func (p *ParseCIDRs) String() string

type ParseIPs

type ParseIPs []net.IP

ParseIPs implements the flag.Value interface.

func (*ParseIPs) Set

func (p *ParseIPs) Set(s string) error

Set implements the flag.Value interface.

func (*ParseIPs) String

func (p *ParseIPs) String() string

type ParseInts

type ParseInts []int

ParseInts implements the flag.Value interface.

func (*ParseInts) Set

func (p *ParseInts) Set(s string) error

Set implements the flag.Value interface.

func (*ParseInts) String

func (p *ParseInts) String() string

type ParseStrings

type ParseStrings []string

ParseStrings implements the flag.Value interface.

func (*ParseStrings) Set

func (p *ParseStrings) Set(s string) error

Set implements the flag.Value interface.

func (*ParseStrings) String

func (p *ParseStrings) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL