mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 17:25:28 +00:00
* Replacing ccache with generic gcache * fixing lint issues * removing unecessary hashing + using errorutils * making test more tolerant * removing dead code + refactor * removing redundant code * removing race * maint * moving code * adding more iterations * note + typo * temporary fixing stop-at-first-match with interact * wrapping internal map with mux * sort before running integration test * fix deadlock in requestShouldStopAtFirstMatch * add timeout to integration_test workflow * attempting to remove outer lock * adds interactsh protocol tests in integration_test --------- Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
19 lines
334 B
Go
19 lines
334 B
Go
package interactsh
|
|
|
|
import (
|
|
"regexp"
|
|
"time"
|
|
)
|
|
|
|
var (
|
|
defaultInteractionDuration = 60 * time.Second
|
|
interactshURLMarkerRegex = regexp.MustCompile(`{{interactsh-url(?:_[0-9]+){0,3}}}`)
|
|
)
|
|
|
|
const (
|
|
stopAtFirstMatchAttribute = "stop-at-first-match"
|
|
templateIdAttribute = "template-id"
|
|
|
|
defaultMaxInteractionsCount = 5000
|
|
)
|