MCPcopy Create free account
hub / github.com/Hackmanit/Web-Cache-Vulnerability-Scanner / urlEncodeAll

Function urlEncodeAll

pkg/utils.go:153–159  ·  view source on GitHub ↗
(input string)

Source from the content-addressed store, hash-verified

151}
152
153func urlEncodeAll(input string) string {
154 encoded := ""
155 for i := 0; i < len(input); i++ {
156 encoded += fmt.Sprintf("%%%02X", input[i])
157 }
158 return encoded
159}
160
161/* TODO wie bei requestCookies nur die erste occurrence eines headers aufnehmen */
162func setRequestHeaders(req *fasthttp.Request, cb string) {

Callers 1

ScanParameterEncodingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected