Documentation
¶
Overview ¶
Package plugins defines the spray-plugin contract and a global registry. Each plugin lives in its own subpackage and self-registers via init().
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attempt ¶
type Attempt struct {
URL string
Username string
Password string
UserAgent string
PluginArgs map[string]string
Client *http.Client
ProxySource ProxySource // optional; only populated when plugin needs pinned-proxy flights
// InsecureTLS mirrors Config.HTTPOpts.InsecureTLS. Plugins that build
// their own *http.Client (e.g. connection-pinned NTLM flows in ews,
// owa, and httpbrute) must honor this flag by forwarding it into
// httpclient.Options — otherwise a global --insecure-tls has no
// effect on those plugins.
InsecureTLS bool
}
type Plugin ¶
type ProxySource ¶
ProxySource is the minimum interface plugins need to pick a single proxy URL — e.g. for connection-bound NTLM/Kerberos flights where the pre-built Client's per-request proxy-rotation would split the handshake across different IPs.
type UserEnumerator ¶
type UserEnumerator interface {
UserEnumOnly() bool
}
UserEnumerator is an optional interface implemented by plugins that only enumerate usernames and never consume a password. The engine drives them with a single empty-password cycle.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package aadsts classifies Azure AD error codes (AADSTS*) into CredBaron plugin outcomes.
|
Package aadsts classifies Azure AD error codes (AADSTS*) into CredBaron plugin outcomes. |
|
Package adfs sprays AD Federation Services forms-auth endpoints.
|
Package adfs sprays AD Federation Services forms-auth endpoints. |
|
Package azuresso sprays Azure AD Seamless SSO via the WS-Trust endpoint.
|
Package azuresso sprays Azure AD Seamless SSO via the WS-Trust endpoint. |
|
Package azvault sprays Microsoft Online targeting the Azure Key Vault resource.
|
Package azvault sprays Microsoft Online targeting the Azure Key Vault resource. |
|
Package ews sprays Exchange Web Services (/ews/) via NTLM auth.
|
Package ews sprays Exchange Web Services (/ews/) via NTLM auth. |
|
Package fortinetvpn sprays a Fortinet/FortiGate VPN portal at /remote/logincheck.
|
Package fortinetvpn sprays a Fortinet/FortiGate VPN portal at /remote/logincheck. |
|
Package gmailenum performs Gmail/GSuite user enumeration via /mail/gxlu.
|
Package gmailenum performs Gmail/GSuite user enumeration via /mail/gxlu. |
|
Package httpbrute performs HTTP Basic / NTLM authentication against a target URL and classifies the result by status code.
|
Package httpbrute performs HTTP Basic / NTLM authentication against a target URL and classifies the result by status code. |
|
Package httppost is a generic POST spray plugin.
|
Package httppost is a generic POST spray plugin. |
|
Package msgraph sprays Microsoft Online targeting the Graph API resource.
|
Package msgraph sprays Microsoft Online targeting the Graph API resource. |
|
Package msol sprays Microsoft Online via the OAuth2 Resource Owner Password
|
Package msol sprays Microsoft Online via the OAuth2 Resource Owner Password |
|
Package o365enum performs Office 365 user enumeration via GetCredentialType.
|
Package o365enum performs Office 365 user enumeration via GetCredentialType. |
|
Package okta sprays the Okta primary auth endpoint.
|
Package okta sprays the Okta primary auth endpoint. |
|
Package owa sprays Outlook Web Access via NTLM auth on the autodiscover endpoint.
|
Package owa sprays Outlook Web Access via NTLM auth on the autodiscover endpoint. |
|
Package pingfed sprays a Ping Federate IdP via the two-step prp.wsf form flow.
|
Package pingfed sprays a Ping Federate IdP via the two-step prp.wsf form flow. |
Click to show internal directories.
Click to hide internal directories.