Documentation
¶
Index ¶
Constants ¶
View Source
const (
Version = "v0.1.1"
)
Variables ¶
This section is empty.
Functions ¶
func FormatJSON ¶ added in v0.0.2
func FormatJSON(input *ResultData) ([]byte, error)
FormatJSON returns the input as JSON string.
func JSONOutput ¶ added in v0.1.0
func JSONOutput(json *ResultData)
JSONOutput marshals and prints the JSON output.
Types ¶
type ResultData ¶ added in v0.1.0
type ResultData struct {
// TargetURL is the original target URL.
TargetURL string `json:"TargetURL,omitempty"`
// ScanURL is the target URL + payload used for prototype pollution scan.
ScanURL string `json:"ScanURL,omitempty"`
// JSEvaluation is the JS result after prototype pollution scan
// in the browser console.
JSEvaluation string `json:"JSEvaluation,omitempty"`
// ScanError is the error after prototype pollution scan (if present).
ScanError string `json:"ScanError,omitempty"`
// Fingerprint is the JS result after fingerprint scan
// in the browser console.
Fingerprint []string `json:"Fingerprint,omitempty"`
// FingerprintError is the error after fingerprint scan (if present).
FingerprintError string `json:"FingerprintError,omitempty"`
// ExploitURLs are the URLs crafted to exploit the target URL (if present).
ExploitURLs []string `json:"ExploitURLs,omitempty"`
// ExploitError is the error after exploit scan (if present).
ExploitError string `json:"ExploitError,omitempty"`
// References are the links to read more on the vulnerable target exploitation.
References []string `json:"References,omitempty"`
}
JSONData struct holds the JSON output data.
Click to show internal directories.
Click to hide internal directories.