Documentation ¶
Overview ¶
Package raw provides raw http request parsing abilities for nuclei.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { FullURL string Method string Path string Data string Headers map[string]string UnsafeHeaders client.Headers UnsafeRawBytes []byte }
Request defines a basic HTTP raw request
func Parse ¶
func Parse(request string, inputURL *urlutil.URL, unsafe, disablePathAutomerge bool) (*Request, error)
Parse parses the raw request as supplied by the user
func ParseRawRequest ¶
ParseRawRequest parses the raw request as supplied by the user this function should only be used for self-contained requests
func (*Request) ApplyAuthStrategy ¶ added in v3.2.0
func (r *Request) ApplyAuthStrategy(strategy authx.AuthStrategy)
ApplyAuthStrategy applies the auth strategy to the request
func (*Request) TryFillCustomHeaders ¶
TryFillCustomHeaders after the Host header
Click to show internal directories.
Click to hide internal directories.