mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 15:37:01 +00:00
* setup claude * migrate to using errkit * fix unused imports + lint errors * update settings.json * fix url encoding issue * fix lint error * fix the path fuzzing component * fix lint error
22 lines
458 B
Go
22 lines
458 B
Go
package interactsh
|
|
|
|
import (
|
|
"errors"
|
|
"regexp"
|
|
"time"
|
|
)
|
|
|
|
var (
|
|
defaultInteractionDuration = 60 * time.Second
|
|
interactshURLMarkerRegex = regexp.MustCompile(`(%7[B|b]|\{){2}(interactsh-url(?:_[0-9]+){0,3})(%7[D|d]|\}){2}`)
|
|
|
|
ErrInteractshClientNotInitialized = errors.New("interactsh client not initialized")
|
|
)
|
|
|
|
const (
|
|
stopAtFirstMatchAttribute = "stop-at-first-match"
|
|
templateIdAttribute = "template-id"
|
|
|
|
defaultMaxInteractionsCount = 5000
|
|
)
|