http_fuzzer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatHttpRequest

func FormatHttpRequest(requestWord RequestWord) string

Returns of an HTTP request for URL.

func MakeConnection

func MakeConnection(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

Types

type Fuzzer

type Fuzzer interface {
	Init(all bool) []*RequestWord
	Fuzz(ip string, domain string, requestWord RequestWord) (interface{}, interface{}, interface{})
}

type GetWordAlternate

type GetWordAlternate struct{}

func (*GetWordAlternate) Fuzz

func (g *GetWordAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*GetWordAlternate) Init

func (g *GetWordAlternate) Init(all bool) []*RequestWord

type GetWordCapitalize

type GetWordCapitalize struct{}

func (*GetWordCapitalize) Fuzz

func (g *GetWordCapitalize) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*GetWordCapitalize) Init

func (g *GetWordCapitalize) Init(all bool) []*RequestWord

type GetWordRemove

type GetWordRemove struct{}

func (*GetWordRemove) Fuzz

func (g *GetWordRemove) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*GetWordRemove) Init

func (g *GetWordRemove) Init(all bool) []*RequestWord

type HeaderAlternate

type HeaderAlternate struct{}

func (*HeaderAlternate) Fuzz

func (g *HeaderAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HeaderAlternate) Init

func (h *HeaderAlternate) Init(all bool) []*RequestWord

type HostNameAlternate

type HostNameAlternate struct{}

func (*HostNameAlternate) Fuzz

func (h *HostNameAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HostNameAlternate) Init

func (h *HostNameAlternate) Init(all bool) []*RequestWord

type HostWordAlternate

type HostWordAlternate struct{}

func (*HostWordAlternate) Fuzz

func (g *HostWordAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HostWordAlternate) Init

func (h *HostWordAlternate) Init(all bool) []*RequestWord

type HostWordCapitalize

type HostWordCapitalize struct{}

func (*HostWordCapitalize) Fuzz

func (h *HostWordCapitalize) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HostWordCapitalize) Init

func (h *HostWordCapitalize) Init(all bool) []*RequestWord

type HostWordRemove

type HostWordRemove struct{}

func (*HostWordRemove) Fuzz

func (h *HostWordRemove) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HostWordRemove) Init

func (h *HostWordRemove) Init(all bool) []*RequestWord

type HostnamePadding

type HostnamePadding struct{}

func (*HostnamePadding) Fuzz

func (h *HostnamePadding) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HostnamePadding) Init

func (h *HostnamePadding) Init(all bool) []*RequestWord

type HostnameSubdomainsAlternate

type HostnameSubdomainsAlternate struct{}

func (*HostnameSubdomainsAlternate) Fuzz

func (h *HostnameSubdomainsAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HostnameSubdomainsAlternate) Init

type HostnameTLDAlternate

type HostnameTLDAlternate struct{}

func (*HostnameTLDAlternate) Fuzz

func (h *HostnameTLDAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HostnameTLDAlternate) Init

func (h *HostnameTLDAlternate) Init(all bool) []*RequestWord

type HttpDelimiterWordRemove

type HttpDelimiterWordRemove struct{}

func (*HttpDelimiterWordRemove) Fuzz

func (g *HttpDelimiterWordRemove) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HttpDelimiterWordRemove) Init

func (h *HttpDelimiterWordRemove) Init(all bool) []*RequestWord

type HttpWordAlternate

type HttpWordAlternate struct{}

func (*HttpWordAlternate) Fuzz

func (g *HttpWordAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HttpWordAlternate) Init

func (h *HttpWordAlternate) Init(all bool) []*RequestWord

type HttpWordCapitalize

type HttpWordCapitalize struct{}

func (*HttpWordCapitalize) Fuzz

func (h *HttpWordCapitalize) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HttpWordCapitalize) Init

func (h *HttpWordCapitalize) Init(all bool) []*RequestWord

type HttpWordRemove

type HttpWordRemove struct{}

func (*HttpWordRemove) Fuzz

func (h *HttpWordRemove) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*HttpWordRemove) Init

func (h *HttpWordRemove) Init(all bool) []*RequestWord

type PathAlternate

type PathAlternate struct{}

func (*PathAlternate) Fuzz

func (g *PathAlternate) Fuzz(target string, hostname string, requestWord RequestWord) (interface{}, interface{}, interface{})

func (*PathAlternate) Init

func (h *PathAlternate) Init(all bool) []*RequestWord

type RequestWord

type RequestWord struct {
	Hostname          string
	GetWord           string `default:"GET"`
	HttpWord          string `default:"HTTP/1.1"`
	HostWord          string `default:"Host:"`
	HttpDelimiterWord string `default:"\r\n"`
	Path              string `default:"/"`
	Header            string `default:""`
}

Jump to

Keyboard shortcuts

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