mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 23:25:27 +00:00
* use parsed options while signing * update project layout to v3 * fix .gitignore * remove example template * misc updates * bump tlsx version * hide template sig warning with env * js: retain value while using log * fix nil pointer derefernce * misc doc update --------- Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
22 lines
430 B
Go
22 lines
430 B
Go
package interactsh
|
|
|
|
import (
|
|
"errors"
|
|
"regexp"
|
|
"time"
|
|
)
|
|
|
|
var (
|
|
defaultInteractionDuration = 60 * time.Second
|
|
interactshURLMarkerRegex = regexp.MustCompile(`{{interactsh-url(?:_[0-9]+){0,3}}}`)
|
|
|
|
ErrInteractshClientNotInitialized = errors.New("interactsh client not initialized")
|
|
)
|
|
|
|
const (
|
|
stopAtFirstMatchAttribute = "stop-at-first-match"
|
|
templateIdAttribute = "template-id"
|
|
|
|
defaultMaxInteractionsCount = 5000
|
|
)
|