Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleID = "django-browsable-api-exposure" ModuleName = "Django Browsable API Exposure" ModuleShort = "Detects DRF browsable API by requesting endpoints with Accept: text/html" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BaseActiveModule
// contains filtered or unexported fields
}
Module implements the Django Browsable API Exposure active scanner.
func (*Module) CanProcess ¶
func (m *Module) CanProcess(ctx *httpmsg.HttpRequestResponse) bool
func (*Module) IncludesBaseCanProcess ¶
func (*Module) ScanPerRequest ¶
func (m *Module) ScanPerRequest( ctx *httpmsg.HttpRequestResponse, httpClient *http.Requester, scanCtx *modkit.ScanContext, ) ([]*output.ResultEvent, error)
ScanPerRequest probes the host for DRF browsable API exposure.
Click to show internal directories.
Click to hide internal directories.