UNPKG

@sectester/scan

Version:

The package defines a simple public API to manage scans and their expectations.

42 lines (41 loc) 1.38 kB
import { AttackParamLocation } from './models'; import { Target, TargetOptions } from './target'; export interface ScanSettingsOptions { tests: string[]; target: Target | TargetOptions; name?: string; repeaterId?: string; smart?: boolean; poolSize?: number; skipStaticParams?: boolean; attackParamLocations?: AttackParamLocation[]; } export declare class ScanSettings implements ScanSettingsOptions { private _name; get name(): string; private set name(value); private _repeaterId?; get repeaterId(): string | undefined; private set repeaterId(value); private _skipStaticParams; get skipStaticParams(): boolean; private set skipStaticParams(value); private _smart; get smart(): boolean; set smart(value: boolean); private _target; get target(): Target; private set target(value); private _poolSize; get poolSize(): number; private set poolSize(value); private _tests; get tests(): string[]; private set tests(value); private _attackParamLocations; get attackParamLocations(): AttackParamLocation[]; private set attackParamLocations(value); constructor({ name, tests, target, repeaterId, smart, poolSize, skipStaticParams, attackParamLocations }: ScanSettingsOptions); private resolveAttackParamLocations; private detectAttackParamLocations; }