mass_driver.models.scan

Scanners for repos

Module Contents

Classes

Scanner

A single scanner

ScanFile

Config file for Scan Activity

ScanLoaded

The post-loaded version of ScanFile

Data

ScannerFunc

The scanner function itself, taking cloned repo, returning a dict of findings

API

mass_driver.models.scan.ScannerFunc = None

The scanner function itself, taking cloned repo, returning a dict of findings

class mass_driver.models.scan.Scanner[source]

Bases: typing.NamedTuple

A single scanner

name: str = None

The scanner’s name (plugin name)

func: mass_driver.models.scan.ScannerFunc = None

The scanner function itself

class mass_driver.models.scan.ScanFile[source]

Bases: pydantic.BaseModel

Config file for Scan Activity

scanner_names: list[str] = None

The list of scanner plugins to use

class mass_driver.models.scan.ScanLoaded[source]

Bases: mass_driver.models.scan.ScanFile

The post-loaded version of ScanFile

scanners: list[mass_driver.models.scan.Scanner] = None

Loaded Scanner objects