scope

package
v0.0.0-...-05dbf7b Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	Includes [][]string
	Excludes [][]string
	Counter  int
}

Match contains lists of regex submatches

func Parse

func Parse(m Match, scopes, source []string, silent bool, incTag, exTag string, resolveConflicts, avoid3P, bbaas bool) Match

Parse function takes a slice containing scope file data and applies regex to each line in order to extract targets from scope- matched targets are split into groups varying on type (host, url, iprange, etc) Returns a Match object

Jump to

Keyboard shortcuts

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