optimization

package
Version: v2.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abstraction

func Abstraction(s, payload string) []string

Abstraction is abstract for optimization

func FindIndexesInLine

func FindIndexesInLine(text, key string, lineSize, pointing int) []int

FindIndexesInLine is check included key data in line

func GenerateNewRequest

func GenerateNewRequest(url, payload string, options model.Options) *http.Request

GenerateNewRequest is make http.Cilent

func GetRawCookie

func GetRawCookie(cookies []*http.Cookie) string

GetRawCookie gets cookie from raw request

func MakeHeaderQuery

func MakeHeaderQuery(target, hn, hv string, options model.Options) (*http.Request, map[string]string)

MakeHeaderQuery is generate http query with custom header

func MakeRequestQuery

func MakeRequestQuery(target, param, payload, ptype string, pAction string, pEncode string, options model.Options) (*http.Request, map[string]string)

MakeRequestQuery is generate http query with custom parameters

func Optimization

func Optimization(payload string, badchars []string) bool

Optimization is remove payload included badchar

func SetPayloadValue

func SetPayloadValue(payloads []string, options model.Options) []string

SetPayloadValue is change alert/prompt/conrifm value and type

func UrlEncode

func UrlEncode(s string) (result string)

UrlEncode is custom url encoder for double url encoding

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto