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

Function addParameters

pkg/requests.go:218–230  ·  view source on GitHub ↗
(urlStr *string, parameters []string)

Source from the content-addressed store, hash-verified

216}
217
218func addParameters(urlStr *string, parameters []string) {
219 for _, p := range parameters {
220 if p == "" {
221 continue
222 }
223 if !strings.Contains(*urlStr, "?") {
224 *urlStr += "?"
225 } else {
226 *urlStr += Config.QuerySeparator
227 }
228 *urlStr += p
229 }
230}
231
232func firstRequest(rp requestParams) (body []byte, respStatusCode int, repRequest reportRequest, respHeaders map[string][]string, err error) {
233 req := fasthttp.AcquireRequest()

Callers 1

firstRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected