driver

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoFinal

func DoFinal(run *Chromedp, navigationCtx context.Context, username string, result *models.Result)

func SliceContainsInt

func SliceContainsInt(slice []int, num int) bool

SliceContainsInt ... returns true/false

Types

type Chromedp

type Chromedp struct {
	// contains filtered or unexported fields
}

Chromedp is a driver that probes web targets using chromedp Implementation ref: https://github.com/chromedp/examples/blob/master/multi/main.go

func NewChromedp

func NewChromedp(logger *slog.Logger, opts runner.Options) (*Chromedp, error)

NewChromedp returns a new Chromedp instance

func (*Chromedp) Check

func (run *Chromedp) Check(username string, password string, thisRunner *runner.Runner, to int, enumOnly bool) (*models.Result, error)

witness does the work of probing a url. This is where everything comes together as far as the runner is concerned.

func (*Chromedp) Close

func (run *Chromedp) Close()

Jump to

Keyboard shortcuts

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