jsonp_callback

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleID    = "jsonp-callback"
	ModuleName  = "JSONP Callback Injection"
	ModuleShort = "Detects JSONP endpoints that allow cross-origin data theft via callback injection"
)

Variables

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

	ModuleConfirmation = "" /* 189-byte string literal not displayed */
	ModuleSeverity     = severity.Medium
	ModuleConfidence   = severity.Firm
	ModuleTags         = []string{"xss", "info-disclosure", "moderate"}
)

Functions

This section is empty.

Types

type Module

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

Module implements the JSONP Callback Injection active scanner.

func New

func New() *Module

func (*Module) ScanPerRequest

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

Jump to

Keyboard shortcuts

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