http

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllMimeTypes

func GetAllMimeTypes(burpData []burp.Item)

func GetAllReqCount

func GetAllReqCount(burpItem []burp.Item, FilterMimeTypes []string) int

func GetBurpResponseBody

func GetBurpResponseBody(Response string) string

func MakeRequest

func MakeRequest(opt HTTPClient, c chan map[string]map[int]HttpResult, wg *sync.WaitGroup, uid string, burpItm burp.Item, idx int, cmdOptions *cmdOptions.CmdOpt, pbar *pb.ProgressBar)

func MakeRequestMultiAuth

func MakeRequestMultiAuth(postData string, k burp.Item, yamlAuthheaders []map[string]string, globalHeaders []map[string]string, HTTPHeader HTTPHeader, wg *sync.WaitGroup, resQueue chan map[string]map[int]HttpResult, cmdOpts *cmdOptions.CmdOpt, pbar *pb.ProgressBar)

Types

type HTTPClient

type HTTPClient struct {
	UserAgent        string
	DefaultUserAgent string
	Headers          []HTTPHeader
	Method           string
	Body             string
	URL              string
}

type HTTPHeader

type HTTPHeader struct {
	Name  string
	Value string
}

func GetPostDataAndContentType

func GetPostDataAndContentType(request string) (string, HTTPHeader)

type HttpResult

type HttpResult struct {
	Idx         int
	Id          string
	URL         string
	Method      string
	Header      HTTPHeader
	StatusCode  string
	Size        string
	Body        string
	Error       string
	RequestBody string
	BurpItem    burp.Item
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL