//nolint //do not lint as examples with no usage package templates import ( "github.com/projectdiscovery/nuclei/v2/pkg/operators" "github.com/projectdiscovery/nuclei/v2/pkg/operators/extractors" "github.com/projectdiscovery/nuclei/v2/pkg/operators/matchers" "github.com/projectdiscovery/nuclei/v2/pkg/protocols/dns" "github.com/projectdiscovery/nuclei/v2/pkg/protocols/file" "github.com/projectdiscovery/nuclei/v2/pkg/protocols/http" "github.com/projectdiscovery/nuclei/v2/pkg/protocols/network" ) var ( exampleInfoStructure = map[string]interface{}{ "name": "Argument Injection in Ruby Dragonfly", "author": "0xsapra", "severity": "critical", "reference": "https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/", "tags": "cve,cve2021,rce,ruby", } _ = exampleInfoStructure exampleNormalHTTPRequest = &http.Request{ Method: "GET", Path: []string{"{{BaseURL}}/.git/config"}, Operators: operators.Operators{ MatchersCondition: "and", Matchers: []*matchers.Matcher{ {Type: "word", Words: []string{"[core]"}}, {Type: "dsl", DSL: []string{"!contains(tolower(body), '