metaframework_probe

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleID    = "metaframework-probe"
	ModuleName  = "Metaframework Probe"
	ModuleShort = "Detects exposed Remix, Astro, and SvelteKit internal files and endpoints"
)

Variables

View Source
var (
	ModuleDesc = `` /* 733-byte string literal not displayed */

	ModuleConfirmation = "" /* 223-byte string literal not displayed */
	ModuleSeverity     = severity.Low
	ModuleConfidence   = severity.Firm
	ModuleTags         = []string{"javascript", "misconfiguration", "light"}
)

Functions

This section is empty.

Types

type Module

type Module struct {
	modkit.BaseActiveModule
	// contains filtered or unexported fields
}

Module implements the Metaframework Probe active scanner.

func New

func New() *Module

New creates a new Metaframework Probe module.

func (*Module) CanProcess

func (m *Module) CanProcess(ctx *httpmsg.HttpRequestResponse) bool

CanProcess returns true if the request has a response.

func (*Module) IncludesBaseCanProcess

func (m *Module) IncludesBaseCanProcess() bool

IncludesBaseCanProcess returns false because this module uses a custom CanProcess.

func (*Module) ScanPerHost

func (m *Module) ScanPerHost(
	ctx *httpmsg.HttpRequestResponse,
	httpClient *http.Requester,
	scanCtx *modkit.ScanContext,
) ([]*output.ResultEvent, error)

ScanPerHost probes for exposed meta-framework files and endpoints once per host.

Jump to

Keyboard shortcuts

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