driver

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MustSaveBucketWords = []string{
	"leaks",
}
View Source
var MustSaveNameWords = []string{
	"passwords.txt",
	"history.txt",
	"brute.txt",
	"autofills",
}

Functions

func GetOrDefault

func GetOrDefault(data []string, index int, def string) string

Types

type InfoData

type InfoData struct {
	Name     string
	Date     time.Time
	Bucket   string
	Media    string
	Content  string
	Type     string
	Size     uint
	SystemID string
}

type IntelxParser

type IntelxParser 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 NewInteX

func NewInteX(logger *slog.Logger, opts runner.Options) (*IntelxParser, error)

NewChromedp returns a new Chromedp instance

func (*IntelxParser) Close

func (run *IntelxParser) Close()

func (*IntelxParser) MustSaveContent

func (run *IntelxParser) MustSaveContent(file *models.File) bool

func (*IntelxParser) ParseFile

func (run *IntelxParser) ParseFile(thisRunner *runner.Runner, file runner.FileItem) (*models.File, error)

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

func (*IntelxParser) ParseInfo

func (run *IntelxParser) ParseInfo(file_path string) error

Jump to

Keyboard shortcuts

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