Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/protocols/common/interactsh/const.go
2072 views
1
package interactsh
2
3
import (
4
"errors"
5
"regexp"
6
"time"
7
)
8
9
var (
10
defaultInteractionDuration = 60 * time.Second
11
interactshURLMarkerRegex = regexp.MustCompile(`(%7[B|b]|\{){2}(interactsh-url(?:_[0-9]+){0,3})(%7[D|d]|\}){2}`)
12
13
ErrInteractshClientNotInitialized = errors.New("interactsh client not initialized")
14
)
15
16
const (
17
stopAtFirstMatchAttribute = "stop-at-first-match"
18
templateIdAttribute = "template-id"
19
20
defaultMaxInteractionsCount = 5000
21
)
22
23