Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Matir/webborer
/ types & classes
Types & classes
52 in github.com/Matir/webborer
⨍
Functions
321
◇
Types & classes
52
↓ 5 callers
TypeAlias
RobotsModeOption
Control how we handle robots.txt
settings/robotsmode.go:23
↓ 1 callers
TypeAlias
LinkType
Types of links
results/results.go:30
↓ 1 callers
TypeAlias
RunModeOption
Run mode specifies a couple of different ways for handling general operations.
settings/runmodes.go:24
Struct
BaselineResult
results/results_diff.go:17
Struct
CSVResultsManager
CSVResultsManager writes a CSV containing all of the results.
results/results_csv.go:25
Interface
Client
Client is a thin wrapper around http.Client to make enhancements to support our use case.
client/client.go:29
Interface
ClientFactory
A ClientFactory allows constructing HTTP Clients based on various Dialers or Transports.
client/factory.go:37
Struct
DiffResultsManager
results/results_diff.go:26
Struct
DotProductExpander
filter/dotproduct_expander.go:8
Struct
DurationFlag
DurationFlag is a flag.Value that takes a Duration spec (see time.Duration) and parses it and stores the Duration.
settings/durationflag.go:24
Interface
Expander
An Expander is responsible for taking input URLs and expanding them to the various mutations to be processed.
filter/expander.go:24
Struct
ExtensionExpander
Expand extensions when none are given
filter/extension_expander.go:26
Struct
FakePageWorker
worker/worker_test.go:174
Struct
HTMLResultsManager
HTMLResultsManager writes an HTML file containing the results.
results/results_html.go:25
Struct
HTMLWorker
worker/htmlworker.go:34
Struct
HeaderExpander
Header expander tries each of the headers known to it in turn
filter/header_expander.go:24
TypeAlias
HeaderFlag
HeaderFlag is an http.Header wrapped in the flag.Value interface.
settings/headerflag.go:26
TypeAlias
IntSliceFlag
IntSliceFlag is a flag.Value that takes a comma-separated string and turns it into a slice of ints.
settings/intsliceflag.go:26
Struct
LinkCheckResultsManager
Check results for broken links.
results/linkcheck.go:28
Struct
MockClient
client/mock/mock.go:34
Struct
MockClientFactory
client/mock/mock.go:29
Interface
PageWorker
worker/worker.go:38
Struct
PlainResultsManager
PlainResultsManager is designed to output a very basic output that is good for human reading, but not so good for machine parsing. This is the defaul
results/results_plain.go:26
Struct
ProxyClientFactory
ProxyClientFactory uses the h12.io/socks package to support SOCKS proxies when transporting requests to the webserver.
client/factory.go:43
FuncType
QueueAddCount
func(int)
workqueue/workqueue.go:60
FuncType
QueueAddFunc
func(...*task.Task)
workqueue/workqueue.go:59
FuncType
QueueDoneFunc
func(int)
workqueue/workqueue.go:61
Struct
Result
This is the result emitted by the worker for each URL tested.
results/results.go:49
FuncType
ResultGroupGenerator
func(*Result) string
results/results.go:90
Interface
ResultsManager
ResultsManager provides an interface for reading results from a channel and writing them to some form of output.
results/results.go:117
Struct
RobotsData
robots/robots.go:25
Struct
RobotsGroup
robots/robots.go:29
Struct
ScanSettings
ScanSettings store all of the settings for the running scan. It's basically a mapping from command-line flags into a single struct that can be passed
settings/settings.go:33
Interface
Stoppable
worker/worker.go:34
Struct
StringSliceFileFlag
StringSliceFileFlag is flag.Value that loads from a file into a wrapped StringSliceFlag
settings/stringsliceflag.go:43
TypeAlias
StringSliceFlag
StringSliceFlag is a flag.Value that takes a comma-separated or repeated string and turns it into a slice of strings.
settings/stringsliceflag.go:26
Struct
Task
task/task.go:24
FuncType
WordMangler
A WordMangler is responsible for modifying a wordlist entry to produce alternatives.
filter/wordlist_expander.go:40
Struct
WordlistExpander
An Expander is responsible for taking input URLs and expanding them to include all of the words in the wordlist.
filter/wordlist_expander.go:27
Struct
WorkCounter
Count work to do and work done
workqueue/workcounter.go:23
Struct
WorkFilter
WorkFilter is responsible for making sure that a given URL is only tested once, and also for applying any exclusion rules to prevent URLs from being s
filter/filter.go:34
Struct
WorkQueue
WorkQueue is a singleton that maintains the queue of work to be done. It reads from one input channel, verifies that the URL is in scope, queues it, t
workqueue/workqueue.go:33
Struct
Worker
Workers do the work of connecting to the server, issuing the request, and then optionally parsing the response. Normally a pool of several workers wi
worker/worker.go:46
Struct
baseResultsManager
results/results.go:126
Struct
httpClient
httpClient is the concrete implementation of the Client interface. The Client member is almost always an http.Client outside of tests.
client/client.go:43
Interface
httpClientInt
This interface just allows us to substitute a mock in tests
client/client.go:36
Struct
linkCheckCSVWriter
Write link check output in CSV
results/linkcheck.go:118
Struct
linkCheckHTMLWriter
Write link check output in HTML
results/linkcheck.go:147
Interface
linkCheckWriter
results/linkcheck.go:109
Struct
mockAuthHttpClient
Mock httpClient that checks auth with "user" and "pass"
client/client_test.go:54
Struct
mockHttpClient
Mock httpClient that returns arbitrary responses
client/client_test.go:26
Struct
queueNode
workqueue/workqueue.go:52