package
1.30.1
Repository: https://github.com/vulncheck-oss/go-exploit.git
Documentation: pkg.go.dev

# Packages

Package ajp is a very basic (and incomplete) implementation of the AJPv13 protocol.
`winbox.go` contains the logic for sending unencrypted M2 messages to the RouterOS Winbox port (8291).
Package rocketmq is a very basic (and incomplete) implementation of RocketMQ remoting protocol.

# Functions

BasicAuth takes a username and password and returns a string suitable for an Authorization header.
Using the variable amount of paths, return a URI without any extra '/'.
Turns `net/http` []*Cookie into a string for adding to the Cookie header.
Creates the HTTP client, generates the HTTP request, and sets the default user-agent.
converts a map of strings into a single string in application/x-www-urlencoded format (but does not encode the params!).
CreateRequestParamsEncoded is the encoded version of CreateRequestParams.
Go doesn't always like sending our exploit URI so use this raw version.
Provided an HTTP client and a req, this function triggers the HTTP request and converts the response body to a string.
Returns a valid HTTP/HTTPS URL provided the given input.
Provided an HTTP request, find the Set-Cookie headers, and extract the value of the specified cookie.
No description provided by the author
Generic send HTTP request and receive response.
Send an HTTP request but do not follow the 302 redirect.
Send an HTTP request, with the provided parameters in the params map stored in the body.
Send an HTTP request, with the provided parameters in the params map stored in the body, and with extra headers specified in the headers map.
Send an HTTP request, with the provided parameters in the params map URL encoded in the body.
Send an HTTP request, with the provided parameters in the params map URL encoded in the body, and with extra headers specified in the headers map.
Send an HTTP request with extra headers specified in the headers map.
this naming scheme is a little out of control.
Connections to the remote target with or without encryption depending on the ssl bool.
No description provided by the author
No description provided by the author
No description provided by the author
ParseCookies parses an HTTP response and returns a string suitable for a Cookie header.
Provided a map of headers, this function loops through them and sets them in the http request.
Connects to a remote target without encryption.
No description provided by the author
No description provided by the author
Connects to the remote target with encryption.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

GlobalCommTimeout is the default timeout for all socket communications.
GlobalUA is the default User-Agent for all go-exploit comms go:embed http-user-agent.txt.