optimization

package
Version: v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abstraction

func Abstraction(s string) []string

Abstraction is abstract for optimization

func GenerateNewRequest

func GenerateNewRequest(url, payload string, optionsStr map[string]string) *http.Request

GenerateNewRequest is make http.Cilent

func MakeHTMLEncodeRequestQuery

func MakeHTMLEncodeRequestQuery(target, param, payload, ptype string, optionsStr map[string]string) (*http.Request, map[string]string)

MakeHTMLEncodeRequestQuery is generate http query with Hex Encoding

func MakePathQuery

func MakePathQuery(target, fakeparam, payload, ptype string, optionsStr map[string]string) (*http.Request, map[string]string)

MakePathQuery is generate http query with path

func MakeRequestQuery

func MakeRequestQuery(target, param, payload, ptype string, optionsStr map[string]string) (*http.Request, map[string]string)

MakeRequestQuery is generate http query with custom paramters

func MakeURLEncodeRequestQuery

func MakeURLEncodeRequestQuery(target, param, payload, ptype string, optionsStr map[string]string) (*http.Request, map[string]string)

MakeURLEncodeRequestQuery is generate http query with Double URL Encoding

func Optimization

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

Optimization is remove payload included badchar

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
y or Y : Canonical URL