SYMBOL INDEX (4633 symbols across 623 files) FILE: cmd/docgen/docgen.go function writeToFile (line 17) | func writeToFile(filename string, data []byte) { function main (line 32) | func main() { FILE: cmd/functional-test/main.go function main (line 27) | func main() { function runFunctionalTests (line 39) | func runFunctionalTests(debug bool) (error, bool) { function runTestCases (line 61) | func runTestCases(file *os.File, debug bool) (bool, []string) { function runTestCase (line 83) | func runTestCase(testCase string, debug bool) bool { function runIndividualTestCase (line 93) | func runIndividualTestCase(testcase string, debug bool) error { FILE: cmd/generate-checksum/main.go function main (line 15) | func main() { FILE: cmd/integration-test/code.go constant testCertFile (line 33) | testCertFile = "protocols/keys/ci.crt" constant testKeyFile (line 34) | testKeyFile = "protocols/keys/ci-private-key.pem" function init (line 39) | func init() { function getEnvValues (line 84) | func getEnvValues() []string { type codeSnippet (line 90) | type codeSnippet struct method Execute (line 93) | func (h *codeSnippet) Execute(filePath string) error { type codePreCondition (line 101) | type codePreCondition struct method Execute (line 104) | func (h *codePreCondition) Execute(filePath string) error { type codeFile (line 117) | type codeFile struct method Execute (line 120) | func (h *codeFile) Execute(filePath string) error { type codeEnvVar (line 128) | type codeEnvVar struct method Execute (line 131) | func (h *codeEnvVar) Execute(filePath string) error { type unsignedCode (line 139) | type unsignedCode struct method Execute (line 142) | func (h *unsignedCode) Execute(filePath string) error { type codePyNoSig (line 154) | type codePyNoSig struct method Execute (line 157) | func (h *codePyNoSig) Execute(filePath string) error { FILE: cmd/integration-test/custom-dir.go type customConfigDirTest (line 9) | type customConfigDirTest struct method Execute (line 16) | func (h *customConfigDirTest) Execute(filePath string) error { FILE: cmd/integration-test/dns.go type dnsBasic (line 22) | type dnsBasic struct method Execute (line 25) | func (h *dnsBasic) Execute(filePath string) error { type dnsPtr (line 33) | type dnsPtr struct method Execute (line 36) | func (h *dnsPtr) Execute(filePath string) error { type dnsCAA (line 44) | type dnsCAA struct method Execute (line 47) | func (h *dnsCAA) Execute(filePath string) error { type dnsTLSA (line 55) | type dnsTLSA struct method Execute (line 58) | func (h *dnsTLSA) Execute(filePath string) error { type dnsVariables (line 66) | type dnsVariables struct method Execute (line 69) | func (h *dnsVariables) Execute(filePath string) error { type dnsPayload (line 77) | type dnsPayload struct method Execute (line 80) | func (h *dnsPayload) Execute(filePath string) error { type dnsDSLMatcherVariable (line 97) | type dnsDSLMatcherVariable struct method Execute (line 100) | func (h *dnsDSLMatcherVariable) Execute(filePath string) error { FILE: cmd/integration-test/dsl.go type dslVersionWarning (line 19) | type dslVersionWarning struct method Execute (line 21) | func (d *dslVersionWarning) Execute(templatePath string) error { type dslShowVersionWarning (line 35) | type dslShowVersionWarning struct method Execute (line 37) | func (d *dslShowVersionWarning) Execute(templatePath string) error { FILE: cmd/integration-test/exporters.go constant dbName (line 20) | dbName = "test" constant dbImage (line 21) | dbImage = "mongo:8" type mongoExporter (line 30) | type mongoExporter struct method Execute (line 32) | func (m *mongoExporter) Execute(filepath string) error { FILE: cmd/integration-test/file.go type fileWithOrMatcher (line 14) | type fileWithOrMatcher struct method Execute (line 17) | func (h *fileWithOrMatcher) Execute(filePath string) error { type fileWithAndMatcher (line 26) | type fileWithAndMatcher struct method Execute (line 29) | func (h *fileWithAndMatcher) Execute(filePath string) error { type fileWithExtractor (line 38) | type fileWithExtractor struct method Execute (line 41) | func (h *fileWithExtractor) Execute(filePath string) error { FILE: cmd/integration-test/flow.go type conditionalFlow (line 22) | type conditionalFlow struct method Execute (line 24) | func (t *conditionalFlow) Execute(filePath string) error { type conditionalFlowNegative (line 32) | type conditionalFlowNegative struct method Execute (line 34) | func (t *conditionalFlowNegative) Execute(filePath string) error { type iterateValuesFlow (line 42) | type iterateValuesFlow struct method Execute (line 44) | func (t *iterateValuesFlow) Execute(filePath string) error { type iterateOneValueFlow (line 74) | type iterateOneValueFlow struct method Execute (line 76) | func (t *iterateOneValueFlow) Execute(filePath string) error { type dnsNsProbe (line 84) | type dnsNsProbe struct method Execute (line 86) | func (t *dnsNsProbe) Execute(filePath string) error { function getBase64 (line 94) | func getBase64(input string) string { type flowHideMatcher (line 98) | type flowHideMatcher struct method Execute (line 100) | func (t *flowHideMatcher) Execute(filePath string) error { FILE: cmd/integration-test/fuzz.go constant targetFile (line 16) | targetFile = "fuzz/testData/ginandjuice.proxify.yaml" type genericFuzzTestCase (line 38) | type genericFuzzTestCase struct method Execute (line 42) | func (g *genericFuzzTestCase) Execute(filePath string) error { type httpFuzzQuery (line 50) | type httpFuzzQuery struct method Execute (line 53) | func (h *httpFuzzQuery) Execute(filePath string) error { type fuzzModeOverride (line 70) | type fuzzModeOverride struct method Execute (line 73) | func (h *fuzzModeOverride) Execute(filePath string) error { type fuzzTypeOverride (line 115) | type fuzzTypeOverride struct method Execute (line 118) | func (h *fuzzTypeOverride) Execute(filePath string) error { type HeadlessFuzzingQuery (line 160) | type HeadlessFuzzingQuery struct method Execute (line 163) | func (h *HeadlessFuzzingQuery) Execute(filePath string) error { type fuzzMultipleMode (line 179) | type fuzzMultipleMode struct method Execute (line 182) | func (h *fuzzMultipleMode) Execute(filePath string) error { FILE: cmd/integration-test/generic.go type clientCertificate (line 73) | type clientCertificate struct method Execute (line 76) | func (h *clientCertificate) Execute(filePath string) error { FILE: cmd/integration-test/headless.go type headlessBasic (line 29) | type headlessBasic struct method Execute (line 32) | func (h *headlessBasic) Execute(filePath string) error { type headlessSelfContained (line 48) | type headlessSelfContained struct method Execute (line 51) | func (h *headlessSelfContained) Execute(filePath string) error { type headlessLocal (line 60) | type headlessLocal struct method Execute (line 64) | func (h *headlessLocal) Execute(filePath string) error { type headlessHeaderActions (line 81) | type headlessHeaderActions struct method Execute (line 84) | func (h *headlessHeaderActions) Execute(filePath string) error { type headlessExtractValues (line 103) | type headlessExtractValues struct method Execute (line 106) | func (h *headlessExtractValues) Execute(filePath string) error { type headlessPayloads (line 121) | type headlessPayloads struct method Execute (line 124) | func (h *headlessPayloads) Execute(filePath string) error { type headlessVariables (line 139) | type headlessVariables struct method Execute (line 142) | func (h *headlessVariables) Execute(filePath string) error { type headlessFileUpload (line 157) | type headlessFileUpload struct method Execute (line 160) | func (h *headlessFileUpload) Execute(filePath string) error { type headlessHeaderStatus (line 204) | type headlessHeaderStatus struct method Execute (line 207) | func (h *headlessHeaderStatus) Execute(filePath string) error { type headlessFileUploadNegative (line 216) | type headlessFileUploadNegative struct method Execute (line 219) | func (h *headlessFileUploadNegative) Execute(filePath string) error { FILE: cmd/integration-test/http.go type httpMultiVarSharing (line 96) | type httpMultiVarSharing struct method Execute (line 98) | func (h *httpMultiVarSharing) Execute(filePath string) error { type httpResponseDataLiteralReuse (line 106) | type httpResponseDataLiteralReuse struct method Execute (line 108) | func (h *httpResponseDataLiteralReuse) Execute(filePath string) error { type httpMatcherExtractorDynamicExtractor (line 131) | type httpMatcherExtractorDynamicExtractor struct method Execute (line 133) | func (h *httpMatcherExtractorDynamicExtractor) Execute(filePath string... type httpInteractshRequest (line 168) | type httpInteractshRequest struct method Execute (line 171) | func (h *httpInteractshRequest) Execute(filePath string) error { type httpInteractshWithPayloadsRequest (line 192) | type httpInteractshWithPayloadsRequest struct method Execute (line 195) | func (h *httpInteractshWithPayloadsRequest) Execute(filePath string) e... type httpDefaultMatcherCondition (line 216) | type httpDefaultMatcherCondition struct method Execute (line 219) | func (d *httpDefaultMatcherCondition) Execute(filePath string) error { type httpInteractshStopAtFirstMatchRequest (line 262) | type httpInteractshStopAtFirstMatchRequest struct method Execute (line 265) | func (h *httpInteractshStopAtFirstMatchRequest) Execute(filePath strin... type httpGetHeaders (line 286) | type httpGetHeaders struct method Execute (line 289) | func (h *httpGetHeaders) Execute(filePath string) error { type httpGetQueryString (line 307) | type httpGetQueryString struct method Execute (line 310) | func (h *httpGetQueryString) Execute(filePath string) error { type httpGetRedirects (line 328) | type httpGetRedirects struct method Execute (line 331) | func (h *httpGetRedirects) Execute(filePath string) error { type httpGetHostRedirects (line 350) | type httpGetHostRedirects struct method Execute (line 353) | func (h *httpGetHostRedirects) Execute(filePath string) error { type httpDisableRedirects (line 378) | type httpDisableRedirects struct method Execute (line 381) | func (h *httpDisableRedirects) Execute(filePath string) error { type httpGet (line 400) | type httpGet struct method Execute (line 403) | func (h *httpGet) Execute(filePath string) error { type httpDSLVariable (line 419) | type httpDSLVariable struct method Execute (line 422) | func (h *httpDSLVariable) Execute(filePath string) error { type httpDSLFunctions (line 438) | type httpDSLFunctions struct method Execute (line 440) | func (h *httpDSLFunctions) Execute(filePath string) error { type httpPostBody (line 495) | type httpPostBody struct method Execute (line 498) | func (h *httpPostBody) Execute(filePath string) error { type httpPostJSONBody (line 525) | type httpPostJSONBody struct method Execute (line 528) | func (h *httpPostJSONBody) Execute(filePath string) error { type httpPostMultipartBody (line 560) | type httpPostMultipartBody struct method Execute (line 563) | func (h *httpPostMultipartBody) Execute(filePath string) error { type httpRawDynamicExtractor (line 600) | type httpRawDynamicExtractor struct method Execute (line 603) | func (h *httpRawDynamicExtractor) Execute(filePath string) error { type httpRawGetQuery (line 635) | type httpRawGetQuery struct method Execute (line 638) | func (h *httpRawGetQuery) Execute(filePath string) error { type httpRawGet (line 656) | type httpRawGet struct method Execute (line 659) | func (h *httpRawGet) Execute(filePath string) error { type httpRawWithParams (line 675) | type httpRawWithParams struct method Execute (line 678) | func (h *httpRawWithParams) Execute(filePath string) error { type httpRawPathTrailingSlash (line 706) | type httpRawPathTrailingSlash struct method Execute (line 708) | func (h *httpRawPathTrailingSlash) Execute(filepath string) error { type httpRawPayload (line 731) | type httpRawPayload struct method Execute (line 734) | func (h *httpRawPayload) Execute(filePath string) error { type httpRawPostBody (line 764) | type httpRawPostBody struct method Execute (line 767) | func (h *httpRawPostBody) Execute(filePath string) error { type httpRawUnsafePath (line 794) | type httpRawUnsafePath struct method Execute (line 796) | func (h *httpRawUnsafePath) Execute(filepath string) error { type httpPaths (line 844) | type httpPaths struct method Execute (line 846) | func (h *httpPaths) Execute(filepath string) error { type httpRawCookieReuse (line 899) | type httpRawCookieReuse struct method Execute (line 902) | func (h *httpRawCookieReuse) Execute(filePath string) error { type httpRequestCondition (line 967) | type httpRequestCondition struct method Execute (line 970) | func (h *httpRequestCondition) Execute(filePath string) error { type httpRequestSelfContained (line 990) | type httpRequestSelfContained struct method Execute (line 993) | func (h *httpRequestSelfContained) Execute(filePath string) error { type httpRequestSelfContainedWithParams (line 1018) | type httpRequestSelfContainedWithParams struct method Execute (line 1021) | func (h *httpRequestSelfContainedWithParams) Execute(filePath string) ... type httpRequestSelfContainedFileInput (line 1058) | type httpRequestSelfContainedFileInput struct method Execute (line 1060) | func (h *httpRequestSelfContainedFileInput) Execute(filePath string) e... type httpGetCaseInsensitive (line 1109) | type httpGetCaseInsensitive struct method Execute (line 1112) | func (h *httpGetCaseInsensitive) Execute(filePath string) error { type httpGetCaseInsensitiveCluster (line 1128) | type httpGetCaseInsensitiveCluster struct method Execute (line 1131) | func (h *httpGetCaseInsensitiveCluster) Execute(filesPath string) error { type httpGetRedirectsChainHeaders (line 1149) | type httpGetRedirectsChainHeaders struct method Execute (line 1152) | func (h *httpGetRedirectsChainHeaders) Execute(filePath string) error { type httpRaceSimple (line 1175) | type httpRaceSimple struct method Execute (line 1178) | func (h *httpRaceSimple) Execute(filePath string) error { type httpRaceMultiple (line 1193) | type httpRaceMultiple struct method Execute (line 1196) | func (h *httpRaceMultiple) Execute(filePath string) error { type httpRaceWithDelay (line 1211) | type httpRaceWithDelay struct method Execute (line 1214) | func (h *httpRaceWithDelay) Execute(filePath string) error { type httpRaceWithVariables (line 1256) | type httpRaceWithVariables struct method Execute (line 1259) | func (h *httpRaceWithVariables) Execute(filePath string) error { type httpStopAtFirstMatch (line 1276) | type httpStopAtFirstMatch struct method Execute (line 1279) | func (h *httpStopAtFirstMatch) Execute(filePath string) error { type httpStopAtFirstMatchWithExtractors (line 1295) | type httpStopAtFirstMatchWithExtractors struct method Execute (line 1298) | func (h *httpStopAtFirstMatchWithExtractors) Execute(filePath string) ... type httpVariables (line 1314) | type httpVariables struct method Execute (line 1317) | func (h *httpVariables) Execute(filePath string) error { type httpVariablesThreadsPrevious (line 1343) | type httpVariablesThreadsPrevious struct method Execute (line 1347) | func (h *httpVariablesThreadsPrevious) Execute(filePath string) error { type httpVariableDSLFunction (line 1367) | type httpVariableDSLFunction struct method Execute (line 1370) | func (h *httpVariableDSLFunction) Execute(filePath string) error { type customCLISNI (line 1392) | type customCLISNI struct method Execute (line 1395) | func (h *customCLISNI) Execute(filePath string) error { type httpSniAnnotation (line 1414) | type httpSniAnnotation struct method Execute (line 1417) | func (h *httpSniAnnotation) Execute(filePath string) error { type httpRedirectMatchURL (line 1436) | type httpRedirectMatchURL struct method Execute (line 1439) | func (h *httpRedirectMatchURL) Execute(filePath string) error { type customCLISNIUnsafe (line 1465) | type customCLISNIUnsafe struct method Execute (line 1468) | func (h *customCLISNIUnsafe) Execute(filePath string) error { type annotationTimeout (line 1487) | type annotationTimeout struct method Execute (line 1490) | func (h *annotationTimeout) Execute(filePath string) error { type customAttackType (line 1506) | type customAttackType struct method Execute (line 1509) | func (h *customAttackType) Execute(filePath string) error { type scanAllIPS (line 1527) | type scanAllIPS struct method Execute (line 1530) | func (h *scanAllIPS) Execute(filePath string) error { type httpGetWithoutScheme (line 1540) | type httpGetWithoutScheme struct method Execute (line 1543) | func (h *httpGetWithoutScheme) Execute(filePath string) error { type httpCLBodyWithoutHeader (line 1552) | type httpCLBodyWithoutHeader struct method Execute (line 1555) | func (h *httpCLBodyWithoutHeader) Execute(filePath string) error { type httpCLBodyWithHeader (line 1575) | type httpCLBodyWithHeader struct method Execute (line 1578) | func (h *httpCLBodyWithHeader) Execute(filePath string) error { type ConstantWithCliVar (line 1595) | type ConstantWithCliVar struct method Execute (line 1598) | func (h *ConstantWithCliVar) Execute(filePath string) error { type constantsWithThreads (line 1613) | type constantsWithThreads struct method Execute (line 1616) | func (h *constantsWithThreads) Execute(filePath string) error { type matcherStatusTest (line 1633) | type matcherStatusTest struct method Execute (line 1636) | func (h *matcherStatusTest) Execute(filePath string) error { type httpDisablePathAutomerge (line 1652) | type httpDisablePathAutomerge struct method Execute (line 1655) | func (h *httpDisablePathAutomerge) Execute(filePath string) error { type httpInteractshRequestsWithMCAnd (line 1673) | type httpInteractshRequestsWithMCAnd struct method Execute (line 1675) | func (h *httpInteractshRequestsWithMCAnd) Execute(filePath string) err... type httpPreprocessor (line 1685) | type httpPreprocessor struct method Execute (line 1688) | func (h *httpPreprocessor) Execute(filePath string) error { type httpMultiRequest (line 1712) | type httpMultiRequest struct method Execute (line 1715) | func (h *httpMultiRequest) Execute(filePath string) error { type httpRawPathSingleSlash (line 1736) | type httpRawPathSingleSlash struct method Execute (line 1738) | func (h *httpRawPathSingleSlash) Execute(filepath string) error { type httpRawUnsafePathSingleSlash (line 1761) | type httpRawUnsafePathSingleSlash struct method Execute (line 1763) | func (h *httpRawUnsafePathSingleSlash) Execute(filepath string) error { FILE: cmd/integration-test/integration-test.go type TestCaseInfo (line 21) | type TestCaseInfo struct function main (line 77) | func main() { function isDebugMode (line 138) | func isDebugMode() bool { function executeWithRetry (line 159) | func executeWithRetry(testCase testutils.TestCase, templatePath string, ... function debugTests (line 172) | func debugTests() { function runTests (line 191) | func runTests(customTemplatePaths []string) []string { function execute (line 228) | func execute(testCase testutils.TestCase, templatePath string) (string, ... function expectResultsCount (line 238) | func expectResultsCount(results []string, expectedNumbers ...int) error { function normalizeSplit (line 247) | func normalizeSplit(str string) []string { function filterLines (line 254) | func filterLines(results []string) []string { function filterHeadlessLogs (line 262) | func filterHeadlessLogs(results []string) []string { function filterUnsignedTemplatesWarnings (line 275) | func filterUnsignedTemplatesWarnings(results []string) []string { FILE: cmd/integration-test/javascript.go type javascriptNetHttps (line 41) | type javascriptNetHttps struct method Execute (line 43) | func (j *javascriptNetHttps) Execute(filePath string) error { type javascriptRedisPassBrute (line 51) | type javascriptRedisPassBrute struct method Execute (line 53) | func (j *javascriptRedisPassBrute) Execute(filePath string) error { type javascriptSSHServerFingerprint (line 83) | type javascriptSSHServerFingerprint struct method Execute (line 85) | func (j *javascriptSSHServerFingerprint) Execute(filePath string) error { type javascriptOracleAuthTest (line 115) | type javascriptOracleAuthTest struct method Execute (line 117) | func (j *javascriptOracleAuthTest) Execute(filePath string) error { type javascriptVncPassBrute (line 148) | type javascriptVncPassBrute struct method Execute (line 150) | func (j *javascriptVncPassBrute) Execute(filePath string) error { type javascriptPostgresPassBrute (line 180) | type javascriptPostgresPassBrute struct method Execute (line 182) | func (j *javascriptPostgresPassBrute) Execute(filePath string) error { type javascriptMySQLConnect (line 212) | type javascriptMySQLConnect struct method Execute (line 214) | func (j *javascriptMySQLConnect) Execute(filePath string) error { type javascriptMultiPortsSSH (line 244) | type javascriptMultiPortsSSH struct method Execute (line 246) | func (j *javascriptMultiPortsSSH) Execute(filePath string) error { type javascriptNoPortArgs (line 255) | type javascriptNoPortArgs struct method Execute (line 257) | func (j *javascriptNoPortArgs) Execute(filePath string) error { type javascriptRsyncTest (line 265) | type javascriptRsyncTest struct method Execute (line 267) | func (j *javascriptRsyncTest) Execute(filePath string) error { type javascriptTelnetAuthTest (line 297) | type javascriptTelnetAuthTest struct method Execute (line 299) | func (j *javascriptTelnetAuthTest) Execute(filePath string) error { function purge (line 330) | func purge(resource *dockertest.Resource) { function init (line 342) | func init() { FILE: cmd/integration-test/library.go type goIntegrationTest (line 43) | type goIntegrationTest struct method Execute (line 48) | func (h *goIntegrationTest) Execute(templatePath string) error { function executeNucleiAsLibrary (line 68) | func executeNucleiAsLibrary(templatePath, templateURL string) ([]string,... FILE: cmd/integration-test/loader.go type remoteTemplateList (line 27) | type remoteTemplateList struct method Execute (line 30) | func (h *remoteTemplateList) Execute(templateList string) error { type excludedTemplate (line 70) | type excludedTemplate struct method Execute (line 73) | func (h *excludedTemplate) Execute(templateList string) error { type remoteTemplateListNotAllowed (line 93) | type remoteTemplateListNotAllowed struct method Execute (line 96) | func (h *remoteTemplateListNotAllowed) Execute(templateList string) er... type remoteWorkflowList (line 128) | type remoteWorkflowList struct method Execute (line 131) | func (h *remoteWorkflowList) Execute(workflowList string) error { type nonExistentTemplateList (line 171) | type nonExistentTemplateList struct method Execute (line 174) | func (h *nonExistentTemplateList) Execute(nonExistingTemplateList stri... type nonExistentWorkflowList (line 196) | type nonExistentWorkflowList struct method Execute (line 199) | func (h *nonExistentWorkflowList) Execute(nonExistingWorkflowList stri... type loadTemplateWithID (line 221) | type loadTemplateWithID struct method Execute (line 223) | func (h *loadTemplateWithID) Execute(nooop string) error { FILE: cmd/integration-test/matcher-status.go type httpNoAccess (line 25) | type httpNoAccess struct method Execute (line 27) | func (h *httpNoAccess) Execute(filePath string) error { type networkNoAccess (line 41) | type networkNoAccess struct method Execute (line 44) | func (h *networkNoAccess) Execute(filePath string) error { type headlessNoAccess (line 58) | type headlessNoAccess struct method Execute (line 61) | func (h *headlessNoAccess) Execute(filePath string) error { type javascriptNoAccess (line 75) | type javascriptNoAccess struct method Execute (line 78) | func (h *javascriptNoAccess) Execute(filePath string) error { type websocketNoAccess (line 92) | type websocketNoAccess struct method Execute (line 95) | func (h *websocketNoAccess) Execute(filePath string) error { type dnsNoAccess (line 109) | type dnsNoAccess struct method Execute (line 112) | func (h *dnsNoAccess) Execute(filePath string) error { type httpMatcherStatusAnd (line 126) | type httpMatcherStatusAnd struct method Execute (line 130) | func (h *httpMatcherStatusAnd) Execute(filePath string) error { FILE: cmd/integration-test/multi.go type multiProtoDynamicExtractor (line 13) | type multiProtoDynamicExtractor struct method Execute (line 16) | func (h *multiProtoDynamicExtractor) Execute(templatePath string) error { FILE: cmd/integration-test/network.go constant defaultStaticPort (line 27) | defaultStaticPort = 5431 type networkBasic (line 29) | type networkBasic struct method Execute (line 32) | func (h *networkBasic) Execute(filePath string) error { type networkMultiStep (line 66) | type networkMultiStep struct method Execute (line 69) | func (h *networkMultiStep) Execute(filePath string) error { type networkRequestSelContained (line 116) | type networkRequestSelContained struct method Execute (line 119) | func (h *networkRequestSelContained) Execute(filePath string) error { type networkVariables (line 136) | type networkVariables struct method Execute (line 139) | func (h *networkVariables) Execute(filePath string) error { type networkPort (line 169) | type networkPort struct method Execute (line 171) | func (n *networkPort) Execute(filePath string) error { type networkhttps (line 232) | type networkhttps struct method Execute (line 235) | func (h *networkhttps) Execute(filePath string) error { FILE: cmd/integration-test/offline-http.go type RfcRequestResponse (line 15) | type RfcRequestResponse struct method Execute (line 18) | func (h *RfcRequestResponse) Execute(filePath string) error { type RequestResponseWithAllowedPaths (line 27) | type RequestResponseWithAllowedPaths struct method Execute (line 30) | func (h *RequestResponseWithAllowedPaths) Execute(filePath string) err... type RawRequestResponse (line 39) | type RawRequestResponse struct method Execute (line 42) | func (h *RawRequestResponse) Execute(filePath string) error { FILE: cmd/integration-test/profile-loader.go type profileLoaderByRelFile (line 16) | type profileLoaderByRelFile struct method Execute (line 18) | func (h *profileLoaderByRelFile) Execute(testName string) error { type profileLoaderById (line 29) | type profileLoaderById struct method Execute (line 31) | func (h *profileLoaderById) Execute(testName string) error { type customProfileLoader (line 43) | type customProfileLoader struct method Execute (line 45) | func (h *customProfileLoader) Execute(filepath string) error { FILE: cmd/integration-test/ssl.go type sslBasic (line 19) | type sslBasic struct method Execute (line 22) | func (h *sslBasic) Execute(filePath string) error { type sslBasicZtls (line 42) | type sslBasicZtls struct method Execute (line 45) | func (h *sslBasicZtls) Execute(filePath string) error { type sslCustomCipher (line 65) | type sslCustomCipher struct method Execute (line 68) | func (h *sslCustomCipher) Execute(filePath string) error { type sslCustomVersion (line 88) | type sslCustomVersion struct method Execute (line 91) | func (h *sslCustomVersion) Execute(filePath string) error { type sslWithVars (line 111) | type sslWithVars struct method Execute (line 113) | func (h *sslWithVars) Execute(filePath string) error { type sslMultiReq (line 133) | type sslMultiReq struct method Execute (line 135) | func (h *sslMultiReq) Execute(filePath string) error { FILE: cmd/integration-test/template-dir.go type templateDirWithTargetTest (line 14) | type templateDirWithTargetTest struct method Execute (line 17) | func (h *templateDirWithTargetTest) Execute(filePath string) error { FILE: cmd/integration-test/template-path.go function getTemplatePath (line 11) | func getTemplatePath() string { type cwdTemplateTest (line 26) | type cwdTemplateTest struct method Execute (line 29) | func (h *cwdTemplateTest) Execute(filePath string) error { type relativePathTemplateTest (line 37) | type relativePathTemplateTest struct method Execute (line 40) | func (h *relativePathTemplateTest) Execute(filePath string) error { type absolutePathTemplateTest (line 48) | type absolutePathTemplateTest struct method Execute (line 51) | func (h *absolutePathTemplateTest) Execute(filePath string) error { type folderPathTemplateTest (line 59) | type folderPathTemplateTest struct method Execute (line 62) | func (h *folderPathTemplateTest) Execute(filePath string) error { FILE: cmd/integration-test/templates-dir-env.go function copyTemplateToDir (line 25) | func copyTemplateToDir(templatePath, destDir string) error { type templatesDirEnvBasicTest (line 50) | type templatesDirEnvBasicTest struct method Execute (line 53) | func (h *templatesDirEnvBasicTest) Execute(filePath string) error { type templatesDirEnvAbsolutePathTest (line 78) | type templatesDirEnvAbsolutePathTest struct method Execute (line 81) | func (h *templatesDirEnvAbsolutePathTest) Execute(filePath string) err... type templatesDirEnvRelativePathTest (line 112) | type templatesDirEnvRelativePathTest struct method Execute (line 115) | func (h *templatesDirEnvRelativePathTest) Execute(filePath string) err... type templatesDirEnvPrecedenceTest (line 145) | type templatesDirEnvPrecedenceTest struct method Execute (line 148) | func (h *templatesDirEnvPrecedenceTest) Execute(filePath string) error { type templatesDirEnvCustomTemplatesTest (line 183) | type templatesDirEnvCustomTemplatesTest struct method Execute (line 186) | func (h *templatesDirEnvCustomTemplatesTest) Execute(filePath string) ... FILE: cmd/integration-test/websocket.go type websocketBasic (line 19) | type websocketBasic struct method Execute (line 22) | func (h *websocketBasic) Execute(filePath string) error { type websocketCswsh (line 46) | type websocketCswsh struct method Execute (line 49) | func (h *websocketCswsh) Execute(filePath string) error { type websocketNoCswsh (line 67) | type websocketNoCswsh struct method Execute (line 70) | func (h *websocketNoCswsh) Execute(filePath string) error { type websocketWithPath (line 88) | type websocketWithPath struct method Execute (line 91) | func (h *websocketWithPath) Execute(filePath string) error { FILE: cmd/integration-test/whois.go type whoisBasic (line 11) | type whoisBasic struct method Execute (line 14) | func (h *whoisBasic) Execute(filePath string) error { FILE: cmd/integration-test/workflow.go function init (line 33) | func init() { type workflowBasic (line 59) | type workflowBasic struct method Execute (line 62) | func (h *workflowBasic) Execute(filePath string) error { type workflowConditionMatched (line 78) | type workflowConditionMatched struct method Execute (line 81) | func (h *workflowConditionMatched) Execute(filePath string) error { type workflowConditionUnmatch (line 97) | type workflowConditionUnmatch struct method Execute (line 100) | func (h *workflowConditionUnmatch) Execute(filePath string) error { type workflowMatcherName (line 116) | type workflowMatcherName struct method Execute (line 119) | func (h *workflowMatcherName) Execute(filePath string) error { type workflowComplexConditions (line 135) | type workflowComplexConditions struct method Execute (line 138) | func (h *workflowComplexConditions) Execute(filePath string) error { type workflowHttpKeyValueShare (line 159) | type workflowHttpKeyValueShare struct method Execute (line 162) | func (h *workflowHttpKeyValueShare) Execute(filePath string) error { type workflowDnsKeyValueShare (line 182) | type workflowDnsKeyValueShare struct method Execute (line 185) | func (h *workflowDnsKeyValueShare) Execute(filePath string) error { type workflowCodeKeyValueShare (line 195) | type workflowCodeKeyValueShare struct method Execute (line 198) | func (h *workflowCodeKeyValueShare) Execute(filePath string) error { type workflowMultiProtocolKeyValueShare (line 210) | type workflowMultiProtocolKeyValueShare struct method Execute (line 213) | func (h *workflowMultiProtocolKeyValueShare) Execute(filePath string) ... type workflowMultiMatchKeyValueShare (line 234) | type workflowMultiMatchKeyValueShare struct method Execute (line 237) | func (h *workflowMultiMatchKeyValueShare) Execute(filePath string) err... type workflowSharedCookies (line 272) | type workflowSharedCookies struct method Execute (line 275) | func (h *workflowSharedCookies) Execute(filePath string) error { FILE: cmd/memogen/memogen.go function main (line 24) | func main() { function walk (line 39) | func walk(path string, info fs.FileInfo, err error) error { FILE: cmd/nuclei/main.go function main (line 56) | func main() { function readConfig (line 241) | func readConfig() *goflags.FlagSet { function cleanupOldResumeFiles (line 678) | func cleanupOldResumeFiles() { function readFlagsConfig (line 688) | func readFlagsConfig(flagset *goflags.FlagSet) { function disableUpdatesCallback (line 717) | func disableUpdatesCallback() { function printVersion (line 722) | func printVersion() { function printTemplateVersion (line 731) | func printTemplateVersion() { function resetCallback (line 750) | func resetCallback() { function findProfilePathById (line 795) | func findProfilePathById(profileId, templatesDir string) string { FILE: cmd/nuclei/main_benchmark_test.go function TestMain (line 25) | func TestMain(m *testing.M) { function getUniqFilename (line 57) | func getUniqFilename(basePath string) string { function getDefaultOptions (line 80) | func getDefaultOptions() *types.Options { function runEnumBenchmark (line 129) | func runEnumBenchmark(b *testing.B, options *types.Options) { function BenchmarkRunEnumeration (line 179) | func BenchmarkRunEnumeration(b *testing.B) { FILE: cmd/scan-charts/main.go function main (line 15) | func main() { FILE: cmd/tmc/main.go constant yamlIndentSpaces (line 31) | yamlIndentSpaces = 2 constant tmBaseUrlDefault (line 33) | tmBaseUrlDefault = "https://tm.nuclei.sh" function init (line 38) | func init() { function init (line 49) | func init() { type options (line 80) | type options struct function main (line 91) | func main() { function process (line 133) | func process(opts options) error { function logErrMsg (line 227) | func logErrMsg(path string, err error, debug bool, errFile *os.File) str... function enhanceTemplate (line 240) | func enhanceTemplate(data string) (string, bool, error) { function formatTemplate (line 274) | func formatTemplate(data string) (string, bool, error) { function lintTemplate (line 308) | func lintTemplate(data string) (bool, error) { function validateTemplate (line 330) | func validateTemplate(data string) (bool, error) { function parseAndAddMaxRequests (line 358) | func parseAndAddMaxRequests(catalog catalog.Catalog, path, data string) ... function parseTemplate (line 403) | func parseTemplate(catalog catalog.Catalog, templatePath string) (*templ... function getInfoStartEnd (line 420) | func getInfoStartEnd(data string) (int, int) { FILE: cmd/tmc/types.go type Mark (line 3) | type Mark struct type Error (line 11) | type Error struct type LintError (line 16) | type LintError struct type TemplateLintResp (line 22) | type TemplateLintResp struct type ValidateError (line 28) | type ValidateError struct type TemplateResp (line 42) | type TemplateResp struct type InfoBlock (line 57) | type InfoBlock struct type TemplateClassification (line 61) | type TemplateClassification struct type TemplateInfo (line 70) | type TemplateInfo struct FILE: cmd/tools/fuzzplayground/main.go function main (line 15) | func main() { FILE: cmd/tools/signer/main.go function main (line 34) | func main() { function defaultExecutorOpts (line 102) | func defaultExecutorOpts(templatePath string) *protocols.ExecutorOptions { FILE: examples/advanced/advanced.go function main (line 11) | func main() { FILE: examples/simple/simple.go function main (line 9) | func main() { FILE: examples/with_speed_control/main.go function main (line 13) | func main() { function initializeNucleiEngine (line 37) | func initializeNucleiEngine() (*nuclei.NucleiEngine, error) { function testRateLimit (line 54) | func testRateLimit(wg *sync.WaitGroup, ne *nuclei.NucleiEngine) { function testThreadsAndBulkSize (line 59) | func testThreadsAndBulkSize(wg *sync.WaitGroup, ne *nuclei.NucleiEngine) { function testPayloadConcurrency (line 65) | func testPayloadConcurrency(wg *sync.WaitGroup, ne *nuclei.NucleiEngine) { function verifyRateLimit (line 70) | func verifyRateLimit(ne *nuclei.NucleiEngine, initialRate, finalRate int) { function verifyThreadsAndBulkSize (line 82) | func verifyThreadsAndBulkSize(ne *nuclei.NucleiEngine, initialThreads, i... function verifyPayloadConcurrency (line 95) | func verifyPayloadConcurrency(ne *nuclei.NucleiEngine, initialPayloadCon... FILE: internal/colorizer/colorizer.go constant fgOrange (line 12) | fgOrange uint8 = 208 function GetColor (line 15) | func GetColor(colorizer aurora.Aurora, templateSeverity fmt.Stringer) st... function New (line 35) | func New(colorizer aurora.Aurora) func(severity.Severity) string { FILE: internal/httpapi/apiendpoint.go type Concurrency (line 12) | type Concurrency struct type Server (line 23) | type Server struct method Start (line 37) | func (s *Server) Start() error { method handleConcurrency (line 46) | func (s *Server) handleConcurrency(w http.ResponseWriter, r *http.Requ... method getSettings (line 58) | func (s *Server) getSettings(w http.ResponseWriter, _ *http.Request) { method updateSettings (line 76) | func (s *Server) updateSettings(w http.ResponseWriter, r *http.Request) { function New (line 29) | func New(addr string, config *types.Options) *Server { FILE: internal/pdcp/utils.go function getScanDashBoardURL (line 8) | func getScanDashBoardURL(id string, teamID string) string { type uploadResponse (line 23) | type uploadResponse struct FILE: internal/pdcp/writer.go constant uploadEndpoint (line 29) | uploadEndpoint = "/v1/scans/import" constant appendEndpoint (line 30) | appendEndpoint = "/v1/scans/%s/import" constant flushTimer (line 31) | flushTimer = time.Minute constant MaxChunkSize (line 32) | MaxChunkSize = 4 * unitutils.Mega constant xidRe (line 33) | xidRe = `^[a-z0-9]{20}$` constant teamIDHeader (line 34) | teamIDHeader = "X-Team-Id" constant NoneTeamID (line 35) | NoneTeamID = "none" type UploadWriter (line 47) | type UploadWriter struct method SetScanID (line 105) | func (u *UploadWriter) SetScanID(id string) error { method SetScanName (line 114) | func (u *UploadWriter) SetScanName(name string) { method SetTeamID (line 118) | func (u *UploadWriter) SetTeamID(id string) { method autoCommit (line 126) | func (u *UploadWriter) autoCommit(ctx context.Context, r *io.PipeReade... method uploadChunk (line 200) | func (u *UploadWriter) uploadChunk(buff *bytes.Buffer) error { method upload (line 211) | func (u *UploadWriter) upload(data []byte) error { method getRequest (line 243) | func (u *UploadWriter) getRequest(bin []byte) (*retryablehttp.Request,... method Close (line 277) | func (u *UploadWriter) Close() { function NewUploadWriter (line 62) | func NewUploadWriter(ctx context.Context, logger *gologger.Logger, creds... FILE: internal/runner/banner.go function showBanner (line 22) | func showBanner() { function NucleiToolUpdateCallback (line 28) | func NucleiToolUpdateCallback() { function AuthWithPDCP (line 34) | func AuthWithPDCP() { FILE: internal/runner/healthcheck.go function DoHealthCheck (line 15) | func DoHealthCheck(options *types.Options) string { FILE: internal/runner/inputs.go method initializeTemplatesHTTPInput (line 22) | func (r *Runner) initializeTemplatesHTTPInput() (*hybrid.HybridMap, erro... FILE: internal/runner/lazy.go type AuthLazyFetchOptions (line 24) | type AuthLazyFetchOptions struct function GetAuthTmplStore (line 31) | func GetAuthTmplStore(opts *types.Options, catalog catalog.Catalog, exec... function GetLazyAuthFetchCallback (line 68) | func GetLazyAuthFetchCallback(opts *AuthLazyFetchOptions) authx.LazyFetc... FILE: internal/runner/options.go constant DefaultDumpTrafficOutputFolder (line 40) | DefaultDumpTrafficOutputFolder = "output" function ConfigureOptions (line 45) | func ConfigureOptions() error { function ParseOptions (line 58) | func ParseOptions(options *types.Options) { function ValidateOptions (line 143) | func ValidateOptions(options *types.Options) error { function validateMissingS3Options (line 234) | func validateMissingS3Options(options *types.Options) []string { function validateMissingAzureOptions (line 261) | func validateMissingAzureOptions(options *types.Options) []string { function validateMissingGitLabOptions (line 281) | func validateMissingGitLabOptions(options *types.Options) []string { function validateDASTOptions (line 293) | func validateDASTOptions(options *types.Options) error { function createReportingOptions (line 301) | func createReportingOptions(options *types.Options) (*reporting.Options,... function configureOutput (line 364) | func configureOutput(options *types.Options) { function loadResolvers (line 389) | func loadResolvers(options *types.Options) { function validateTemplatePaths (line 416) | func validateTemplatePaths(logger *gologger.Logger, templatesDirectory s... function validateCertificatePaths (line 433) | func validateCertificatePaths(logger *gologger.Logger, certificatePaths ... function readEnvInputVars (line 445) | func readEnvInputVars(options *types.Options) { function getBoolEnvValue (line 511) | func getBoolEnvValue(key string) bool { FILE: internal/runner/options_test.go function TestParseHeadlessOptionalArguments (line 12) | func TestParseHeadlessOptionalArguments(t *testing.T) { FILE: internal/runner/proxy.go constant HTTP_PROXY_ENV (line 17) | HTTP_PROXY_ENV = "HTTP_PROXY" function loadProxyServers (line 21) | func loadProxyServers(options *types.Options) error { FILE: internal/runner/runner.go type Runner (line 80) | type Runner struct method runStandardEnumeration (line 402) | func (r *Runner) runStandardEnumeration(executerOpts *protocols.Execut... method Close (line 410) | func (r *Runner) Close() { method setupPDCPUpload (line 454) | func (r *Runner) setupPDCPUpload(writer output.Writer) output.Writer { method RunEnumeration (line 492) | func (r *Runner) RunEnumeration() error { method isInputNonHTTP (line 792) | func (r *Runner) isInputNonHTTP() bool { method executeSmartWorkflowInput (line 804) | func (r *Runner) executeSmartWorkflowInput(executorOpts *protocols.Exe... method executeTemplatesInput (line 824) | func (r *Runner) executeTemplatesInput(store *loader.Store, engine *co... method displayExecutionInfo (line 852) | func (r *Runner) displayExecutionInfo(store *loader.Store) { method SaveResumeConfig (line 928) | func (r *Runner) SaveResumeConfig(path string) error { function New (line 109) | func New(options *types.Options) (*Runner, error) { function shortDur (line 774) | func shortDur(d time.Duration) string { function UploadResultsToCloud (line 943) | func UploadResultsToCloud(options *types.Options) error { type WalkFunc (line 990) | type WalkFunc function Walk (line 996) | func Walk(s interface{}, callback WalkFunc) { function expandEndVars (line 1023) | func expandEndVars(f reflect.Value, fieldType reflect.StructField) { function init (line 1039) | func init() { FILE: internal/runner/runner_test.go function TestCreateReportingOptions (line 13) | func TestCreateReportingOptions(t *testing.T) { type TestStruct1 (line 29) | type TestStruct1 struct type TestStruct2 (line 34) | type TestStruct2 struct type TestStruct3 (line 38) | type TestStruct3 struct type TestStruct4 (line 44) | type TestStruct4 struct type TestStruct5 (line 49) | type TestStruct5 struct type TestStruct6 (line 54) | type TestStruct6 struct function TestWalkReflectStructAssignsEnvVars (line 60) | func TestWalkReflectStructAssignsEnvVars(t *testing.T) { function TestWalkReflectStructHandlesDifferentTypes (line 76) | func TestWalkReflectStructHandlesDifferentTypes(t *testing.T) { function TestWalkReflectStructEmpty (line 93) | func TestWalkReflectStructEmpty(t *testing.T) { function TestWalkReflectStructWithNoYamlTag (line 110) | func TestWalkReflectStructWithNoYamlTag(t *testing.T) { function TestWalkReflectStructHandlesNestedStructs (line 127) | func TestWalkReflectStructHandlesNestedStructs(t *testing.T) { FILE: internal/runner/templates.go method logAvailableTemplate (line 20) | func (r *Runner) logAvailableTemplate(tplPath string) { method verboseTemplate (line 34) | func (r *Runner) verboseTemplate(tpl *templates.Template) { method listAvailableStoreTemplates (line 41) | func (r *Runner) listAvailableStoreTemplates(store *loader.Store) { method listAvailableTags (line 81) | func (r *Runner) listAvailableTags(tagsMap map[string]int) { method highlightTemplate (line 110) | func (r *Runner) highlightTemplate(body *[]byte) ([]byte, error) { function hasExtraFlags (line 121) | func hasExtraFlags(options *types.Options) bool { FILE: internal/server/dedupe.go type requestDeduplicator (line 34) | type requestDeduplicator struct method isDuplicate (line 46) | func (r *requestDeduplicator) isDuplicate(req *types.RequestResponse) ... function newRequestDeduplicator (line 39) | func newRequestDeduplicator() *requestDeduplicator { function hashRequest (line 65) | func hashRequest(req *types.RequestResponse) (string, error) { function normalizeURL (line 90) | func normalizeURL(u *url.URL) (string, error) { type header (line 105) | type header struct function sortedNonDynamicHeaders (line 110) | func sortedNonDynamicHeaders(headers mapsutil.OrderedMap[string, string]... FILE: internal/server/nuclei_sdk.go type nucleiExecutor (line 40) | type nucleiExecutor struct method ExecuteScan (line 150) | func (n *nucleiExecutor) ExecuteScan(target PostRequestsHandlerRequest... method Close (line 192) | func (n *nucleiExecutor) Close() { type NucleiExecutorOptions (line 47) | type NucleiExecutorOptions struct function newNucleiExecutor (line 64) | func newNucleiExecutor(opts *NucleiExecutorOptions) (*nucleiExecutor, er... type proxifyRequest (line 141) | type proxifyRequest struct FILE: internal/server/requests_worker.go method consumeTaskRequest (line 11) | func (s *DASTServer) consumeTaskRequest(req PostRequestsHandlerRequest) { FILE: internal/server/scope/extensions.go function IsUninterestingPath (line 5) | func IsUninterestingPath(uriPath string) bool { FILE: internal/server/scope/scope.go type Manager (line 11) | type Manager struct method Validate (line 42) | func (m *Manager) Validate(URL *url.URL) (bool, error) { method validateURL (line 59) | func (m *Manager) validateURL(URL string) (bool, error) { function NewManager (line 18) | func NewManager(inScope, outOfScope []string) (*Manager, error) { FILE: internal/server/scope/scope_test.go function TestManagerValidate (line 10) | func TestManagerValidate(t *testing.T) { FILE: internal/server/server.go type DASTServer (line 27) | type DASTServer struct method Close (line 126) | func (s *DASTServer) Close() { method buildURL (line 132) | func (s *DASTServer) buildURL(endpoint string) string { method setupHandlers (line 148) | func (s *DASTServer) setupHandlers(onlyStats bool) { method Start (line 181) | func (s *DASTServer) Start() error { method handleRequest (line 194) | func (s *DASTServer) handleRequest(c echo.Context) error { method getStats (line 242) | func (s *DASTServer) getStats() (StatsResponse, error) { method handleStats (line 277) | func (s *DASTServer) handleStats(c echo.Context) error { method handleStatsJSON (line 290) | func (s *DASTServer) handleStatsJSON(c echo.Context) error { type Options (line 43) | type Options struct function New (line 63) | func New(options *Options) (*DASTServer, error) { function NewStatsServer (line 112) | func NewStatsServer(fuzzStatsDB *stats.Tracker) (*DASTServer, error) { type PostRequestsHandlerRequest (line 189) | type PostRequestsHandlerRequest struct type StatsResponse (line 214) | type StatsResponse struct type DASTServerInfo (line 223) | type DASTServerInfo struct type DASTScanStatistics (line 230) | type DASTScanStatistics struct FILE: lib/config.go type TemplateSources (line 28) | type TemplateSources struct function WithTemplatesOrWorkflows (line 37) | func WithTemplatesOrWorkflows(sources TemplateSources) NucleiSDKOptions { type TemplateFilters (line 50) | type TemplateFilters struct function WithTemplateFilters (line 66) | func WithTemplateFilters(filters TemplateFilters) NucleiSDKOptions { type InteractshOpts (line 100) | type InteractshOpts function WithInteractshOptions (line 103) | func WithInteractshOptions(opts InteractshOpts) NucleiSDKOptions { type Concurrency (line 116) | type Concurrency struct function WithConcurrency (line 127) | func WithConcurrency(opts Concurrency) NucleiSDKOptions { function WithResponseReadSize (line 164) | func WithResponseReadSize(responseReadSize int) NucleiSDKOptions { function WithGlobalRateLimit (line 176) | func WithGlobalRateLimit(maxTokens int, duration time.Duration) NucleiSD... function WithGlobalRateLimitCtx (line 181) | func WithGlobalRateLimitCtx(ctx context.Context, maxTokens int, duration... type HeadlessOpts (line 191) | type HeadlessOpts struct function EnableHeadlessWithOpts (line 203) | func EnableHeadlessWithOpts(hopts *HeadlessOpts) NucleiSDKOptions { type StatsOptions (line 217) | type StatsOptions struct function EnableStatsWithOpts (line 225) | func EnableStatsWithOpts(opts StatsOptions) NucleiSDKOptions { type VerbosityOptions (line 242) | type VerbosityOptions struct function WithVerbosity (line 253) | func WithVerbosity(opts VerbosityOptions) NucleiSDKOptions { type NetworkConfig (line 272) | type NetworkConfig struct function WithNetworkConfig (line 286) | func WithNetworkConfig(opts NetworkConfig) NucleiSDKOptions { function WithProxy (line 318) | func WithProxy(proxy []string, proxyInternalRequests bool) NucleiSDKOpti... function WithScanStrategy (line 330) | func WithScanStrategy(strategy string) NucleiSDKOptions { type OutputWriter (line 338) | type OutputWriter function UseOutputWriter (line 343) | func UseOutputWriter(writer OutputWriter) NucleiSDKOptions { type StatsWriter (line 354) | type StatsWriter function UseStatsWriter (line 358) | func UseStatsWriter(writer StatsWriter) NucleiSDKOptions { function WithTemplateUpdateCallback (line 372) | func WithTemplateUpdateCallback(disableTemplatesAutoUpgrade bool, callba... function WithSandboxOptions (line 384) | func WithSandboxOptions(allowLocalFileAccess bool, restrictLocalNetworkA... function EnableCodeTemplates (line 396) | func EnableCodeTemplates() NucleiSDKOptions { function EnableSelfContainedTemplates (line 405) | func EnableSelfContainedTemplates() NucleiSDKOptions { function EnableGlobalMatchersTemplates (line 413) | func EnableGlobalMatchersTemplates() NucleiSDKOptions { function DisableTemplateCache (line 421) | func DisableTemplateCache() NucleiSDKOptions { function EnableFileTemplates (line 429) | func EnableFileTemplates() NucleiSDKOptions { function WithHeaders (line 437) | func WithHeaders(headers []string) NucleiSDKOptions { function WithVars (line 445) | func WithVars(vars []string) NucleiSDKOptions { function EnablePassiveMode (line 464) | func EnablePassiveMode() NucleiSDKOptions { function EnableMatcherStatus (line 473) | func EnableMatcherStatus() NucleiSDKOptions { function WithAuthProvider (line 481) | func WithAuthProvider(provider authprovider.AuthProvider) NucleiSDKOptio... function LoadSecretsFromFile (line 489) | func LoadSecretsFromFile(files []string, prefetch bool) NucleiSDKOptions { function DASTMode (line 498) | func DASTMode() NucleiSDKOptions { function SignedTemplatesOnly (line 506) | func SignedTemplatesOnly() NucleiSDKOptions { function WithCatalog (line 514) | func WithCatalog(cat catalog.Catalog) NucleiSDKOptions { function DisableUpdateCheck (line 522) | func DisableUpdateCheck() NucleiSDKOptions { function WithResumeFile (line 530) | func WithResumeFile(file string) NucleiSDKOptions { function WithLogger (line 538) | func WithLogger(logger *gologger.Logger) NucleiSDKOptions { function WithOptions (line 552) | func WithOptions(opts *pkgtypes.Options) NucleiSDKOptions { function WithTemporaryDirectory (line 563) | func WithTemporaryDirectory(parentDir string) NucleiSDKOptions { FILE: lib/example_test.go function ExampleNucleiEngine (line 15) | func ExampleNucleiEngine() { function ExampleThreadSafeNucleiEngine (line 36) | func ExampleThreadSafeNucleiEngine() { function TestMain (line 78) | func TestMain(m *testing.M) { FILE: lib/helper.go function GetTargetsFromUncover (line 17) | func GetTargetsFromUncover(ctx context.Context, outputFormat string, opt... function GetTargetsFromTemplateMetadata (line 23) | func GetTargetsFromTemplateMetadata(ctx context.Context, templates []*te... function init (line 31) | func init() { FILE: lib/multi.go type unsafeOptions (line 23) | type unsafeOptions struct function createEphemeralObjects (line 29) | func createEphemeralObjects(ctx context.Context, base *NucleiEngine, opt... function closeEphemeralObjects (line 62) | func closeEphemeralObjects(u *unsafeOptions) { type ThreadSafeNucleiEngine (line 79) | type ThreadSafeNucleiEngine struct method GlobalLoadAllTemplates (line 112) | func (e *ThreadSafeNucleiEngine) GlobalLoadAllTemplates() error { method GlobalResultCallback (line 117) | func (e *ThreadSafeNucleiEngine) GlobalResultCallback(callback func(ev... method ExecuteNucleiWithOptsCtx (line 125) | func (e *ThreadSafeNucleiEngine) ExecuteNucleiWithOptsCtx(ctx context.... method ExecuteNucleiWithOpts (line 177) | func (e *ThreadSafeNucleiEngine) ExecuteNucleiWithOpts(targets []strin... method Close (line 182) | func (e *ThreadSafeNucleiEngine) Close() { function NewThreadSafeNucleiEngineCtx (line 86) | func NewThreadSafeNucleiEngineCtx(ctx context.Context, opts ...NucleiSDK... function NewThreadSafeNucleiEngine (line 106) | func NewThreadSafeNucleiEngine(opts ...NucleiSDKOptions) (*ThreadSafeNuc... FILE: lib/sdk.go type NucleiSDKOptions (line 37) | type NucleiSDKOptions type engineMode (line 50) | type engineMode constant singleInstance (line 53) | singleInstance engineMode = iota constant threadSafe (line 54) | threadSafe type NucleiEngine (line 59) | type NucleiEngine struct method LoadAllTemplates (line 102) | func (e *NucleiEngine) LoadAllTemplates() error { method GetTemplates (line 121) | func (e *NucleiEngine) GetTemplates() []*templates.Template { method GetWorkflows (line 129) | func (e *NucleiEngine) GetWorkflows() []*templates.Template { method LoadTargets (line 137) | func (e *NucleiEngine) LoadTargets(targets []string, probeNonHttp bool) { method LoadTargetsFromReader (line 148) | func (e *NucleiEngine) LoadTargetsFromReader(reader io.Reader, probeNo... method LoadTargetsWithHttpData (line 162) | func (e *NucleiEngine) LoadTargetsWithHttpData(filePath string, filemo... method GetExecuterOptions (line 176) | func (e *NucleiEngine) GetExecuterOptions() *protocols.ExecutorOptions { method ParseTemplate (line 182) | func (e *NucleiEngine) ParseTemplate(data []byte) (*templates.Template... method SignTemplate (line 187) | func (e *NucleiEngine) SignTemplate(tmplSigner *signer.TemplateSigner,... method closeInternal (line 209) | func (e *NucleiEngine) closeInternal() { method Close (line 249) | func (e *NucleiEngine) Close() { method ExecuteCallbackWithCtx (line 256) | func (e *NucleiEngine) ExecuteCallbackWithCtx(ctx context.Context, cal... method ExecuteWithCallback (line 300) | func (e *NucleiEngine) ExecuteWithCallback(callback ...func(event *out... method Options (line 309) | func (e *NucleiEngine) Options() *types.Options { method Engine (line 314) | func (e *NucleiEngine) Engine() *core.Engine { method Store (line 319) | func (e *NucleiEngine) Store() *loader.Store { method GetParser (line 350) | func (e *NucleiEngine) GetParser() *templates.Parser { method GetClusterTemplateIDs (line 366) | func (e *NucleiEngine) GetClusterTemplateIDs(clusterID string) []string { method GetAllClusterMappings (line 379) | func (e *NucleiEngine) GetAllClusterMappings() map[string][]string { function NewNucleiEngineCtx (line 324) | func NewNucleiEngineCtx(ctx context.Context, options ...NucleiSDKOptions... function NewNucleiEngine (line 345) | func NewNucleiEngine(options ...NucleiSDKOptions) (*NucleiEngine, error) { function wait (line 355) | func wait(wg *sync.WaitGroup) <-chan struct{} { FILE: lib/sdk_private.go method applyRequiredDefaults (line 42) | func (e *NucleiEngine) applyRequiredDefaults(ctx context.Context) { method init (line 99) | func (e *NucleiEngine) init(ctx context.Context) error { type syncOnce (line 294) | type syncOnce struct method processUpdateCheckResults (line 301) | func (e *NucleiEngine) processUpdateCheckResults() error { FILE: lib/sdk_test.go function TestContextCancelNucleiEngine (line 13) | func TestContextCancelNucleiEngine(t *testing.T) { function TestHeadlessOptionInitialization (line 39) | func TestHeadlessOptionInitialization(t *testing.T) { FILE: lib/tests/sdk_test.go function TestSimpleNuclei (line 24) | func TestSimpleNuclei(t *testing.T) { function TestSimpleNucleiRemote (line 59) | func TestSimpleNucleiRemote(t *testing.T) { function TestThreadSafeNuclei (line 97) | func TestThreadSafeNuclei(t *testing.T) { function TestWithVarsNuclei (line 137) | func TestWithVarsNuclei(t *testing.T) { FILE: pkg/authprovider/authx/basic_auth.go type BasicAuthStrategy (line 14) | type BasicAuthStrategy struct method Apply (line 24) | func (s *BasicAuthStrategy) Apply(req *http.Request) { method ApplyOnRR (line 29) | func (s *BasicAuthStrategy) ApplyOnRR(req *retryablehttp.Request) { function NewBasicAuthStrategy (line 19) | func NewBasicAuthStrategy(data *Secret) *BasicAuthStrategy { FILE: pkg/authprovider/authx/bearer_auth.go type BearerTokenAuthStrategy (line 14) | type BearerTokenAuthStrategy struct method Apply (line 24) | func (s *BearerTokenAuthStrategy) Apply(req *http.Request) { method ApplyOnRR (line 29) | func (s *BearerTokenAuthStrategy) ApplyOnRR(req *retryablehttp.Request) { function NewBearerTokenAuthStrategy (line 19) | func NewBearerTokenAuthStrategy(data *Secret) *BearerTokenAuthStrategy { FILE: pkg/authprovider/authx/cookies_auth.go type CookiesAuthStrategy (line 15) | type CookiesAuthStrategy struct method Apply (line 25) | func (s *CookiesAuthStrategy) Apply(req *http.Request) { method ApplyOnRR (line 36) | func (s *CookiesAuthStrategy) ApplyOnRR(req *retryablehttp.Request) { function NewCookiesAuthStrategy (line 20) | func NewCookiesAuthStrategy(data *Secret) *CookiesAuthStrategy { FILE: pkg/authprovider/authx/dynamic.go type LazyFetchSecret (line 15) | type LazyFetchSecret type fetchState (line 19) | type fetchState struct type Dynamic (line 32) | type Dynamic struct method GetDomainAndDomainRegex (line 45) | func (d *Dynamic) GetDomainAndDomainRegex() ([]string, []string) { method UnmarshalJSON (line 61) | func (d *Dynamic) UnmarshalJSON(data []byte) error { method Validate (line 79) | func (d *Dynamic) Validate() error { method SetLazyFetchCallback (line 106) | func (d *Dynamic) SetLazyFetchCallback(callback LazyFetchSecret) { method applyValuesToSecret (line 131) | func (d *Dynamic) applyValuesToSecret(secret *Secret) error { method GetStrategies (line 193) | func (d *Dynamic) GetStrategies() []AuthStrategy { method Fetch (line 214) | func (d *Dynamic) Fetch(isFatal bool) error { method Error (line 237) | func (d *Dynamic) Error() error { FILE: pkg/authprovider/authx/dynamic_test.go function TestDynamicUnmarshalJSON (line 13) | func TestDynamicUnmarshalJSON(t *testing.T) { function TestDynamicFetchConcurrent (line 131) | func TestDynamicFetchConcurrent(t *testing.T) { FILE: pkg/authprovider/authx/file.go type AuthType (line 17) | type AuthType constant BasicAuth (line 20) | BasicAuth AuthType = "BasicAuth" constant BearerTokenAuth (line 21) | BearerTokenAuth AuthType = "BearerToken" constant HeadersAuth (line 22) | HeadersAuth AuthType = "Header" constant CookiesAuth (line 23) | CookiesAuth AuthType = "Cookie" constant QueryAuth (line 24) | QueryAuth AuthType = "Query" function SupportedAuthTypes (line 28) | func SupportedAuthTypes() []string { type Authx (line 39) | type Authx struct type AuthFileInfo (line 46) | type AuthFileInfo struct type Secret (line 54) | type Secret struct method GetStrategy (line 68) | func (s *Secret) GetStrategy() AuthStrategy { method Validate (line 84) | func (s *Secret) Validate() error { type KV (line 150) | type KV struct method Validate (line 155) | func (k *KV) Validate() error { type Cookie (line 165) | type Cookie struct method Validate (line 171) | func (c *Cookie) Validate() error { method Parse (line 187) | func (c *Cookie) Parse() error { function GetAuthDataFromFile (line 207) | func GetAuthDataFromFile(file string) (*Authx, error) { function GetTemplatePathsFromSecretFile (line 223) | func GetTemplatePathsFromSecretFile(file string) ([]string, error) { function GetAuthDataFromYAML (line 236) | func GetAuthDataFromYAML(data []byte) (*Authx, error) { function GetAuthDataFromJSON (line 248) | func GetAuthDataFromJSON(data []byte) (*Authx, error) { FILE: pkg/authprovider/authx/file_test.go function TestSecretsUnmarshal (line 9) | func TestSecretsUnmarshal(t *testing.T) { FILE: pkg/authprovider/authx/headers_auth.go type HeadersAuthStrategy (line 14) | type HeadersAuthStrategy struct method Apply (line 26) | func (s *HeadersAuthStrategy) Apply(req *http.Request) { method ApplyOnRR (line 35) | func (s *HeadersAuthStrategy) ApplyOnRR(req *retryablehttp.Request) { function NewHeadersAuthStrategy (line 19) | func NewHeadersAuthStrategy(data *Secret) *HeadersAuthStrategy { FILE: pkg/authprovider/authx/query_auth.go type QueryAuthStrategy (line 15) | type QueryAuthStrategy struct method Apply (line 25) | func (s *QueryAuthStrategy) Apply(req *http.Request) { method ApplyOnRR (line 35) | func (s *QueryAuthStrategy) ApplyOnRR(req *retryablehttp.Request) { function NewQueryAuthStrategy (line 20) | func NewQueryAuthStrategy(data *Secret) *QueryAuthStrategy { FILE: pkg/authprovider/authx/strategy.go type AuthStrategy (line 11) | type AuthStrategy interface type DynamicAuthStrategy (line 20) | type DynamicAuthStrategy struct method Apply (line 26) | func (d *DynamicAuthStrategy) Apply(req *http.Request) { method ApplyOnRR (line 40) | func (d *DynamicAuthStrategy) ApplyOnRR(req *retryablehttp.Request) { FILE: pkg/authprovider/file.go type FileAuthProvider (line 16) | type FileAuthProvider struct method init (line 57) | func (f *FileAuthProvider) init() { method LookupAddr (line 128) | func (f *FileAuthProvider) LookupAddr(addr string) []authx.AuthStrategy { method LookupURL (line 153) | func (f *FileAuthProvider) LookupURL(u *url.URL) []authx.AuthStrategy { method LookupURLX (line 158) | func (f *FileAuthProvider) LookupURLX(u *urlutil.URL) []authx.AuthStra... method GetTemplatePaths (line 163) | func (f *FileAuthProvider) GetTemplatePaths() []string { method PreFetchSecrets (line 174) | func (f *FileAuthProvider) PreFetchSecrets() error { function NewFileAuthProvider (line 24) | func NewFileAuthProvider(path string, callback authx.LazyFetchSecret) (A... FILE: pkg/authprovider/file_test.go function TestFileAuthProviderDynamicSecretConcurrentAccess (line 17) | func TestFileAuthProviderDynamicSecretConcurrentAccess(t *testing.T) { FILE: pkg/authprovider/interface.go type AuthProvider (line 22) | type AuthProvider interface type AuthProviderOptions (line 41) | type AuthProviderOptions struct function NewAuthProvider (line 49) | func NewAuthProvider(options *AuthProviderOptions) (AuthProvider, error) { FILE: pkg/authprovider/multi.go type MultiAuthProvider (line 13) | type MultiAuthProvider struct method LookupAddr (line 22) | func (m *MultiAuthProvider) LookupAddr(host string) []authx.AuthStrate... method LookupURL (line 32) | func (m *MultiAuthProvider) LookupURL(u *url.URL) []authx.AuthStrategy { method LookupURLX (line 42) | func (m *MultiAuthProvider) LookupURLX(u *urlutil.URL) []authx.AuthStr... method GetTemplatePaths (line 52) | func (m *MultiAuthProvider) GetTemplatePaths() []string { method PreFetchSecrets (line 60) | func (m *MultiAuthProvider) PreFetchSecrets() error { function NewMultiAuthProvider (line 18) | func NewMultiAuthProvider(providers ...AuthProvider) AuthProvider { FILE: pkg/catalog/aws/catalog.go type Catalog (line 21) | type Catalog struct method OpenFile (line 84) | func (c Catalog) OpenFile(filename string) (io.ReadCloser, error) { method GetTemplatePath (line 94) | func (c Catalog) GetTemplatePath(target string) ([]string, error) { method GetTemplatesPath (line 113) | func (c Catalog) GetTemplatesPath(definitions []string) ([]string, map... method ResolvePath (line 125) | func (c Catalog) ResolvePath(templateName, second string) (string, err... type client (line 26) | type client interface type s3svc (line 32) | type s3svc struct method getAllKeys (line 151) | func (s *s3svc) getAllKeys() ([]string, error) { method downloadKey (line 172) | func (s *s3svc) downloadKey(name string) (io.ReadCloser, error) { method setBucket (line 186) | func (s *s3svc) setBucket(bucket string) { function NewCatalog (line 39) | func NewCatalog(bucket string, configurations ...func(*Catalog) error) (... function WithAWSKeys (line 65) | func WithAWSKeys(accessKey, secretKey, region string) func(*Catalog) err... FILE: pkg/catalog/aws/catalog_test.go function TestCatalog_GetTemplatePath (line 13) | func TestCatalog_GetTemplatePath(t *testing.T) { function TestCatalog_GetTemplatesPath (line 77) | func TestCatalog_GetTemplatesPath(t *testing.T) { function TestCatalog_OpenFile (line 133) | func TestCatalog_OpenFile(t *testing.T) { function TestCatalog_ResolvePath (line 170) | func TestCatalog_ResolvePath(t *testing.T) { function withMockS3Service (line 224) | func withMockS3Service() func(*Catalog) error { type mocks3svc (line 231) | type mocks3svc struct method getAllKeys (line 249) | func (m mocks3svc) getAllKeys() ([]string, error) { method downloadKey (line 253) | func (m mocks3svc) downloadKey(name string) (io.ReadCloser, error) { method setBucket (line 281) | func (m mocks3svc) setBucket(bucket string) {} function newMockS3Service (line 235) | func newMockS3Service() mocks3svc { FILE: pkg/catalog/catalog.go type Catalog (line 6) | type Catalog interface FILE: pkg/catalog/config/constants.go type AppMode (line 9) | type AppMode constant AppModeLibrary (line 12) | AppModeLibrary AppMode = "library" constant AppModeCLI (line 13) | AppModeCLI AppMode = "cli" constant TemplateConfigFileName (line 24) | TemplateConfigFileName = ".templates-config.json" constant NucleiTemplatesDirName (line 25) | NucleiTemplatesDirName = "nuclei-templates" constant OfficialNucleiTemplatesRepoName (line 26) | OfficialNucleiTemplatesRepoName = "nuclei-templates" constant NucleiIgnoreFileName (line 27) | NucleiIgnoreFileName = ".nuclei-ignore" constant NucleiTemplatesIndexFileName (line 28) | NucleiTemplatesIndexFileName = ".templates-index" constant NucleiTemplatesCheckSumFileName (line 29) | NucleiTemplatesCheckSumFileName = ".checksum" constant NewTemplateAdditionsFileName (line 30) | NewTemplateAdditionsFileName = ".new-additions" constant CLIConfigFileName (line 31) | CLIConfigFileName = "config.yaml" constant ReportingConfigFilename (line 32) | ReportingConfigFilename = "reporting-config.yaml" constant Version (line 34) | Version = `v3.7.1` constant CustomS3TemplatesDirName (line 36) | CustomS3TemplatesDirName = "s3" constant CustomGitHubTemplatesDirName (line 37) | CustomGitHubTemplatesDirName = "github" constant CustomAzureTemplatesDirName (line 38) | CustomAzureTemplatesDirName = "azure" constant CustomGitLabTemplatesDirName (line 39) | CustomGitLabTemplatesDirName = "gitlab" constant BinaryName (line 40) | BinaryName = "nuclei" constant FallbackConfigFolderName (line 41) | FallbackConfigFolderName = ".nuclei-config" constant NucleiConfigDirEnv (line 42) | NucleiConfigDirEnv = "NUCLEI_CONFIG_DIR" constant NucleiTemplatesDirEnv (line 43) | NucleiTemplatesDirEnv = "NUCLEI_TEMPLATES_DIR" function IsOutdatedVersion (line 48) | func IsOutdatedVersion(current, latest string) bool { function trimDevIfExists (line 69) | func trimDevIfExists(version string) string { constant DebugArgHostErrorStats (line 81) | DebugArgHostErrorStats = "host-error-stats" constant DebugExportURLPattern (line 83) | DebugExportURLPattern = "req-url-pattern" FILE: pkg/catalog/config/ignorefile.go type IgnoreFile (line 11) | type IgnoreFile struct function ReadIgnoreFile (line 17) | func ReadIgnoreFile() IgnoreFile { FILE: pkg/catalog/config/nucleiconfig.go type Config (line 25) | type Config struct method IsCustomTemplate (line 64) | func (c *Config) IsCustomTemplate(templatePath string) bool { method WriteVersionCheckData (line 81) | func (c *Config) WriteVersionCheckData(ignorehash, nucleiVersion, temp... method GetTemplateDir (line 103) | func (c *Config) GetTemplateDir() string { method DisableUpdateCheck (line 109) | func (c *Config) DisableUpdateCheck() { method CanCheckForUpdates (line 116) | func (c *Config) CanCheckForUpdates() bool { method NeedsTemplateUpdate (line 123) | func (c *Config) NeedsTemplateUpdate() bool { method NeedsIgnoreFileUpdate (line 130) | func (c *Config) NeedsIgnoreFileUpdate() bool { method UpdateNucleiIgnoreHash (line 137) | func (c *Config) UpdateNucleiIgnoreHash() error { method GetConfigDir (line 153) | func (c *Config) GetConfigDir() string { method GetKeysDir (line 158) | func (c *Config) GetKeysDir() string { method GetAllCustomTemplateDirs (line 163) | func (c *Config) GetAllCustomTemplateDirs() []string { method GetReportingConfigFilePath (line 168) | func (c *Config) GetReportingConfigFilePath() string { method GetIgnoreFilePath (line 173) | func (c *Config) GetIgnoreFilePath() string { method GetTemplateIndexFilePath (line 177) | func (c *Config) GetTemplateIndexFilePath() string { method GetChecksumFilePath (line 182) | func (c *Config) GetChecksumFilePath() string { method GetFlagsConfigFilePath (line 187) | func (c *Config) GetFlagsConfigFilePath() string { method GetNewAdditions (line 193) | func (c *Config) GetNewAdditions() []string { method GetCacheDir (line 215) | func (c *Config) GetCacheDir() string { method SetConfigDir (line 221) | func (c *Config) SetConfigDir(dir string) { method SetTemplatesDir (line 242) | func (c *Config) SetTemplatesDir(dirPath string) { method SetTemplatesVersion (line 256) | func (c *Config) SetTemplatesVersion(version string) error { method ReadTemplatesConfig (line 266) | func (c *Config) ReadTemplatesConfig() error { method WriteTemplatesConfig (line 288) | func (c *Config) WriteTemplatesConfig() error { method WriteTemplatesIndex (line 304) | func (c *Config) WriteTemplatesIndex(index map[string]string) error { method getTemplatesConfigFilePath (line 314) | func (c *Config) getTemplatesConfigFilePath() string { method createConfigDirIfNotExists (line 319) | func (c *Config) createConfigDirIfNotExists() error { method copyIgnoreFile (line 330) | func (c *Config) copyIgnoreFile() { method IsDebugArgEnabled (line 347) | func (c *Config) IsDebugArgEnabled(arg string) bool { method parseDebugArgs (line 352) | func (c *Config) parseDebugArgs(data string) { function init (line 379) | func init() { function applyDefaultConfig (line 427) | func applyDefaultConfig() { FILE: pkg/catalog/config/template.go type TemplateFormat (line 21) | type TemplateFormat constant YAML (line 24) | YAML TemplateFormat = iota constant JSON (line 25) | JSON constant Unknown (line 26) | Unknown function GetKnownConfigFiles (line 30) | func GetKnownConfigFiles() []string { function GetKnownMiscDirectories (line 39) | func GetKnownMiscDirectories() []string { function GetTemplateFormatFromExt (line 49) | func GetTemplateFormatFromExt(filePath string) TemplateFormat { function GetSupportTemplateFileExtensions (line 62) | func GetSupportTemplateFileExtensions() []string { function IsTemplate (line 68) | func IsTemplate(fpath string) bool { function IsTemplateWithRoot (line 75) | func IsTemplateWithRoot(fpath, rootDir string) bool { type template (line 116) | type template struct function GetTemplateIDFromReader (line 121) | func GetTemplateIDFromReader(data io.Reader, filename string) (string, e... function getTemplateID (line 133) | func getTemplateID(filePath string) (string, error) { function GetNucleiTemplatesIndex (line 146) | func GetNucleiTemplatesIndex() (map[string]string, error) { FILE: pkg/catalog/config/template_test.go function toAbs (line 12) | func toAbs(p string) string { function TestIsTemplate (line 31) | func TestIsTemplate(t *testing.T) { FILE: pkg/catalog/disk/catalog.go type DiskCatalog (line 12) | type DiskCatalog struct method OpenFile (line 39) | func (d *DiskCatalog) OpenFile(filename string) (io.ReadCloser, error) { function NewCatalog (line 19) | func NewCatalog(directory string) *DiskCatalog { function NewFSCatalog (line 29) | func NewFSCatalog(fs fs.FS, directory string) *DiskCatalog { FILE: pkg/catalog/disk/find.go method GetTemplatesPath (line 21) | func (c *DiskCatalog) GetTemplatesPath(definitions []string) ([]string, ... method GetTemplatePath (line 67) | func (c *DiskCatalog) GetTemplatePath(target string) ([]string, error) { method convertPathToAbsolute (line 120) | func (c *DiskCatalog) convertPathToAbsolute(t string) (string, error) { method findGlobPathMatches (line 133) | func (c *DiskCatalog) findGlobPathMatches(absPath string, processed map[... method findFileMatches (line 170) | func (c *DiskCatalog) findFileMatches(absPath string, processed map[stri... method findDirectoryMatches (line 203) | func (c *DiskCatalog) findDirectoryMatches(absPath string, processed map... function PrintDeprecatedPathsMsgIfApplicable (line 256) | func PrintDeprecatedPathsMsgIfApplicable(isSilent bool) { FILE: pkg/catalog/disk/path.go method ResolvePath (line 21) | func (c *DiskCatalog) ResolvePath(templateName, second string) (string, ... method tryResolve (line 60) | func (c *DiskCatalog) tryResolve(fullPath string) (string, error) { function BackwardsCompatiblePaths (line 78) | func BackwardsCompatiblePaths(templateDir string, oldPath string) string { FILE: pkg/catalog/index/filter.go type Filter (line 20) | type Filter struct method Matches (line 59) | func (f *Filter) Matches(m *Metadata) bool { method isForcedInclude (line 76) | func (f *Filter) isForcedInclude(m *Metadata) bool { method isExcluded (line 95) | func (f *Filter) isExcluded(m *Metadata) bool { method matchesIncludes (line 137) | func (f *Filter) matchesIncludes(m *Metadata) bool { method IsEmpty (line 286) | func (f *Filter) IsEmpty() bool { method String (line 302) | func (f *Filter) String() string { function matchesID (line 179) | func matchesID(templateID, pattern string) bool { function matchesPath (line 194) | func matchesPath(templatePath, pattern string) bool { type FilterFunc (line 212) | type FilterFunc function UnmarshalFilter (line 215) | func UnmarshalFilter( function UnmarshalFilterFunc (line 277) | func UnmarshalFilterFunc(filter *Filter) FilterFunc { FILE: pkg/catalog/index/filter_test.go function TestFilterMatches (line 13) | func TestFilterMatches(t *testing.T) { function TestMatchesPath (line 169) | func TestMatchesPath(t *testing.T) { function TestMatchesID (line 191) | func TestMatchesID(t *testing.T) { function TestUnmarshalFilter (line 216) | func TestUnmarshalFilter(t *testing.T) { function TestIndexFilter (line 259) | func TestIndexFilter(t *testing.T) { function TestIndexFilterFunc (line 358) | func TestIndexFilterFunc(t *testing.T) { function TestFilterString (line 391) | func TestFilterString(t *testing.T) { FILE: pkg/catalog/index/index.go constant IndexFileName (line 18) | IndexFileName = "index.gob" constant IndexVersion (line 22) | IndexVersion = 1 constant DefaultMaxSize (line 25) | DefaultMaxSize = 50000 constant DefaultMaxWeight (line 28) | DefaultMaxWeight = DefaultMaxSize * 800 type Index (line 32) | type Index struct method Get (line 106) | func (i *Index) Get(path string) (*Metadata, bool) { method Set (line 131) | func (i *Index) Set(path string, metadata *Metadata) (*Metadata, bool) { method SetFromTemplate (line 143) | func (i *Index) SetFromTemplate(path string, tpl *templates.Template) ... method Has (line 160) | func (i *Index) Has(path string) bool { method Delete (line 170) | func (i *Index) Delete(path string) { method Size (line 178) | func (i *Index) Size() int { method Clear (line 186) | func (i *Index) Clear() { method Save (line 194) | func (i *Index) Save() error { method Load (line 236) | func (i *Index) Load() error { method Filter (line 275) | func (i *Index) Filter(filter *Filter) []string { method FilterFunc (line 294) | func (i *Index) FilterFunc(fn FilterFunc) []string { method All (line 313) | func (i *Index) All() []string { method GetAll (line 326) | func (i *Index) GetAll() map[string]*Metadata { method Count (line 336) | func (i *Index) Count(filter *Filter) int { type cacheSnapshot (line 40) | type cacheSnapshot struct function NewIndex (line 46) | func NewIndex(cacheDir string) (*Index, error) { function NewDefaultIndex (line 101) | func NewDefaultIndex() (*Index, error) { FILE: pkg/catalog/index/index_test.go function TestNewIndex (line 21) | func TestNewIndex(t *testing.T) { function TestCacheBasicOperations (line 38) | func TestCacheBasicOperations(t *testing.T) { function TestCachePersistence (line 80) | func TestCachePersistence(t *testing.T) { function TestIndexVersionMismatch (line 167) | func TestIndexVersionMismatch(t *testing.T) { function TestCacheCorruptedFile (line 199) | func TestCacheCorruptedFile(t *testing.T) { function TestMetadataValidation (line 220) | func TestMetadataValidation(t *testing.T) { function TestSetFromTemplate (line 293) | func TestSetFromTemplate(t *testing.T) { function TestMetadataMatchingHelpers (line 382) | func TestMetadataMatchingHelpers(t *testing.T) { function TestCacheConcurrency (line 427) | func TestCacheConcurrency(t *testing.T) { function TestCacheSize (line 477) | func TestCacheSize(t *testing.T) { function TestCacheGetWithValidFile (line 506) | func TestCacheGetWithValidFile(t *testing.T) { function TestCacheSaveErrorHandling (line 534) | func TestCacheSaveErrorHandling(t *testing.T) { function TestNewCacheWithInvalidDirectory (line 555) | func TestNewCacheWithInvalidDirectory(t *testing.T) { function TestCacheLoadCorruptedRemoval (line 566) | func TestCacheLoadCorruptedRemoval(t *testing.T) { function TestMetadataExtractionWithNilClassification (line 591) | func TestMetadataExtractionWithNilClassification(t *testing.T) { function TestCachePersistenceWithLargeDataset (line 617) | func TestCachePersistenceWithLargeDataset(t *testing.T) { function TestMetadataHelperMethods (line 654) | func TestMetadataHelperMethods(t *testing.T) { function TestMultipleProtocolsDetection (line 680) | func TestMultipleProtocolsDetection(t *testing.T) { function TestNewMetadataFromTemplate (line 710) | func TestNewMetadataFromTemplate(t *testing.T) { FILE: pkg/catalog/index/metadata.go type Metadata (line 14) | type Metadata struct method IsValid (line 77) | func (m *Metadata) IsValid() bool { method MatchesSeverity (line 87) | func (m *Metadata) MatchesSeverity(sev severity.Severity) bool { method MatchesProtocol (line 92) | func (m *Metadata) MatchesProtocol(protocolType types.ProtocolType) bo... method HasTag (line 97) | func (m *Metadata) HasTag(tag string) bool { method HasAuthor (line 102) | func (m *Metadata) HasAuthor(author string) bool { function NewMetadataFromTemplate (line 58) | func NewMetadataFromTemplate(path string, tpl *templates.Template) *Meta... FILE: pkg/catalog/loader/ai_loader.go constant aiTemplateGeneratorAPIEndpoint (line 21) | aiTemplateGeneratorAPIEndpoint = "https://api.projectdiscovery.io/v1/tem... type AITemplateResponse (line 24) | type AITemplateResponse struct function getAIGeneratedTemplates (line 33) | func getAIGeneratedTemplates(prompt string, options *types.Options) ([]s... function generateAITemplate (line 88) | func generateAITemplate(prompt string) (string, string, error) { FILE: pkg/catalog/loader/filter/path_filter.go type PathFilter (line 8) | type PathFilter struct method Match (line 35) | func (p *PathFilter) Match(templates []string) map[string]struct{} { method MatchIncluded (line 51) | func (p *PathFilter) MatchIncluded(template string) bool { type PathFilterConfig (line 14) | type PathFilterConfig struct function NewPathFilter (line 20) | func NewPathFilter(config *PathFilterConfig, catalogClient catalog.Catal... FILE: pkg/catalog/loader/loader.go constant httpPrefix (line 38) | httpPrefix = "http://" constant httpsPrefix (line 39) | httpsPrefix = "https://" constant AuthStoreId (line 40) | AuthStoreId = "auth_store" type Config (line 48) | type Config struct type Store (line 77) | type Store struct method getTemplateVerification (line 252) | func (store *Store) getTemplateVerification(templatePath string) *prot... method ReadTemplateFromURI (line 291) | func (store *Store) ReadTemplateFromURI(uri string, remote bool) ([]by... method ID (line 315) | func (store *Store) ID() string { method Templates (line 320) | func (store *Store) Templates() []*templates.Template { method Workflows (line 325) | func (store *Store) Workflows() []*templates.Template { method RegisterPreprocessor (line 330) | func (store *Store) RegisterPreprocessor(preprocessor templates.Prepro... method Load (line 336) | func (store *Store) Load() error { method buildIndexFilter (line 356) | func (store *Store) buildIndexFilter() *index.Filter { method loadTemplatesIndex (line 376) | func (store *Store) loadTemplatesIndex() *index.Index { method LoadTemplateTags (line 396) | func (store *Store) LoadTemplateTags() (map[string]int, error) { method LoadTemplatesOnlyMetadata (line 473) | func (store *Store) LoadTemplatesOnlyMetadata() error { method ValidateTemplates (line 586) | func (store *Store) ValidateTemplates() error { method areWorkflowsValid (line 610) | func (store *Store) areWorkflowsValid(filteredWorkflowPaths map[string... method areTemplatesValid (line 616) | func (store *Store) areTemplatesValid(filteredTemplatePaths map[string... method areWorkflowOrTemplatesValid (line 622) | func (store *Store) areWorkflowOrTemplatesValid(filteredTemplatePaths ... method LoadTemplates (line 725) | func (store *Store) LoadTemplates(templatesList []string) ([]*template... method LoadWorkflows (line 730) | func (store *Store) LoadWorkflows(workflowsList []string) []*templates... method LoadTemplatesWithTags (line 757) | func (store *Store) LoadTemplatesWithTags(templatesList, tags []string... method logErroredTemplates (line 984) | func (s *Store) logErroredTemplates(erred map[string]error) { function NewConfig (line 110) | func NewConfig(options *types.Options, catalog catalog.Catalog, executer... function New (line 140) | func New(cfg *Config) (*Store, error) { function handleTemplatesEditorURLs (line 268) | func handleTemplatesEditorURLs(input string) string { function init (line 348) | func init() { function areWorkflowTemplatesValid (line 693) | func areWorkflowTemplatesValid(store *Store, workflows []*workflows.Work... function isParsingError (line 710) | func isParsingError(store *Store, message string, template string, err e... function IsHTTPBasedProtocolUsed (line 946) | func IsHTTPBasedProtocolUsed(store *Store) bool { function workflowContainsProtocol (line 963) | func workflowContainsProtocol(workflow []*workflows.WorkflowTemplate) bo... FILE: pkg/catalog/loader/loader_bench_test.go function BenchmarkStoreValidateTemplates (line 17) | func BenchmarkStoreValidateTemplates(b *testing.B) { function BenchmarkLoadTemplates (line 47) | func BenchmarkLoadTemplates(b *testing.B) { function BenchmarkLoadTemplatesOnlyMetadata (line 189) | func BenchmarkLoadTemplatesOnlyMetadata(b *testing.B) { FILE: pkg/catalog/loader/loader_test.go function TestLoadTemplates (line 12) | func TestLoadTemplates(t *testing.T) { function TestRemoteTemplates (line 49) | func TestRemoteTemplates(t *testing.T) { FILE: pkg/catalog/loader/remote_loader.go type ContentType (line 20) | type ContentType constant Template (line 23) | Template ContentType = "Template" constant Workflow (line 24) | Workflow ContentType = "Workflow" type RemoteContent (line 27) | type RemoteContent struct function getRemoteTemplatesAndWorkflows (line 33) | func getRemoteTemplatesAndWorkflows(templateURLs, workflowURLs, remoteTe... function getRemoteContent (line 82) | func getRemoteContent(URL string, remoteTemplateDomainList []string, con... function validateRemoteTemplateURL (line 128) | func validateRemoteTemplateURL(inputURL string, remoteTemplateDomainList... FILE: pkg/core/engine.go type Engine (line 18) | type Engine struct method GetWorkPoolConfig (line 36) | func (e *Engine) GetWorkPoolConfig() WorkPoolConfig { method GetWorkPool (line 47) | func (e *Engine) GetWorkPool() *WorkPool { method SetExecuterOptions (line 53) | func (e *Engine) SetExecuterOptions(options *protocols.ExecutorOptions) { method ExecuterOptions (line 58) | func (e *Engine) ExecuterOptions() *protocols.ExecutorOptions { method WorkPool (line 63) | func (e *Engine) WorkPool() *WorkPool { function New (line 27) | func New(options *types.Options) *Engine { FILE: pkg/core/execute_options.go method Execute (line 23) | func (e *Engine) Execute(ctx context.Context, templates []*templates.Tem... method ExecuteWithResults (line 28) | func (e *Engine) ExecuteWithResults(ctx context.Context, templatesList [... method ExecuteScanWithOpts (line 34) | func (e *Engine) ExecuteScanWithOpts(ctx context.Context, templatesList ... method executeTemplateSpray (line 108) | func (e *Engine) executeTemplateSpray(ctx context.Context, templatesList... method executeHostSpray (line 148) | func (e *Engine) executeHostSpray(ctx context.Context, templatesList []*... function getRequestCount (line 171) | func getRequestCount(templates []*templates.Template) int { FILE: pkg/core/executors.go method executeAllSelfContained (line 22) | func (e *Engine) executeAllSelfContained(ctx context.Context, alltemplat... method executeTemplateWithTargets (line 50) | func (e *Engine) executeTemplateWithTargets(ctx context.Context, templat... method executeTemplatesOnTarget (line 186) | func (e *Engine) executeTemplatesOnTarget(ctx context.Context, alltempla... method executeTemplateOnInput (line 247) | func (e *Engine) executeTemplateOnInput(ctx context.Context, template *t... FILE: pkg/core/executors_test.go type fakeExecuter (line 21) | type fakeExecuter struct method Compile (line 25) | func (f *fakeExecuter) Compile() error { ... method Requests (line 26) | func (f *fakeExecuter) Requests() int { ... method Execute (line 27) | func (f *fakeExecuter) Execute(ctx *scan.ScanContext) (bool, error) { ... method ExecuteWithResults (line 28) | func (f *fakeExecuter) ExecuteWithResults(ctx *scan.ScanContext) ([]*o... function newTestEngine (line 36) | func newTestEngine() *Engine { function Test_executeTemplateOnInput_CallbackPath (line 40) | func Test_executeTemplateOnInput_CallbackPath(t *testing.T) { function Test_executeTemplateOnInput_ExecutePath (line 60) | func Test_executeTemplateOnInput_ExecutePath(t *testing.T) { type fakeExecuterErr (line 74) | type fakeExecuterErr struct method Compile (line 76) | func (f *fakeExecuterErr) Compile() error ... method Requests (line 77) | func (f *fakeExecuterErr) Requests() int ... method Execute (line 78) | func (f *fakeExecuterErr) Execute(ctx *scan.ScanContext) (bool, error)... method ExecuteWithResults (line 79) | func (f *fakeExecuterErr) ExecuteWithResults(ctx *scan.ScanContext) ([... function Test_executeTemplateOnInput_CallbackErrorPropagates (line 83) | func Test_executeTemplateOnInput_CallbackErrorPropagates(t *testing.T) { type fakeTargetProvider (line 98) | type fakeTargetProvider struct method Count (line 102) | func (f *fakeTargetProvider) Count() int64 { return int64(len(f.values... method Iterate (line 103) | func (f *fakeTargetProvider) Iterate(cb func(value *contextargs.MetaIn... method Set (line 110) | func (f *fakeTargetProvider) Set(string, string) {} method SetWithProbe (line 111) | func (f *fakeTargetProvider) SetWithProbe(string, string, inputtypes.I... method SetWithExclusions (line 114) | func (f *fakeTargetProvider) SetWithExclusions(string, string) error {... method InputType (line 115) | func (f *fakeTargetProvider) InputType() string {... method Close (line 116) | func (f *fakeTargetProvider) Close() {} type slowExecuter (line 118) | type slowExecuter struct method Compile (line 120) | func (s *slowExecuter) Compile() error { return nil } method Requests (line 121) | func (s *slowExecuter) Requests() int { return 1 } method Execute (line 122) | func (s *slowExecuter) Execute(ctx *scan.ScanContext) (bool, error) { method ExecuteWithResults (line 130) | func (s *slowExecuter) ExecuteWithResults(ctx *scan.ScanContext) ([]*o... function Test_executeTemplateWithTargets_RespectsCancellation (line 134) | func Test_executeTemplateWithTargets_RespectsCancellation(t *testing.T) { FILE: pkg/core/workflow_execute.go constant workflowStepExecutionError (line 16) | workflowStepExecutionError = "[%s] Could not execute workflow step: %s\n" method executeWorkflow (line 19) | func (e *Engine) executeWorkflow(ctx *scan.ScanContext, w *workflows.Wor... method runWorkflowStep (line 50) | func (e *Engine) runWorkflowStep(template *workflows.WorkflowTemplate, c... FILE: pkg/core/workflow_execute_test.go function TestWorkflowsSimple (line 19) | func TestWorkflowsSimple(t *testing.T) { function TestWorkflowsSimpleMultiple (line 35) | func TestWorkflowsSimpleMultiple(t *testing.T) { function TestWorkflowsSubtemplates (line 62) | func TestWorkflowsSubtemplates(t *testing.T) { function TestWorkflowsSubtemplatesNoMatch (line 90) | func TestWorkflowsSubtemplatesNoMatch(t *testing.T) { function TestWorkflowsSubtemplatesWithMatcher (line 116) | func TestWorkflowsSubtemplatesWithMatcher(t *testing.T) { function TestWorkflowsSubtemplatesWithMatcherNoMatch (line 147) | func TestWorkflowsSubtemplatesWithMatcherNoMatch(t *testing.T) { type mockExecuter (line 178) | type mockExecuter struct method Compile (line 185) | func (m *mockExecuter) Compile() error { method Requests (line 190) | func (m *mockExecuter) Requests() int { method Execute (line 195) | func (m *mockExecuter) Execute(ctx *scan.ScanContext) (bool, error) { method ExecuteWithResults (line 203) | func (m *mockExecuter) ExecuteWithResults(ctx *scan.ScanContext) ([]*o... FILE: pkg/core/workpool.go type WorkPool (line 16) | type WorkPool struct method Wait (line 47) | func (w *WorkPool) Wait() { method InputPool (line 53) | func (w *WorkPool) InputPool(templateType types.ProtocolType) *syncuti... method RefreshWithConfig (line 64) | func (w *WorkPool) RefreshWithConfig(config WorkPoolConfig) { method Refresh (line 80) | func (w *WorkPool) Refresh(ctx context.Context) { type WorkPoolConfig (line 23) | type WorkPoolConfig struct function NewWorkPool (line 35) | func NewWorkPool(config WorkPoolConfig) *WorkPool { FILE: pkg/external/customtemplates/azure_blob.go type customTemplateAzureBlob (line 20) | type customTemplateAzureBlob struct method Download (line 67) | func (bk *customTemplateAzureBlob) Download(ctx context.Context) { method Update (line 111) | func (bk *customTemplateAzureBlob) Update(ctx context.Context) { function NewAzureProviders (line 26) | func NewAzureProviders(options *types.Options) ([]*customTemplateAzureBl... function getAzureBlobClient (line 49) | func getAzureBlobClient(tenantID string, clientID string, clientSecret s... function downloadTemplate (line 118) | func downloadTemplate(client *azblob.Client, containerName string, path ... FILE: pkg/external/customtemplates/github.go type customTemplateGitHubRepo (line 24) | type customTemplateGitHubRepo struct method Download (line 32) | func (customTemplate *customTemplateGitHubRepo) Download(ctx context.C... method Update (line 46) | func (customTemplate *customTemplateGitHubRepo) Update(ctx context.Con... method handlePullChanges (line 61) | func (customTemplate *customTemplateGitHubRepo) handlePullChanges(clon... method logPullSuccess (line 75) | func (customTemplate *customTemplateGitHubRepo) logPullSuccess() { method logAlreadyUpToDate (line 80) | func (customTemplate *customTemplateGitHubRepo) logAlreadyUpToDate(err... method logPullError (line 85) | func (customTemplate *customTemplateGitHubRepo) logPullError(err error) { method restructureRepoDir (line 122) | func (customTemplateRepo *customTemplateGitHubRepo) restructureRepoDir... method cloneRepo (line 166) | func (ctr *customTemplateGitHubRepo) cloneRepo(clonePath, githubToken ... method pullChanges (line 192) | func (ctr *customTemplateGitHubRepo) pullChanges(repoPath, githubToken... method getLocalRepoClonePath (line 224) | func (ctr *customTemplateGitHubRepo) getLocalRepoClonePath(downloadPat... function NewGitHubProviders (line 90) | func NewGitHubProviders(options *types.Options) ([]*customTemplateGitHub... function getOwnerAndRepo (line 135) | func getOwnerAndRepo(reponame string) (owner string, repo string, err er... function getGitHubRepo (line 147) | func getGitHubRepo(gitHubClient *github.Client, repoOwner, repoName, git... function getAuth (line 229) | func getAuth(username, password string) *http.BasicAuth { function getGHClientWithToken (line 236) | func getGHClientWithToken(token string) *github.Client { function getGHClientIncognito (line 249) | func getGHClientIncognito() *github.Client { FILE: pkg/external/customtemplates/github_test.go function TestDownloadCustomTemplatesFromGitHub (line 18) | func TestDownloadCustomTemplatesFromGitHub(t *testing.T) { FILE: pkg/external/customtemplates/gitlab.go type customTemplateGitLabRepo (line 18) | type customTemplateGitLabRepo struct method Download (line 50) | func (bk *customTemplateGitLabRepo) Download(_ context.Context) { method Update (line 138) | func (bk *customTemplateGitLabRepo) Update(ctx context.Context) { function NewGitLabProviders (line 25) | func NewGitLabProviders(options *types.Options) ([]*customTemplateGitLab... function getGitLabClient (line 147) | func getGitLabClient(server string, token string) (*gitlab.Client, error) { FILE: pkg/external/customtemplates/s3.go type customTemplateS3Bucket (line 23) | type customTemplateS3Bucket struct method Download (line 31) | func (bk *customTemplateS3Bucket) Download(ctx context.Context) { method Update (line 57) | func (bk *customTemplateS3Bucket) Update(ctx context.Context) { function NewS3Providers (line 62) | func NewS3Providers(options *types.Options) ([]*customTemplateS3Bucket, ... function downloadToFile (line 85) | func downloadToFile(downloader *manager.Downloader, targetDirectory, buc... function getS3Client (line 111) | func getS3Client(ctx context.Context, accessKey string, secretKey string... FILE: pkg/external/customtemplates/templates_provider.go type Provider (line 10) | type Provider interface type CustomTemplatesManager (line 16) | type CustomTemplatesManager struct method Download (line 21) | func (c *CustomTemplatesManager) Download(ctx context.Context) { method Update (line 28) | func (c *CustomTemplatesManager) Update(ctx context.Context) { function NewCustomTemplatesManager (line 35) | func NewCustomTemplatesManager(options *types.Options) (*CustomTemplates... FILE: pkg/fuzz/analyzers/analyzers.go type Analyzer (line 15) | type Analyzer interface type AnalyzerTemplate (line 25) | type AnalyzerTemplate struct function RegisterAnalyzer (line 45) | func RegisterAnalyzer(name string, analyzer Analyzer) { function GetAnalyzer (line 50) | func GetAnalyzer(name string) Analyzer { function init (line 54) | func init() { type Options (line 59) | type Options struct function ApplyPayloadTransformations (line 74) | func ApplyPayloadTransformations(value string) string { constant letterBytes (line 83) | letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" function randStringBytesMask (line 85) | func randStringBytesMask(n int) string { function GetRandomInteger (line 94) | func GetRandomInteger() int { FILE: pkg/fuzz/analyzers/time/analyzer.go type Analyzer (line 18) | type Analyzer struct method Name (line 38) | func (a *Analyzer) Name() string { method ApplyInitialTransformation (line 50) | func (a *Analyzer) ApplyInitialTransformation(data string, params map[... method parseAnalyzerParameters (line 72) | func (a *Analyzer) parseAnalyzerParameters(params map[string]interface... method Analyze (line 101) | func (a *Analyzer) Analyze(options *analyzers.Options) (bool, string, ... constant DefaultSleepDuration (line 22) | DefaultSleepDuration = int(7) constant DefaultRequestsLimit (line 23) | DefaultRequestsLimit = int(4) constant DefaultTimeCorrelationErrorRange (line 24) | DefaultTimeCorrelationErrorRange = float64(0.15) constant DefaultTimeSlopeErrorRange (line 25) | DefaultTimeSlopeErrorRange = float64(0.30) constant DefaultLowSleepTimeSeconds (line 26) | DefaultLowSleepTimeSeconds = float64(3) constant defaultSleepTimeDuration (line 28) | defaultSleepTimeDuration = 7 * time.Second function init (line 33) | func init() { function getBaselineDelay (line 158) | func getBaselineDelay(reqSender timeDelayRequestSender) (float64, error) { function doHTTPRequestWithTimeTracing (line 178) | func doHTTPRequestWithTimeTracing(req *retryablehttp.Request, httpclient... FILE: pkg/fuzz/analyzers/time/time_delay.go type timeDelayRequestSender (line 34) | type timeDelayRequestSender type requestsSentMetadata (line 38) | type requestsSentMetadata struct function checkTimingDependency (line 47) | func checkTimingDependency( function sendRequestAndTestConfidence (line 115) | func sendRequestAndTestConfidence( type simpleLinearRegression (line 138) | type simpleLinearRegression struct method AddPoint (line 161) | func (o *simpleLinearRegression) AddPoint(x, y float64) { method Predict (line 203) | func (o *simpleLinearRegression) Predict(x float64) float64 { method IsWithinConfidence (line 207) | func (o *simpleLinearRegression) IsWithinConfidence(correlationErrorRa... function newSimpleLinearRegression (line 152) | func newSimpleLinearRegression() *simpleLinearRegression { FILE: pkg/fuzz/analyzers/time/time_delay_test.go function perfectLinearSender (line 61) | func perfectLinearSender(baseline float64) func(delay int) (float64, err... function noCorrelationSender (line 71) | func noCorrelationSender(baseline, noiseAmplitude float64) func(int) (fl... function noisyLinearSender (line 83) | func noisyLinearSender(baseline float64) func(delay int) (float64, error) { function TestPerfectLinear (line 92) | func TestPerfectLinear(t *testing.T) { function TestNoCorrelation (line 117) | func TestNoCorrelation(t *testing.T) { function TestNoisyLinear (line 142) | func TestNoisyLinear(t *testing.T) { function TestMinimalData (line 170) | func TestMinimalData(t *testing.T) { function linearSender (line 201) | func linearSender(baseline, slope, noiseAmplitude float64) func(int) (fl... function negativeSlopeSender (line 213) | func negativeSlopeSender(baseline float64) func(int) (float64, error) { function TestPerfectLinearSlopeOne_NoNoise (line 220) | func TestPerfectLinearSlopeOne_NoNoise(t *testing.T) { function TestPerfectLinearSlopeTwo_NoNoise (line 238) | func TestPerfectLinearSlopeTwo_NoNoise(t *testing.T) { function TestLinearWithNoise (line 257) | func TestLinearWithNoise(t *testing.T) { function TestNoCorrelationHighBaseline (line 276) | func TestNoCorrelationHighBaseline(t *testing.T) { function TestNegativeSlopeScenario (line 295) | func TestNegativeSlopeScenario(t *testing.T) { function TestLargeNumberOfRequests (line 314) | func TestLargeNumberOfRequests(t *testing.T) { function TestHighBaselineLowSlope (line 333) | func TestHighBaselineLowSlope(t *testing.T) { function TestHighNoiseConcealsSlope (line 351) | func TestHighNoiseConcealsSlope(t *testing.T) { function TestAlternatingSequences (line 372) | func TestAlternatingSequences(t *testing.T) { function TestNonInjectableQuickFail (line 400) | func TestNonInjectableQuickFail(t *testing.T) { function TestSlowNonInjectableCase (line 426) | func TestSlowNonInjectableCase(t *testing.T) { function TestRealWorldNonInjectableCase (line 453) | func TestRealWorldNonInjectableCase(t *testing.T) { function TestSmallErrorDependence (line 480) | func TestSmallErrorDependence(t *testing.T) { FILE: pkg/fuzz/component/body.go type Body (line 17) | type Body struct method Name (line 31) | func (b *Body) Name() string { method Parse (line 37) | func (b *Body) Parse(req *retryablehttp.Request) (bool, error) { method parseBody (line 79) | func (b *Body) parseBody(decoderName string, req *retryablehttp.Reques... method Iterate (line 96) | func (b *Body) Iterate(callback func(key string, value interface{}) er... method SetValue (line 111) | func (b *Body) SetValue(key string, value string) error { method Delete (line 119) | func (b *Body) Delete(key string) error { method Rebuild (line 128) | func (b *Body) Rebuild() (*retryablehttp.Request, error) { method Clone (line 142) | func (b *Body) Clone() Component { function NewBody (line 26) | func NewBody() *Body { FILE: pkg/fuzz/component/body_test.go function TestBodyComponent (line 15) | func TestBodyComponent(t *testing.T) { function TestBodyXMLComponent (line 53) | func TestBodyXMLComponent(t *testing.T) { function TestBodyFormComponent (line 82) | func TestBodyFormComponent(t *testing.T) { function TestMultiPartFormComponent (line 124) | func TestMultiPartFormComponent(t *testing.T) { FILE: pkg/fuzz/component/component.go function IsErrSetValue (line 14) | func IsErrSetValue(err error) bool { type Component (line 25) | type Component interface constant RequestBodyComponent (line 55) | RequestBodyComponent = "body" constant RequestQueryComponent (line 57) | RequestQueryComponent = "query" constant RequestPathComponent (line 59) | RequestPathComponent = "path" constant RequestHeaderComponent (line 61) | RequestHeaderComponent = "header" constant RequestCookieComponent (line 63) | RequestCookieComponent = "cookie" function New (line 76) | func New(componentType string) Component { FILE: pkg/fuzz/component/cookie.go type Cookie (line 14) | type Cookie struct method Name (line 28) | func (c *Cookie) Name() string { method Parse (line 34) | func (c *Cookie) Parse(req *retryablehttp.Request) (bool, error) { method Iterate (line 53) | func (c *Cookie) Iterate(callback func(key string, value interface{}) ... method SetValue (line 66) | func (c *Cookie) SetValue(key string, value string) error { method Delete (line 74) | func (c *Cookie) Delete(key string) error { method Rebuild (line 83) | func (c *Cookie) Rebuild() (*retryablehttp.Request, error) { method Clone (line 100) | func (c *Cookie) Clone() Component { function NewCookie (line 23) | func NewCookie() *Cookie { FILE: pkg/fuzz/component/cookie_test.go function TestCookieComponent (line 11) | func TestCookieComponent(t *testing.T) { FILE: pkg/fuzz/component/headers.go type Header (line 12) | type Header struct method Name (line 26) | func (q *Header) Name() string { method Parse (line 32) | func (q *Header) Parse(req *retryablehttp.Request) (bool, error) { method Iterate (line 49) | func (q *Header) Iterate(callback func(key string, value interface{}) ... method SetValue (line 66) | func (q *Header) SetValue(key string, value string) error { method Delete (line 74) | func (q *Header) Delete(key string) error { method Rebuild (line 83) | func (q *Header) Rebuild() (*retryablehttp.Request, error) { method Clone (line 109) | func (q *Header) Clone() Component { function NewHeader (line 21) | func NewHeader() *Header { FILE: pkg/fuzz/component/headers_test.go function TestHeaderComponent (line 11) | func TestHeaderComponent(t *testing.T) { FILE: pkg/fuzz/component/path.go type Path (line 14) | type Path struct method Name (line 29) | func (q *Path) Name() string { method Parse (line 35) | func (q *Path) Parse(req *retryablehttp.Request) (bool, error) { method Iterate (line 60) | func (q *Path) Iterate(callback func(key string, value interface{}) er... method SetValue (line 73) | func (q *Path) SetValue(key string, value string) error { method Delete (line 82) | func (q *Path) Delete(key string) error { method Rebuild (line 91) | func (q *Path) Rebuild() (*retryablehttp.Request, error) { method Clone (line 144) | func (q *Path) Clone() Component { function NewPath (line 24) | func NewPath() *Path { FILE: pkg/fuzz/component/path_test.go function TestURLComponent (line 11) | func TestURLComponent(t *testing.T) { function TestURLComponent_NestedPaths (line 47) | func TestURLComponent_NestedPaths(t *testing.T) { function TestPathComponent_RebuildDoesNotMutateOriginal (line 86) | func TestPathComponent_RebuildDoesNotMutateOriginal(t *testing.T) { function TestPathComponent_SQLInjection (line 126) | func TestPathComponent_SQLInjection(t *testing.T) { FILE: pkg/fuzz/component/query.go type Query (line 13) | type Query struct method Name (line 27) | func (q *Query) Name() string { method Parse (line 33) | func (q *Query) Parse(req *retryablehttp.Request) (bool, error) { method Iterate (line 50) | func (q *Query) Iterate(callback func(key string, value interface{}) e... method SetValue (line 63) | func (q *Query) SetValue(key string, value string) error { method Delete (line 72) | func (q *Query) Delete(key string) error { method Rebuild (line 81) | func (q *Query) Rebuild() (*retryablehttp.Request, error) { method Clone (line 98) | func (q *Query) Clone() Component { function NewQuery (line 22) | func NewQuery() *Query { FILE: pkg/fuzz/component/query_test.go function TestQueryComponent (line 11) | func TestQueryComponent(t *testing.T) { FILE: pkg/fuzz/component/value.go type Value (line 18) | type Value struct method Clone (line 40) | func (v *Value) Clone() *Value { method String (line 49) | func (v *Value) String() string { method Parsed (line 54) | func (v *Value) Parsed() dataformat.KV { method SetParsed (line 59) | func (v *Value) SetParsed(data dataformat.KV, dataFormat string) { method SetParsedValue (line 76) | func (v *Value) SetParsedValue(key, value string) bool { method Delete (line 132) | func (v *Value) Delete(key string) bool { method Encode (line 138) | func (v *Value) Encode() (string, error) { function NewValue (line 25) | func NewValue(data string) *Value { function IsTypedSlice (line 168) | func IsTypedSlice(v interface{}) ([]interface{}, bool) { FILE: pkg/fuzz/component/value_test.go function TestFlatMap_FlattenUnflatten (line 10) | func TestFlatMap_FlattenUnflatten(t *testing.T) { function TestAnySlice (line 41) | func TestAnySlice(t *testing.T) { FILE: pkg/fuzz/dataformat/dataformat.go constant DefaultKey (line 14) | DefaultKey = "value" function init (line 17) | func init() { constant JSONDataFormat (line 30) | JSONDataFormat = "json" constant XMLDataFormat (line 32) | XMLDataFormat = "xml" constant RawDataFormat (line 34) | RawDataFormat = "raw" constant FormDataFormat (line 36) | FormDataFormat = "form" constant MultiPartFormDataFormat (line 38) | MultiPartFormDataFormat = "multipart/form-data" function Get (line 42) | func Get(name string) DataFormat { function RegisterDataFormat (line 47) | func RegisterDataFormat(dataformat DataFormat) { type DataFormat (line 52) | type DataFormat interface type Decoded (line 64) | type Decoded struct function Decode (line 72) | func Decode(data string) (*Decoded, error) { function Encode (line 90) | func Encode(data KV, dataformat string) (string, error) { FILE: pkg/fuzz/dataformat/dataformat_test.go function TestDataformatDecodeEncode_JSON (line 7) | func TestDataformatDecodeEncode_JSON(t *testing.T) { function TestDataformatDecodeEncode_XML (line 30) | func TestDataformatDecodeEncode_XML(t *testing.T) { FILE: pkg/fuzz/dataformat/form.go constant normalizedRegex (line 15) | normalizedRegex = `_(\d+)$` type Form (line 32) | type Form struct method IsType (line 44) | func (f *Form) IsType(data string) bool { method Encode (line 49) | func (f *Form) Encode(data KV) (string, error) { method Decode (line 132) | func (f *Form) Decode(data string) (KV, error) { method Name (line 155) | func (f *Form) Name() string { function NewForm (line 39) | func NewForm() *Form { FILE: pkg/fuzz/dataformat/json.go type JSON (line 16) | type JSON struct method IsType (line 28) | func (j *JSON) IsType(data string) bool { method Encode (line 33) | func (j *JSON) Encode(data KV) (string, error) { method Decode (line 39) | func (j *JSON) Decode(data string) (KV, error) { method Name (line 46) | func (j *JSON) Name() string { function NewJSON (line 23) | func NewJSON() *JSON { FILE: pkg/fuzz/dataformat/kv.go type KV (line 15) | type KV struct method Clone (line 21) | func (kv *KV) Clone() KV { method IsNIL (line 33) | func (kv *KV) IsNIL() bool { method IsOrderedMap (line 38) | func (kv *KV) IsOrderedMap() bool { method Set (line 43) | func (kv *KV) Set(key string, value any) { method Get (line 55) | func (kv *KV) Get(key string) interface{} { method Iterate (line 67) | func (kv *KV) Iterate(f func(key string, value any) bool) { method Delete (line 82) | func (kv *KV) Delete(key string) bool { function KVMap (line 100) | func KVMap(data map[string]interface{}) KV { function KVOrderedMap (line 105) | func KVOrderedMap(data *mapsutil.OrderedMap[string, any]) KV { function ToMap (line 110) | func ToMap(m *mapsutil.OrderedMap[string, any]) map[string]interface{} { function ToOrderedMap (line 120) | func ToOrderedMap(data map[string]interface{}) *mapsutil.OrderedMap[stri... FILE: pkg/fuzz/dataformat/multipart.go type MultiPartForm (line 14) | type MultiPartForm struct method SetFileMetadata (line 36) | func (m *MultiPartForm) SetFileMetadata(fieldName string, metadata Fil... method GetFileMetadata (line 45) | func (m *MultiPartForm) GetFileMetadata(fieldName string) (FileMetadat... method IsType (line 56) | func (m *MultiPartForm) IsType(data string) bool { method Encode (line 62) | func (m *MultiPartForm) Encode(data KV) (string, error) { method ParseBoundary (line 141) | func (m *MultiPartForm) ParseBoundary(contentType string) error { method Decode (line 161) | func (m *MultiPartForm) Decode(data string) (KV, error) { method Name (line 229) | func (m *MultiPartForm) Name() string { type FileMetadata (line 19) | type FileMetadata struct function NewMultiPartForm (line 29) | func NewMultiPartForm() *MultiPartForm { FILE: pkg/fuzz/dataformat/multipart_test.go function TestMultiPartFormEncode (line 11) | func TestMultiPartFormEncode(t *testing.T) { function TestMultiPartFormRoundTrip (line 142) | func TestMultiPartFormRoundTrip(t *testing.T) { function TestMultiPartFormFileUpload (line 168) | func TestMultiPartFormFileUpload(t *testing.T) { function TestMultiPartForm_SetGetFileMetadata (line 244) | func TestMultiPartForm_SetGetFileMetadata(t *testing.T) { function TestMultiPartForm_FilesMetadataInitialization (line 263) | func TestMultiPartForm_FilesMetadataInitialization(t *testing.T) { function TestMultiPartForm_BoundaryValidation (line 278) | func TestMultiPartForm_BoundaryValidation(t *testing.T) { function TestMultiPartForm_DecodeRequiresBoundary (line 302) | func TestMultiPartForm_DecodeRequiresBoundary(t *testing.T) { function TestMultiPartForm_MultipleFilesMetadata (line 311) | func TestMultiPartForm_MultipleFilesMetadata(t *testing.T) { function TestMultiPartForm_SetFileMetadataWithNilMap (line 348) | func TestMultiPartForm_SetFileMetadataWithNilMap(t *testing.T) { function TestMultiPartForm_GetFileMetadataWithNilMap (line 364) | func TestMultiPartForm_GetFileMetadataWithNilMap(t *testing.T) { FILE: pkg/fuzz/dataformat/raw.go type Raw (line 3) | type Raw struct method IsType (line 15) | func (r *Raw) IsType(data string) bool { method Encode (line 20) | func (r *Raw) Encode(data KV) (string, error) { method Decode (line 25) | func (r *Raw) Decode(data string) (KV, error) { method Name (line 32) | func (r *Raw) Name() string { function NewRaw (line 10) | func NewRaw() *Raw { FILE: pkg/fuzz/dataformat/xml.go type XML (line 12) | type XML struct method IsType (line 20) | func (x *XML) IsType(data string) bool { method Encode (line 25) | func (x *XML) Encode(data KV) (string, error) { method Decode (line 44) | func (x *XML) Decode(data string) (KV, error) { method Name (line 60) | func (x *XML) Name() string { function NewXML (line 15) | func NewXML() *XML { FILE: pkg/fuzz/execute.go function IsErrRuleNotApplicable (line 32) | func IsErrRuleNotApplicable(err error) bool { type ExecuteRuleInput (line 43) | type ExecuteRuleInput struct type GeneratedRequest (line 64) | type GeneratedRequest struct method Execute (line 91) | func (rule *Rule) Execute(input *ExecuteRuleInput) (err error) { method evaluateVars (line 195) | func (rule *Rule) evaluateVars(input string) (string, error) { method evaluateVarsWithInteractsh (line 222) | func (rule *Rule) evaluateVarsWithInteractsh(data map[string]interface{}... method isInputURLValid (line 264) | func (rule *Rule) isInputURLValid(input *contextargs.Context) bool { method executeRuleValues (line 273) | func (rule *Rule) executeRuleValues(input *ExecuteRuleInput, ruleCompone... method Compile (line 332) | func (rule *Rule) Compile(generator *generators.PayloadGenerator, option... FILE: pkg/fuzz/execute_race_test.go function TestEvaluateVarsWithInteractsh_RaceCondition (line 11) | func TestEvaluateVarsWithInteractsh_RaceCondition(t *testing.T) { FILE: pkg/fuzz/frequency/tracker.go type Tracker (line 22) | type Tracker struct method Close (line 55) | func (t *Tracker) Close() { method MarkParameter (line 63) | func (t *Tracker) MarkParameter(parameter, target, template string) { method IsParameterFrequent (line 86) | func (t *Tracker) IsParameterFrequent(parameter, target, template stri... method UnmarkParameter (line 112) | func (t *Tracker) UnmarkParameter(parameter, target, template string) { constant DefaultMaxTrackCount (line 30) | DefaultMaxTrackCount = 10000 constant DefaultParamOccurrenceThreshold (line 31) | DefaultParamOccurrenceThreshold = 10 type cacheItem (line 34) | type cacheItem struct function New (line 41) | func New(maxTrackCount, paramOccurrenceThreshold int) *Tracker { function getFrequencyKey (line 123) | func getFrequencyKey(parameter, target, template string) string { function normalizeTarget (line 134) | func normalizeTarget(value string) string { FILE: pkg/fuzz/fuzz.go type Rule (line 12) | type Rule struct method matchKeyOrValue (line 159) | func (rule *Rule) matchKeyOrValue(key, value string) bool { type ruleType (line 106) | type ruleType constant replaceRuleType (line 109) | replaceRuleType ruleType = iota + 1 constant prefixRuleType (line 110) | prefixRuleType constant postfixRuleType (line 111) | postfixRuleType constant infixRuleType (line 112) | infixRuleType constant replaceRegexRuleType (line 113) | replaceRegexRuleType type partType (line 125) | type partType constant queryPartType (line 128) | queryPartType partType = iota + 1 constant headersPartType (line 129) | headersPartType constant pathPartType (line 130) | pathPartType constant bodyPartType (line 131) | bodyPartType constant cookiePartType (line 132) | cookiePartType constant requestPartType (line 133) | requestPartType type modeType (line 146) | type modeType constant singleModeType (line 149) | singleModeType modeType = iota + 1 constant multipleModeType (line 150) | multipleModeType FILE: pkg/fuzz/fuzz_test.go function TestRuleMatchKeyOrValue (line 14) | func TestRuleMatchKeyOrValue(t *testing.T) { function TestEvaluateVariables (line 46) | func TestEvaluateVariables(t *testing.T) { FILE: pkg/fuzz/parts.go method executePartRule (line 17) | func (rule *Rule) executePartRule(input *ExecuteRuleInput, payload Value... method checkRuleApplicableOnComponent (line 22) | func (rule *Rule) checkRuleApplicableOnComponent(component component.Com... method executePartComponent (line 38) | func (rule *Rule) executePartComponent(input *ExecuteRuleInput, payload ... method executePartComponentOnValues (line 52) | func (rule *Rule) executePartComponentOnValues(input *ExecuteRuleInput, ... method executePartComponentOnKV (line 110) | func (rule *Rule) executePartComponentOnKV(input *ExecuteRuleInput, payl... method execWithInput (line 154) | func (rule *Rule) execWithInput(input *ExecuteRuleInput, httpReq *retrya... method executeEvaluate (line 192) | func (rule *Rule) executeEvaluate(input *ExecuteRuleInput, _, value, pay... method executeRuleTypes (line 206) | func (rule *Rule) executeRuleTypes(_ *ExecuteRuleInput, value, replaceme... FILE: pkg/fuzz/parts_frequency_test.go function TestExecWithInputDoesNotUseNumericParameterIndexForFrequency (line 15) | func TestExecWithInputDoesNotUseNumericParameterIndexForFrequency(t *tes... function TestExecWithInputSkipsWhenActualParameterIsFrequent (line 48) | func TestExecWithInputSkipsWhenActualParameterIsFrequent(t *testing.T) { FILE: pkg/fuzz/stats/db.go type StatsDatabase (line 9) | type StatsDatabase interface FILE: pkg/fuzz/stats/db_test.go function Test_NewStatsDatabase (line 9) | func Test_NewStatsDatabase(t *testing.T) { FILE: pkg/fuzz/stats/simple.go type simpleStats (line 12) | type simpleStats struct method Close (line 46) | func (s *simpleStats) Close() {} method InsertComponent (line 48) | func (s *simpleStats) InsertComponent(event ComponentEvent) error { method InsertMatchedRecord (line 69) | func (s *simpleStats) InsertMatchedRecord(event FuzzingEvent) error { method InsertError (line 86) | func (s *simpleStats) InsertError(event ErrorEvent) error { method GetStatistics (line 108) | func (s *simpleStats) GetStatistics() SimpleStatsResponse { method incrementStatusCode (line 146) | func (s *simpleStats) incrementStatusCode(statusCode int) { method incrementSeverityCount (line 153) | func (s *simpleStats) incrementSeverityCount(severity string) { function NewSimpleStats (line 29) | func NewSimpleStats() (*simpleStats, error) { type SimpleStatsResponse (line 96) | type SimpleStatsResponse struct function formatStatusCode (line 160) | func formatStatusCode(code int) string { FILE: pkg/fuzz/stats/stats.go type Tracker (line 14) | type Tracker struct method GetStats (line 31) | func (t *Tracker) GetStats() SimpleStatsResponse { method Close (line 36) | func (t *Tracker) Close() { method RecordResultEvent (line 56) | func (t *Tracker) RecordResultEvent(event FuzzingEvent) { method RecordComponentEvent (line 71) | func (t *Tracker) RecordComponentEvent(event ComponentEvent) { method RecordErrorEvent (line 84) | func (t *Tracker) RecordErrorEvent(event ErrorEvent) { function NewTracker (line 19) | func NewTracker() (*Tracker, error) { type FuzzingEvent (line 41) | type FuzzingEvent struct type ComponentEvent (line 63) | type ComponentEvent struct type ErrorEvent (line 78) | type ErrorEvent struct function getCorrectSiteName (line 90) | func getCorrectSiteName(originalURL string) string { FILE: pkg/fuzz/type.go type ValueOrKeyValue (line 18) | type ValueOrKeyValue struct method IsKV (line 25) | func (v *ValueOrKeyValue) IsKV() bool { type SliceOrMapSlice (line 29) | type SliceOrMapSlice struct method JSONSchemaExtend (line 34) | func (v SliceOrMapSlice) JSONSchemaExtend(schema *jsonschema.Schema) *... method JSONSchema (line 53) | func (v SliceOrMapSlice) JSONSchema() *jsonschema.Schema { method UnmarshalJSON (line 73) | func (v *SliceOrMapSlice) UnmarshalJSON(data []byte) error { method MarshalJSON (line 86) | func (v SliceOrMapSlice) MarshalJSON() ([]byte, error) { method UnmarshalYAML (line 94) | func (v *SliceOrMapSlice) UnmarshalYAML(callback func(interface{}) err... method MarshalYAML (line 115) | func (v SliceOrMapSlice) MarshalYAML() (any, error) { FILE: pkg/input/formats/burp/burp.go type BurpFormat (line 16) | type BurpFormat struct method Name (line 28) | func (j *BurpFormat) Name() string { method SetOptions (line 32) | func (j *BurpFormat) SetOptions(options formats.InputFormatOptions) { method Parse (line 38) | func (j *BurpFormat) Parse(input io.Reader, resultsCb formats.ParseReq... function New (line 21) | func New() *BurpFormat { FILE: pkg/input/formats/burp/burp_test.go function TestBurpParse (line 11) | func TestBurpParse(t *testing.T) { FILE: pkg/input/formats/formats.go type ParseReqRespCallback (line 16) | type ParseReqRespCallback type InputFormatOptions (line 21) | type InputFormatOptions struct type Format (line 41) | type Format interface type SpecDownloader (line 52) | type SpecDownloader interface type OpenAPIParamsCfgFile (line 72) | type OpenAPIParamsCfgFile struct function ReadOpenAPIVarDumpFile (line 78) | func ReadOpenAPIVarDumpFile() (*OpenAPIParamsCfgFile, error) { function WriteOpenAPIVarDumpFile (line 103) | func WriteOpenAPIVarDumpFile(vars *OpenAPIParamsCfgFile) error { FILE: pkg/input/formats/json/json.go type JSONFormat (line 15) | type JSONFormat struct method Name (line 38) | func (j *JSONFormat) Name() string { method SetOptions (line 42) | func (j *JSONFormat) SetOptions(options formats.InputFormatOptions) { method Parse (line 48) | func (j *JSONFormat) Parse(input io.Reader, resultsCb formats.ParseReq... function New (line 20) | func New() *JSONFormat { type proxifyRequest (line 27) | type proxifyRequest struct FILE: pkg/input/formats/json/json_test.go function TestJSONFormatterParse (line 40) | func TestJSONFormatterParse(t *testing.T) { FILE: pkg/input/formats/openapi/downloader.go type OpenAPIDownloader (line 20) | type OpenAPIDownloader struct method Download (line 28) | func (d *OpenAPIDownloader) Download(urlStr, tmpDir string, httpClient... method SupportedExtensions (line 134) | func (d *OpenAPIDownloader) SupportedExtensions() []string { function NewDownloader (line 23) | func NewDownloader() formats.SpecDownloader { FILE: pkg/input/formats/openapi/downloader_test.go function TestOpenAPIDownloader_SupportedExtensions (line 13) | func TestOpenAPIDownloader_SupportedExtensions(t *testing.T) { function TestOpenAPIDownloader_Download_Success (line 29) | func TestOpenAPIDownloader_Download_Success(t *testing.T) { function TestOpenAPIDownloader_Download_NonJSONURL (line 105) | func TestOpenAPIDownloader_Download_NonJSONURL(t *testing.T) { function TestOpenAPIDownloader_Download_HTTPError (line 128) | func TestOpenAPIDownloader_Download_HTTPError(t *testing.T) { function TestOpenAPIDownloader_Download_InvalidJSON (line 153) | func TestOpenAPIDownloader_Download_InvalidJSON(t *testing.T) { function TestOpenAPIDownloader_Download_Timeout (line 181) | func TestOpenAPIDownloader_Download_Timeout(t *testing.T) { function TestOpenAPIDownloader_Download_WithExistingServers (line 209) | func TestOpenAPIDownloader_Download_WithExistingServers(t *testing.T) { function fileExists (line 275) | func fileExists(filename string) bool { FILE: pkg/input/formats/openapi/examples.go function getSchemaExample (line 14) | func getSchemaExample(schema *openapi3.Schema) (interface{}, bool) { function stringFormatExample (line 31) | func stringFormatExample(format string) string { function excludeFromMode (line 76) | func excludeFromMode(schema *openapi3.Schema) bool { function isRequired (line 88) | func isRequired(schema *openapi3.Schema, key string) bool { type cachedSchema (line 92) | type cachedSchema struct function openAPIExample (line 105) | func openAPIExample(schema *openapi3.Schema, cache map[*openapi3.Schema]... function generateExampleFromSchema (line 282) | func generateExampleFromSchema(schema *openapi3.Schema) (interface{}, er... function generateEmptySchemaValue (line 286) | func generateEmptySchemaValue(contentType string) *openapi3.Schema { FILE: pkg/input/formats/openapi/generator.go constant globalAuth (line 30) | globalAuth = "globalAuth" constant DEFAULT_HTTP_SCHEME_HEADER (line 31) | DEFAULT_HTTP_SCHEME_HEADER = "Authorization" function GenerateRequestsFromSchema (line 35) | func GenerateRequestsFromSchema(schema *openapi3.T, opts formats.InputFo... type generateReqOptions (line 135) | type generateReqOptions struct function generateRequestsFromOp (line 166) | func generateRequestsFromOp(opts *generateReqOptions) error { function GetGlobalParamsForSecurityRequirement (line 395) | func GetGlobalParamsForSecurityRequirement(schema *openapi3.T, requireme... function GenerateParameterFromSecurityScheme (line 429) | func GenerateParameterFromSecurityScheme(scheme *openapi3.SecurityScheme... FILE: pkg/input/formats/openapi/openapi.go type OpenAPIFormat (line 12) | type OpenAPIFormat struct method Name (line 24) | func (j *OpenAPIFormat) Name() string { method SetOptions (line 28) | func (j *OpenAPIFormat) SetOptions(options formats.InputFormatOptions) { method Parse (line 34) | func (j *OpenAPIFormat) Parse(input io.Reader, resultsCb formats.Parse... function New (line 17) | func New() *OpenAPIFormat { FILE: pkg/input/formats/openapi/openapi_test.go constant baseURL (line 12) | baseURL = "http://hackthebox:5000" function TestOpenAPIParser (line 38) | func TestOpenAPIParser(t *testing.T) { FILE: pkg/input/formats/swagger/downloader.go type SwaggerDownloader (line 21) | type SwaggerDownloader struct method Download (line 29) | func (d *SwaggerDownloader) Download(urlStr, tmpDir string, httpClient... method SupportedExtensions (line 163) | func (d *SwaggerDownloader) SupportedExtensions() []string { function NewDownloader (line 24) | func NewDownloader() formats.SpecDownloader { FILE: pkg/input/formats/swagger/downloader_test.go function TestSwaggerDownloader_SupportedExtensions (line 15) | func TestSwaggerDownloader_SupportedExtensions(t *testing.T) { function TestSwaggerDownloader_Download_JSON_Success (line 31) | func TestSwaggerDownloader_Download_JSON_Success(t *testing.T) { function TestSwaggerDownloader_Download_YAML_Success (line 99) | func TestSwaggerDownloader_Download_YAML_Success(t *testing.T) { function TestSwaggerDownloader_Download_UnsupportedExtension (line 164) | func TestSwaggerDownloader_Download_UnsupportedExtension(t *testing.T) { function TestSwaggerDownloader_Download_HTTPError (line 187) | func TestSwaggerDownloader_Download_HTTPError(t *testing.T) { function TestSwaggerDownloader_Download_InvalidJSON (line 212) | func TestSwaggerDownloader_Download_InvalidJSON(t *testing.T) { function TestSwaggerDownloader_Download_InvalidYAML (line 240) | func TestSwaggerDownloader_Download_InvalidYAML(t *testing.T) { function TestSwaggerDownloader_Download_Timeout (line 268) | func TestSwaggerDownloader_Download_Timeout(t *testing.T) { function TestSwaggerDownloader_Download_WithExistingHost (line 296) | func TestSwaggerDownloader_Download_WithExistingHost(t *testing.T) { function fileExists (line 356) | func fileExists(filename string) bool { FILE: pkg/input/formats/swagger/swagger.go type SwaggerFormat (line 19) | type SwaggerFormat struct method Name (line 31) | func (j *SwaggerFormat) Name() string { method SetOptions (line 35) | func (j *SwaggerFormat) SetOptions(options formats.InputFormatOptions) { method Parse (line 41) | func (j *SwaggerFormat) Parse(input io.Reader, resultsCb formats.Parse... function New (line 24) | func New() *SwaggerFormat { FILE: pkg/input/formats/swagger/swagger_test.go function TestSwaggerAPIParser (line 11) | func TestSwaggerAPIParser(t *testing.T) { FILE: pkg/input/formats/yaml/multidoc.go type YamlMultiDocFormat (line 16) | type YamlMultiDocFormat struct method Name (line 38) | func (j *YamlMultiDocFormat) Name() string { method SetOptions (line 42) | func (j *YamlMultiDocFormat) SetOptions(options formats.InputFormatOpt... method Parse (line 48) | func (j *YamlMultiDocFormat) Parse(input io.Reader, resultsCb formats.... function New (line 21) | func New() *YamlMultiDocFormat { type proxifyRequest (line 28) | type proxifyRequest struct FILE: pkg/input/formats/yaml/multidoc_test.go function TestYamlFormatterParse (line 13) | func TestYamlFormatterParse(t *testing.T) { function TestYamlFormatterParseWithVariables (line 39) | func TestYamlFormatterParseWithVariables(t *testing.T) { FILE: pkg/input/formats/yaml/ytt.go function ytt (line 13) | func ytt(tpl, dvs []string, varFiles []string) ([]byte, error) { function templatesAsInput (line 43) | func templatesAsInput(tpl ...string) (yttcmd.Input, error) { function mapToKeyValueSlice (line 59) | func mapToKeyValueSlice(m map[string]interface{}) []string { type noopWriter (line 68) | type noopWriter struct method Write (line 70) | func (w noopWriter) Write(data []byte) (int, error) { return len(data)... FILE: pkg/input/provider/chunked.go type ChunkedInputProvider (line 14) | type ChunkedInputProvider interface FILE: pkg/input/provider/http/multiformat.go type HttpMultiFormatOptions (line 22) | type HttpMultiFormatOptions struct type HttpInputProvider (line 36) | type HttpInputProvider struct method Count (line 99) | func (i *HttpInputProvider) Count() int64 { method Iterate (line 104) | func (i *HttpInputProvider) Iterate(callback func(value *contextargs.M... method Set (line 118) | func (i *HttpInputProvider) Set(_ string, value string) {} method SetWithProbe (line 122) | func (i *HttpInputProvider) SetWithProbe(_ string, value string, probe... method SetWithExclusions (line 128) | func (i *HttpInputProvider) SetWithExclusions(_ string, value string) ... method InputType (line 133) | func (i *HttpInputProvider) InputType() string { method Close (line 139) | func (i *HttpInputProvider) Close() {} function NewHttpInputProvider (line 48) | func NewHttpInputProvider(opts *HttpMultiFormatOptions) (*HttpInputProvi... function SupportedFormats (line 152) | func SupportedFormats() string { FILE: pkg/input/provider/interface.go constant MultiFormatInputProvider (line 30) | MultiFormatInputProvider = "MultiFormatInputProvider" constant ListInputProvider (line 31) | ListInputProvider = "ListInputProvider" constant SimpleListInputProvider (line 32) | SimpleListInputProvider = "SimpleInputProvider" function IsErrNotImplemented (line 36) | func IsErrNotImplemented(err error) bool { type InputProvider (line 60) | type InputProvider interface type InputOptions (line 78) | type InputOptions struct function NewInputProvider (line 90) | func NewInputProvider(opts InputOptions) (InputProvider, error) { function SupportedInputFormats (line 171) | func SupportedInputFormats() string { FILE: pkg/input/provider/list/hmap.go constant DefaultMaxDedupeItemsCount (line 37) | DefaultMaxDedupeItemsCount = 10000 type ListInputProvider (line 41) | type ListInputProvider struct method Count (line 112) | func (i *ListInputProvider) Count() int64 { method Iterate (line 117) | func (i *ListInputProvider) Iterate(callback func(value *contextargs.M... method Set (line 143) | func (i *ListInputProvider) Set(executionId string, value string) { method SetWithProbe (line 242) | func (i *ListInputProvider) SetWithProbe(executionId string, value str... method SetWithExclusions (line 252) | func (i *ListInputProvider) SetWithExclusions(executionId string, valu... method InputType (line 266) | func (i *ListInputProvider) InputType() string { method Close (line 271) | func (i *ListInputProvider) Close() { method initializeInputSources (line 279) | func (i *ListInputProvider) initializeInputSources(opts *Options) error { method scanInputFromReader (line 359) | func (i *ListInputProvider) scanInputFromReader(executionId string, re... method isExcluded (line 377) | func (i *ListInputProvider) isExcluded(URL string) bool { method Del (line 390) | func (i *ListInputProvider) Del(executionId string, value string) { method setItem (line 489) | func (i *ListInputProvider) setItem(metaInput *contextargs.MetaInput) { method delItem (line 510) | func (i *ListInputProvider) delItem(targets ...*contextargs.MetaInput) { method setHostMapStream (line 561) | func (i *ListInputProvider) setHostMapStream(data string) { method addTargets (line 568) | func (i *ListInputProvider) addTargets(executionId string, targets []s... method removeTargets (line 574) | func (i *ListInputProvider) removeTargets(targets []string) { type Options (line 55) | type Options struct function New (line 65) | func New(opts *Options) (*ListInputProvider, error) { constant removeTargetsChunkSize (line 507) | removeTargetsChunkSize = 5000 function matchesCIDR (line 632) | func matchesCIDR(host string, cidrs []*net.IPNet) bool { FILE: pkg/input/provider/list/hmap_test.go function Test_expandCIDR (line 20) | func Test_expandCIDR(t *testing.T) { type mockDnsHandler (line 55) | type mockDnsHandler struct method ServeDNS (line 57) | func (m *mockDnsHandler) ServeDNS(w dns.ResponseWriter, r *dns.Msg) { function Test_scanallips_normalizeStoreInputValue (line 79) | func Test_scanallips_normalizeStoreInputValue(t *testing.T) { function Test_expandASNInputValue (line 156) | func Test_expandASNInputValue(t *testing.T) { FILE: pkg/input/provider/list/utils.go type ipOptions (line 3) | type ipOptions struct FILE: pkg/input/provider/simple.go type SimpleInputProvider (line 10) | type SimpleInputProvider struct method Count (line 31) | func (s *SimpleInputProvider) Count() int64 { method Iterate (line 36) | func (s *SimpleInputProvider) Iterate(callback func(value *contextargs... method Set (line 45) | func (s *SimpleInputProvider) Set(_ string, value string) { method SetWithProbe (line 52) | func (s *SimpleInputProvider) SetWithProbe(_ string, value string, pro... method SetWithExclusions (line 64) | func (s *SimpleInputProvider) SetWithExclusions(_ string, value string... method InputType (line 72) | func (s *SimpleInputProvider) InputType() string { method Close (line 77) | func (s *SimpleInputProvider) Close() { function NewSimpleInputProvider (line 15) | func NewSimpleInputProvider() *SimpleInputProvider { function NewSimpleInputProviderWithUrls (line 22) | func NewSimpleInputProviderWithUrls(executionId string, urls ...string) ... FILE: pkg/input/transform.go type Helper (line 17) | type Helper struct method Close (line 28) | func (h *Helper) Close() error { method Transform (line 38) | func (h *Helper) Transform(input string, protocol templateTypes.Protoc... method convertInputToType (line 69) | func (h *Helper) convertInputToType(input string, inputType inputType,... function NewHelper (line 22) | func NewHelper() *Helper { type inputType (line 56) | type inputType constant typeHostOnly (line 59) | typeHostOnly inputType = iota + 1 constant typeHostWithPort (line 60) | typeHostWithPort constant typeHostWithOptionalPort (line 61) | typeHostWithOptionalPort constant typeURL (line 62) | typeURL constant typeFilepath (line 63) | typeFilepath constant typeWebsocket (line 64) | typeWebsocket FILE: pkg/input/transform_test.go function TestConvertInputToType (line 10) | func TestConvertInputToType(t *testing.T) { FILE: pkg/input/types/http.go type RequestResponse (line 28) | type RequestResponse struct method Clone (line 46) | func (rr *RequestResponse) Clone() *RequestResponse { method BuildRequest (line 60) | func (rr *RequestResponse) BuildRequest() (*retryablehttp.Request, err... method ID (line 89) | func (rr *RequestResponse) ID() string { method MarshalJSON (line 103) | func (rr *RequestResponse) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 120) | func (rr *RequestResponse) UnmarshalJSON(data []byte) error { type HttpRequest (line 160) | type HttpRequest struct method ID (line 172) | func (hr *HttpRequest) ID() string { method Clone (line 178) | func (hr *HttpRequest) Clone() *HttpRequest { type HttpResponse (line 187) | type HttpResponse struct method ID (line 199) | func (hr *HttpResponse) ID() string { method Clone (line 205) | func (hr *HttpResponse) Clone() *HttpResponse { function ParseRawRequest (line 217) | func ParseRawRequest(raw string) (rr *RequestResponse, err error) { function ParseRawRequestWithURL (line 297) | func ParseRawRequestWithURL(raw, url string) (rr *RequestResponse, err e... FILE: pkg/input/types/http_test.go function TestParseHttpRequest (line 14) | func TestParseHttpRequest(t *testing.T) { function TestUnmarshalJSON (line 69) | func TestUnmarshalJSON(t *testing.T) { FILE: pkg/input/types/probe.go type InputLivenessProbe (line 4) | type InputLivenessProbe interface FILE: pkg/installer/template.go constant checkSumFilePerm (line 28) | checkSumFilePerm = 0644 type templateUpdateResults (line 38) | type templateUpdateResults struct method String (line 46) | func (t *templateUpdateResults) String() string { type TemplateManager (line 70) | type TemplateManager struct method FreshInstallIfNotExists (line 78) | func (t *TemplateManager) FreshInstallIfNotExists() error { method UpdateIfOutdated (line 93) | func (t *TemplateManager) UpdateIfOutdated() error { method installTemplatesAt (line 122) | func (t *TemplateManager) installTemplatesAt(dir string) error { method updateTemplatesAt (line 147) | func (t *TemplateManager) updateTemplatesAt(dir string) error { method summarizeChanges (line 226) | func (t *TemplateManager) summarizeChanges(old, new map[string]string)... method getAbsoluteFilePath (line 248) | func (t *TemplateManager) getAbsoluteFilePath(templateDir, uri string,... method writeTemplatesToDisk (line 302) | func (t *TemplateManager) writeTemplatesToDisk(ghrd *updateutils.GHRel... method cleanupOrphanedTemplates (line 413) | func (t *TemplateManager) cleanupOrphanedTemplates(dir string, written... method regenerateTemplateMetadata (line 516) | func (t *TemplateManager) regenerateTemplateMetadata(dir string) error { method getChecksumFromDir (line 562) | func (t *TemplateManager) getChecksumFromDir(dir string) (map[string]s... method writeChecksumFileInDir (line 584) | func (t *TemplateManager) writeChecksumFileInDir(dir string) error { method calculateChecksumMap (line 600) | func (t *TemplateManager) calculateChecksumMap(dir string) (map[string... FILE: pkg/installer/template_test.go function TestTemplateInstallation (line 15) | func TestTemplateInstallation(t *testing.T) { function TestIsOutdatedVersion (line 65) | func TestIsOutdatedVersion(t *testing.T) { function TestCleanupOrphanedTemplates (line 104) | func TestCleanupOrphanedTemplates(t *testing.T) { function TestRegenerateTemplateMetadata (line 380) | func TestRegenerateTemplateMetadata(t *testing.T) { FILE: pkg/installer/util.go function GetNewTemplatesInVersions (line 22) | func GetNewTemplatesInVersions(versions ...string) []string { function getNewAdditionsFileFromGitHub (line 49) | func getNewAdditionsFileFromGitHub(version string) ([]string, error) { function PurgeEmptyDirectories (line 75) | func PurgeEmptyDirectories(dir string) { function isEmptyDir (line 95) | func isEmptyDir(dir string) bool { FILE: pkg/installer/versioncheck.go constant pdtmNucleiVersionEndpoint (line 17) | pdtmNucleiVersionEndpoint = "https://api.pdtm.sh/api/v1/tools/nuclei" constant pdtmNucleiIgnoreFileEndpoint (line 18) | pdtmNucleiIgnoreFileEndpoint = "https://api.pdtm.sh/api/v1/tools/nuclei/... type PdtmAPIResponse (line 26) | type PdtmAPIResponse struct function NucleiVersionCheck (line 37) | func NucleiVersionCheck() error { type sdkUpdateCheck (line 42) | type sdkUpdateCheck struct function NucleiSDKVersionCheck (line 50) | func NucleiSDKVersionCheck() { function getpdtmParams (line 57) | func getpdtmParams(isSDK bool) string { function UpdateIgnoreFile (line 70) | func UpdateIgnoreFile() error { function doVersionCheck (line 85) | func doVersionCheck(isSDK bool) error { FILE: pkg/installer/versioncheck_test.go function TestVersionCheck (line 11) | func TestVersionCheck(t *testing.T) { FILE: pkg/installer/zipslip_unix_test.go type tempFileInfo (line 16) | type tempFileInfo struct method Name (line 20) | func (t *tempFileInfo) Name() string { method ModTime (line 24) | func (t *tempFileInfo) ModTime() time.Time { method Mode (line 28) | func (t *tempFileInfo) Mode() fs.FileMode { method IsDir (line 32) | func (t tempFileInfo) IsDir() bool { method Size (line 36) | func (t *tempFileInfo) Size() int64 { method Sys (line 40) | func (t *tempFileInfo) Sys() any { function TestZipSlip (line 44) | func TestZipSlip(t *testing.T) { FILE: pkg/js/compiler/compiler.go type Compiler (line 26) | type Compiler struct method ExecuteWithOptions (line 104) | func (c *Compiler) ExecuteWithOptions(program *goja.Program, args *Exe... function New (line 29) | func New() *Compiler { type ExecuteOptions (line 34) | type ExecuteOptions struct type ExecuteArgs (line 57) | type ExecuteArgs struct method Map (line 63) | func (e *ExecuteArgs) Map() map[string]interface{} { function NewExecuteArgs (line 68) | func NewExecuteArgs() *ExecuteArgs { type ExecuteResult (line 76) | type ExecuteResult method Map (line 79) | func (e ExecuteResult) Map() map[string]interface{} { method GetSuccess (line 92) | func (e ExecuteResult) GetSuccess() bool { function NewExecuteResult (line 87) | func NewExecuteResult() ExecuteResult { function CanRunAsIIFE (line 164) | func CanRunAsIIFE(script string) bool { function SourceIIFEMode (line 170) | func SourceIIFEMode(script string, strict bool) (*goja.Program, error) { function SourceAutoMode (line 181) | func SourceAutoMode(script string, strict bool) (*goja.Program, error) { FILE: pkg/js/compiler/compiler_test.go function TestNewCompilerConsoleDebug (line 14) | func TestNewCompilerConsoleDebug(t *testing.T) { type noopWriter (line 40) | type noopWriter struct method Write (line 44) | func (n *noopWriter) Write(data []byte, level levels.Level) { FILE: pkg/js/compiler/init.go function Init (line 18) | func Init(opts *types.Options) error { FILE: pkg/js/compiler/non-pool.go function executeWithoutPooling (line 17) | func executeWithoutPooling(p *goja.Program, args *ExecuteArgs, opts *Exe... FILE: pkg/js/compiler/pool.go constant exportToken (line 45) | exportToken = "Export" constant exportAsToken (line 46) | exportAsToken = "ExportAs" function executeWithRuntime (line 76) | func executeWithRuntime(runtime *goja.Runtime, p *goja.Program, args *Ex... function ExecuteProgram (line 123) | func ExecuteProgram(p *goja.Program, args *ExecuteArgs, opts *ExecuteOpt... function executeWithPoolingProgram (line 136) | func executeWithPoolingProgram(p *goja.Program, args *ExecuteArgs, opts ... function InternalGetGeneratorRuntime (line 201) | func InternalGetGeneratorRuntime() *goja.Runtime { function getRegistry (line 206) | func getRegistry() *require.Registry { function createNewRuntime (line 211) | func createNewRuntime() *goja.Runtime { function stringify (line 226) | func stringify(gojaValue goja.Value, runtime *goja.Runtime) string { FILE: pkg/js/devtools/bindgen/cmd/bindgen/main.go function main (line 21) | func main() { function process (line 35) | func process() error { FILE: pkg/js/devtools/bindgen/generator.go type TemplateData (line 30) | type TemplateData struct method InitNativeScripts (line 179) | func (d *TemplateData) InitNativeScripts() { method gatherPackageData (line 196) | func (d *TemplateData) gatherPackageData(astNode ast.Node, data *Templ... method extractReturns (line 330) | func (d *TemplateData) extractReturns(fn *ast.FuncDecl) []string { method extractReturnType (line 344) | func (d *TemplateData) extractReturnType(ret *ast.Field) string { method handleStarExpr (line 361) | func (d *TemplateData) handleStarExpr(v *ast.StarExpr) string { method collectTypeFromExternal (line 374) | func (d *TemplateData) collectTypeFromExternal(pkg *types.Package, pkg... method collectFuncDecl (line 419) | func (d *TemplateData) collectFuncDecl(decl *ast.FuncDecl) (extra Pack... type PackageTypeExtra (line 52) | type PackageTypeExtra struct type PackageFuncExtra (line 57) | type PackageFuncExtra struct type PackageFunctionExtra (line 63) | type PackageFunctionExtra struct function newTemplateData (line 71) | func newTemplateData(packagePrefix, pkgName string) *TemplateData { function GetLibraryModules (line 88) | func GetLibraryModules(directory string) ([]string, error) { function CreateTemplateData (line 104) | func CreateTemplateData(directory string, packagePrefix string) (*Templa... function identifyGenDecl (line 251) | func identifyGenDecl(node ast.Node, decl *ast.GenDecl, data *TemplateDat... function collectStructFuncsFromAST (line 289) | func collectStructFuncsFromAST(node ast.Node, spec *ast.TypeSpec, data *... function processFunc (line 298) | func processFunc(fn *ast.FuncDecl, spec *ast.TypeSpec, data *TemplateDat... function processFunctionDetails (line 310) | func processFunctionDetails(fn *ast.FuncDecl, ident *ast.Ident, data *Te... function extractArgs (line 320) | func extractArgs(fn *ast.FuncDecl) []string { function convertCommentsToJavascript (line 449) | func convertCommentsToJavascript(comments string) string { function exprToString (line 455) | func exprToString(expr ast.Expr) string { FILE: pkg/js/devtools/bindgen/output.go method WriteGoTemplate (line 21) | func (d *TemplateData) WriteGoTemplate(outputDirectory string, pkgName s... method WriteJSTemplate (line 54) | func (d *TemplateData) WriteJSTemplate(outputDirectory string, pkgName s... method WriteMarkdownIndexTemplate (line 86) | func (d *TemplateData) WriteMarkdownIndexTemplate(outputDirectory string... method WriteMarkdownLibraryDocumentation (line 117) | func (d *TemplateData) WriteMarkdownLibraryDocumentation(outputDirectory... function templateFuncs (line 145) | func templateFuncs() map[string]interface{} { FILE: pkg/js/devtools/scrapefuncs/main.go type DSLHelperFunc (line 22) | type DSLHelperFunc struct function main (line 38) | func main() { FILE: pkg/js/devtools/tsgen/astutil.go function isExported (line 10) | func isExported(name string) bool { function exprToString (line 15) | func exprToString(expr ast.Expr) string { function toTsTypes (line 36) | func toTsTypes(t string) string { function TsDefaultValue (line 68) | func TsDefaultValue(t string) string { function Ternary (line 91) | func Ternary(condition bool, trueVal, falseVal string) string { function checkCanFail (line 99) | func checkCanFail(fn *ast.FuncDecl) bool { FILE: pkg/js/devtools/tsgen/cmd/tsgen/main.go function main (line 29) | func main() { function sortEntities (line 107) | func sortEntities(entities []tsgen.Entity) []tsgen.Entity { FILE: pkg/js/devtools/tsgen/parser.go type EntityParser (line 19) | type EntityParser struct method GetEntities (line 58) | func (p *EntityParser) GetEntities() []Entity { method Parse (line 63) | func (p *EntityParser) Parse() error { method extractClassProperties (line 256) | func (p *EntityParser) extractClassProperties(node *ast.StructType) []... method extractFunctionFromNode (line 306) | func (p *EntityParser) extractFunctionFromNode(fn *ast.FuncDecl) (Enti... method extractReturnType (line 341) | func (p *EntityParser) extractReturnType(fn *ast.FuncDecl) (out string) { method extractParameters (line 398) | func (p *EntityParser) extractParameters(fn *ast.FuncDecl) []Parameter { method handleExternalStruct (line 422) | func (p *EntityParser) handleExternalStruct(typeName string) string { method extractStructTypes (line 453) | func (p *EntityParser) extractStructTypes() { method extractVarsNConstants (line 477) | func (p *EntityParser) extractVarsNConstants() { method loadImportedPackages (line 511) | func (p *EntityParser) loadImportedPackages() error { function NewEntityParser (line 29) | func NewEntityParser(dir string) (*EntityParser, error) { function convertMaptoRecord (line 389) | func convertMaptoRecord(input string) (out string) { function loadPackage (line 544) | func loadPackage(pkgPath string) (*packages.Package, error) { function updateFuncWithConstructorSig (line 557) | func updateFuncWithConstructorSig(sig string, f Function) Function { FILE: pkg/js/devtools/tsgen/scrape.go method scrapeAndCreate (line 14) | func (p *EntityParser) scrapeAndCreate(typeName string) error { type ExtObject (line 75) | type ExtObject struct function recursiveScrapeType (line 80) | func recursiveScrapeType(parentType types.Type, fieldName string, fieldT... function ConvertExtObjectToEntities (line 142) | func ConvertExtObjectToEntities(extObj *ExtObject, nestedTypes map[strin... FILE: pkg/js/devtools/tsgen/types.go type Entity (line 4) | type Entity struct type Class (line 17) | type Class struct type Function (line 26) | type Function struct type Interface (line 33) | type Interface struct type Method (line 40) | type Method struct type Property (line 50) | type Property struct type Parameter (line 57) | type Parameter struct FILE: pkg/js/generated/go/libbytes/bytes.go function init (line 14) | func init() { function Enable (line 28) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libfs/fs.go function init (line 14) | func init() { function Enable (line 31) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libgoconsole/goconsole.go function init (line 14) | func init() { function Enable (line 28) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libikev2/ikev2.go function init (line 14) | func init() { function Enable (line 37) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libkerberos/kerberos.go function init (line 14) | func init() { function Enable (line 36) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libldap/ldap.go function init (line 14) | func init() { function Enable (line 66) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libmssql/mssql.go function init (line 14) | func init() { function Enable (line 27) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libmysql/mysql.go function init (line 14) | func init() { function Enable (line 30) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libnet/net.go function init (line 14) | func init() { function Enable (line 29) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/liboracle/oracle.go function init (line 14) | func init() { function Enable (line 28) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libpop3/pop3.go function init (line 14) | func init() { function Enable (line 28) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libpostgres/postgres.go function init (line 14) | func init() { function Enable (line 27) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/librdp/rdp.go function init (line 14) | func init() { function Enable (line 32) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libredis/redis.go function init (line 14) | func init() { function Enable (line 32) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/librsync/rsync.go function init (line 14) | func init() { function Enable (line 29) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libsmb/smb.go function init (line 14) | func init() { function Enable (line 27) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libsmtp/smtp.go function init (line 14) | func init() { function Enable (line 30) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libssh/ssh.go function init (line 14) | func init() { function Enable (line 27) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libstructs/structs.go function init (line 14) | func init() { function Enable (line 30) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libtelnet/telnet.go function init (line 15) | func init() { function Enable (line 32) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/go/libvnc/vnc.go function init (line 14) | func init() { function Enable (line 29) | func Enable(runtime *goja.Runtime) { FILE: pkg/js/generated/ts/bytes.ts class Buffer (line 17) | class Buffer { method constructor (line 21) | constructor() {} method Write (line 31) | public Write(data: Uint8Array): Buffer { method WriteString (line 45) | public WriteString(data: string): Buffer { method Bytes (line 60) | public Bytes(): Uint8Array { method String (line 75) | public String(): string { method Len (line 90) | public Len(): number { method Hex (line 105) | public Hex(): string { method Hexdump (line 120) | public Hexdump(): string { method Pack (line 135) | public Pack(formatStr: string, msg: any): void { FILE: pkg/js/generated/ts/fs.ts function ListDir (line 26) | function ListDir(path: string, itemType: string): string[] | null { function ReadFile (line 42) | function ReadFile(path: string): Uint8Array | null { function ReadFileAsString (line 58) | function ReadFileAsString(path: string): string | null { function ReadFilesFromDir (line 75) | function ReadFilesFromDir(dir: string): string[] | null { FILE: pkg/js/generated/ts/goconsole.ts function NewGoConsolePrinter (line 6) | function NewGoConsolePrinter(): GoConsolePrinter { class GoConsolePrinter (line 14) | class GoConsolePrinter { method constructor (line 18) | constructor() {} method Log (line 22) | public Log(msg: string): void { method Warn (line 30) | public Warn(msg: string): void { method Error (line 38) | public Error(msg: string): void { FILE: pkg/js/generated/ts/ikev2.ts constant IKE_EXCHANGE_AUTH (line 4) | const IKE_EXCHANGE_AUTH = 35; constant IKE_EXCHANGE_CREATE_CHILD_SA (line 7) | const IKE_EXCHANGE_CREATE_CHILD_SA = 36; constant IKE_EXCHANGE_INFORMATIONAL (line 10) | const IKE_EXCHANGE_INFORMATIONAL = 37; constant IKE_EXCHANGE_SA_INIT (line 13) | const IKE_EXCHANGE_SA_INIT = 34; constant IKE_NOTIFY_NO_PROPOSAL_CHOSEN (line 19) | const IKE_NOTIFY_NO_PROPOSAL_CHOSEN = 14; constant IKE_NOTIFY_USE_TRANSPORT_MODE (line 22) | const IKE_NOTIFY_USE_TRANSPORT_MODE = 16391; constant IKE_VERSION_2 (line 25) | const IKE_VERSION_2 = 0x20; class IKEMessage (line 32) | class IKEMessage { method constructor (line 52) | constructor() {} method AppendPayload (line 65) | public AppendPayload(payload: any): void { method Encode (line 82) | public Encode(): Uint8Array | null { type IKENonce (line 101) | interface IKENonce { type IKENotification (line 119) | interface IKENotification { FILE: pkg/js/generated/ts/kerberos.ts function ASRepToHashcat (line 6) | function ASRepToHashcat(asrep: any): string | null { function CheckKrbError (line 15) | function CheckKrbError(b: Uint8Array): Uint8Array | null { function NewKerberosClientFromString (line 34) | function NewKerberosClientFromString(cfg: string): Client | null { function SendToKDC (line 51) | function SendToKDC(kclient: Client, msg: string): string | null { function TGStoHashcat (line 60) | function TGStoHashcat(tgs: any, username: string): string | null { class Client (line 78) | class Client { method constructor (line 90) | constructor(public domain: string, public controller?: string ) {} method SetConfig (line 107) | public SetConfig(cfg: Config): void { method EnumerateUser (line 122) | public EnumerateUser(username: string): EnumerateUserResponse | null { method GetServiceTicket (line 137) | public GetServiceTicket(User: string): TGS | null { class Config (line 149) | class Config { method constructor (line 153) | constructor() {} method SetIPAddress (line 163) | public SetIPAddress(ip: string): Config | null { method SetTimeout (line 177) | public SetTimeout(timeout: number): Config | null { type AuthorizationDataEntry (line 189) | interface AuthorizationDataEntry { type BitString (line 201) | interface BitString { type BitString (line 213) | interface BitString { type Config (line 225) | interface Config { method constructor (line 153) | constructor() {} method SetIPAddress (line 163) | public SetIPAddress(ip: string): Config | null { method SetTimeout (line 177) | public SetTimeout(timeout: number): Config | null { type EncTicketPart (line 237) | interface EncTicketPart { type EncryptedData (line 267) | interface EncryptedData { type EncryptionKey (line 281) | interface EncryptionKey { type EnumerateUserResponse (line 293) | interface EnumerateUserResponse { type HostAddress (line 307) | interface HostAddress { type LibDefaults (line 319) | interface LibDefaults { type PrincipalName (line 405) | interface PrincipalName { type Realm (line 417) | interface Realm { type TGS (line 437) | interface TGS { type Ticket (line 451) | interface Ticket { type TransitedEncoding (line 469) | interface TransitedEncoding { FILE: pkg/js/generated/ts/ldap.ts function DecodeADTimestamp (line 96) | function DecodeADTimestamp(timestamp: string): string { function DecodeSID (line 111) | function DecodeSID(s: string): string { function DecodeZuluTimestamp (line 126) | function DecodeZuluTimestamp(timestamp: string): string { function JoinFilters (line 140) | function JoinFilters(filters: any): string { function NegativeFilter (line 154) | function NegativeFilter(filter: string): string { class Client (line 178) | class Client { method constructor (line 198) | constructor(public ldapUrl: string, public realm: string, public confi... method FindADObjects (line 212) | public FindADObjects(filter: string): SearchResult | null { method GetADUsers (line 228) | public GetADUsers(): SearchResult | null { method GetADActiveUsers (line 244) | public GetADActiveUsers(): SearchResult | null { method GetADUserWithNeverExpiringPasswords (line 260) | public GetADUserWithNeverExpiringPasswords(): SearchResult | null { method GetADUserTrustedForDelegation (line 276) | public GetADUserTrustedForDelegation(): SearchResult | null { method GetADUserWithPasswordNotRequired (line 292) | public GetADUserWithPasswordNotRequired(): SearchResult | null { method GetADGroups (line 308) | public GetADGroups(): SearchResult | null { method GetADDCList (line 324) | public GetADDCList(): SearchResult | null { method GetADAdmins (line 340) | public GetADAdmins(): SearchResult | null { method GetADUserKerberoastable (line 356) | public GetADUserKerberoastable(): SearchResult | null { method GetADUserAsRepRoastable (line 372) | public GetADUserAsRepRoastable(): SearchResult | null { method GetADDomainSID (line 387) | public GetADDomainSID(): string { method Authenticate (line 402) | public Authenticate(username: string): void { method AuthenticateWithNTLMHash (line 416) | public AuthenticateWithNTLMHash(username: string): void { method Search (line 431) | public Search(filter: string, attributes: any): SearchResult | null { method AdvancedSearch (line 446) | public AdvancedSearch(Scope: number, TypesOnly: boolean, Filter: strin... method CollectMetadata (line 461) | public CollectMetadata(): Metadata | null { method Close (line 475) | public Close(): void { type Config (line 495) | interface Config { type LdapAttributes (line 514) | interface LdapAttributes { type LdapEntry (line 678) | interface LdapEntry { type Metadata (line 699) | interface Metadata { type SearchResult (line 727) | interface SearchResult { FILE: pkg/js/generated/ts/mssql.ts class MSSQLClient (line 12) | class MSSQLClient { method constructor (line 16) | constructor() {} method Connect (line 29) | public Connect(host: string, port: number, username: string): boolean ... method ConnectWithDB (line 46) | public ConnectWithDB(host: string, port: number, username: string): bo... method IsMssql (line 61) | public IsMssql(host: string, port: number): boolean | null { method ExecuteQuery (line 77) | public ExecuteQuery(host: string, port: number, username: string): SQL... type SQLResult (line 89) | interface SQLResult { FILE: pkg/js/generated/ts/mysql.ts function BuildDSN (line 14) | function BuildDSN(opts: MySQLOptions): string | null { class MySQLClient (line 29) | class MySQLClient { method constructor (line 33) | constructor() {} method IsMySQL (line 44) | public IsMySQL(host: string, port: number): boolean | null { method Connect (line 61) | public Connect(host: string, port: number, username: string): boolean ... method FingerprintMySQL (line 75) | public FingerprintMySQL(host: string, port: number): MySQLInfo | null { method ConnectWithDSN (line 91) | public ConnectWithDSN(dsn: string): boolean | null { method ExecuteQueryWithOpts (line 109) | public ExecuteQueryWithOpts(opts: MySQLOptions, query: string): SQLRes... method ExecuteQuery (line 124) | public ExecuteQuery(host: string, port: number, username: string): SQL... method ExecuteQueryOnDB (line 139) | public ExecuteQueryOnDB(host: string, port: number, username: string):... type MySQLInfo (line 152) | interface MySQLInfo { type MySQLOptions (line 186) | interface MySQLOptions { type SQLResult (line 210) | interface SQLResult { type ServiceMySQL (line 222) | interface ServiceMySQL { FILE: pkg/js/generated/ts/net.ts function Open (line 12) | function Open(protocol: string): NetConn | null { function OpenTLS (line 27) | function OpenTLS(protocol: string): NetConn | null { class NetConn (line 42) | class NetConn { method constructor (line 46) | constructor() {} method Close (line 56) | public Close(): void { method SetTimeout (line 70) | public SetTimeout(value: number): void { method SendArray (line 84) | public SendArray(data: any): void { method SendHex (line 98) | public SendHex(data: string): void { method Send (line 112) | public Send(data: string): void { method RecvFull (line 128) | public RecvFull(N: number): Uint8Array | null { method Recv (line 146) | public Recv(N: number): Uint8Array | null { method RecvFullString (line 162) | public RecvFullString(N: number): string | null { method RecvString (line 179) | public RecvString(N: number): string | null { method RecvFullHex (line 196) | public RecvFullHex(N: number): string | null { method RecvHex (line 213) | public RecvHex(N: number): string | null { FILE: pkg/js/generated/ts/oracle.ts type IsOracleResponse (line 13) | interface IsOracleResponse { class OracleClient (line 27) | class OracleClient { method constructor (line 29) | constructor() {} method Connect (line 40) | public Connect(host: string, port: number, serviceName: string, userna... method ConnectWithDSN (line 53) | public ConnectWithDSN(dsn: string): boolean | null { method IsOracle (line 65) | public IsOracle(host: string, port: number): IsOracleResponse | null { method ExecuteQuery (line 80) | public ExecuteQuery(host: string, port: number, username: string, pass... method ExecuteQueryWithDSN (line 94) | public ExecuteQueryWithDSN(dsn: string, query: string): SQLResult | nu... type SQLResult (line 102) | interface SQLResult { FILE: pkg/js/generated/ts/pop3.ts function IsPOP3 (line 12) | function IsPOP3(host: string, port: number): IsPOP3Response | null { type IsPOP3Response (line 28) | interface IsPOP3Response { FILE: pkg/js/generated/ts/postgres.ts class PGClient (line 12) | class PGClient { method constructor (line 16) | constructor() {} method IsPostgres (line 27) | public IsPostgres(host: string, port: number): boolean | null { method Connect (line 44) | public Connect(host: string, port: number, username: string): boolean ... method ExecuteQuery (line 61) | public ExecuteQuery(host: string, port: number, username: string): SQL... method ConnectWithDB (line 78) | public ConnectWithDB(host: string, port: number, username: string): bo... type SQLResult (line 90) | interface SQLResult { FILE: pkg/js/generated/ts/rdp.ts function CheckRDPAuth (line 12) | function CheckRDPAuth(host: string, port: number): CheckRDPAuthResponse ... function CheckRDPEncryption (line 26) | function CheckRDPEncryption(host: string, port: number): RDPEncryptionRe... function IsRDP (line 42) | function IsRDP(host: string, port: number): IsRDPResponse | null { type CheckRDPAuthResponse (line 56) | interface CheckRDPAuthResponse { type RDPEncryptionResponse (line 73) | interface RDPEncryptionResponse { type IsRDPResponse (line 98) | interface IsRDPResponse { type ServiceRDP (line 108) | interface ServiceRDP { FILE: pkg/js/generated/ts/redis.ts function Connect (line 11) | function Connect(host: string, port: number, password: string): boolean ... function GetServerInfo (line 25) | function GetServerInfo(host: string, port: number): string | null { function GetServerInfoAuth (line 39) | function GetServerInfoAuth(host: string, port: number, password: string)... function IsAuthenticated (line 53) | function IsAuthenticated(host: string, port: number): boolean | null { function RunLuaScript (line 67) | function RunLuaScript(host: string, port: number, password: string, scri... FILE: pkg/js/generated/ts/rsync.ts function IsRsync (line 12) | function IsRsync(host: string, port: number): IsRsyncResponse | null { class RsyncClient (line 25) | class RsyncClient { method constructor (line 28) | constructor() {} method Connect (line 39) | public Connect(host: string, port: number, username: string, password:... method ListModules (line 53) | public ListModules(host: string, port: number, username: string, passw... method ListFilesInModule (line 67) | public ListFilesInModule(host: string, port: number, username: string,... type IsRsyncResponse (line 82) | interface IsRsyncResponse { FILE: pkg/js/generated/ts/smb.ts class SMBClient (line 13) | class SMBClient { method constructor (line 17) | constructor() {} method ConnectSMBInfoMode (line 31) | public ConnectSMBInfoMode(host: string, port: number): SMBLog | null |... method ListSMBv2Metadata (line 49) | public ListSMBv2Metadata(host: string, port: number): ServiceSMB | nul... method ListShares (line 69) | public ListShares(host: string, port: number, user: string): string[] ... method DetectSMBGhost (line 84) | public DetectSMBGhost(host: string, port: number): boolean | null { type HeaderLog (line 96) | interface HeaderLog { type NegotiationLog (line 114) | interface NegotiationLog { type SMBCapabilities (line 138) | interface SMBCapabilities { type SMBLog (line 160) | interface SMBLog { type SMBVersions (line 186) | interface SMBVersions { type ServiceSMB (line 202) | interface ServiceSMB { type SessionSetupLog (line 226) | interface SessionSetupLog { FILE: pkg/js/generated/ts/smtp.ts class Client (line 11) | class Client { method constructor (line 15) | constructor(public host: string, public port: string ) {} method IsSMTP (line 28) | public IsSMTP(): SMTPResponse | null { method IsOpenRelay (line 47) | public IsOpenRelay(msg: SMTPMessage): boolean | null { method SendMail (line 67) | public SendMail(msg: SMTPMessage): boolean | null { class SMTPMessage (line 85) | class SMTPMessage { method constructor (line 89) | constructor() {} method From (line 99) | public From(email: string): SMTPMessage { method To (line 113) | public To(email: string): SMTPMessage { method Subject (line 127) | public Subject(sub: string): SMTPMessage { method Body (line 141) | public Body(msg: Uint8Array): SMTPMessage { method Auth (line 155) | public Auth(username: string): SMTPMessage { method String (line 173) | public String(): string { type SMTPResponse (line 192) | interface SMTPResponse { FILE: pkg/js/generated/ts/ssh.ts class SSHClient (line 12) | class SSHClient { method constructor (line 16) | constructor() {} method SetTimeout (line 26) | public SetTimeout(sec: number): void { method Connect (line 43) | public Connect(host: string, port: number, username: string): boolean ... method ConnectWithKey (line 61) | public ConnectWithKey(host: string, port: number, username: string): b... method ConnectSSHInfoMode (line 81) | public ConnectSSHInfoMode(host: string, port: number): HandshakeLog | ... method Run (line 101) | public Run(cmd: string): string | null { method Close (line 118) | public Close(): boolean | null { type Algorithms (line 130) | interface Algorithms { type DirectionAlgorithms (line 146) | interface DirectionAlgorithms { type EndpointId (line 160) | interface EndpointId { type HandshakeLog (line 176) | interface HandshakeLog { type KexInitMsg (line 198) | interface KexInitMsg { FILE: pkg/js/generated/ts/structs.ts function Pack (line 13) | function Pack(formatStr: string, msg: any): Uint8Array | null { function StructsCalcSize (line 28) | function StructsCalcSize(format: string): number | null { function Unpack (line 46) | function Unpack(format: string, msg: Uint8Array): any | null { FILE: pkg/js/generated/ts/telnet.ts function IsTelnet (line 12) | function IsTelnet(host: string, port: number): IsTelnetResponse | null { class TelnetClient (line 24) | class TelnetClient { method Connect (line 38) | public Connect(host: string, port: number, username: string, password:... method Info (line 54) | public Info(host: string, port: number): TelnetInfoResponse | null { method GetTelnetNTLMInfo (line 71) | public GetTelnetNTLMInfo(host: string, port: number): NTLMInfoResponse... type IsTelnetResponse (line 86) | interface IsTelnetResponse { type TelnetInfoResponse (line 103) | interface TelnetInfoResponse { type NTLMInfoResponse (line 123) | interface NTLMInfoResponse { FILE: pkg/js/generated/ts/vnc.ts function IsVNC (line 14) | function IsVNC(host: string, port: number): IsVNCResponse | null { type IsVNCResponse (line 29) | interface IsVNCResponse { class VNCClient (line 44) | class VNCClient { method constructor (line 48) | constructor() {} method Connect (line 62) | public Connect(host: string, port: number, password: string): boolean ... FILE: pkg/js/global/helpers.go function registerAdditionalHelpers (line 10) | func registerAdditionalHelpers(runtime *goja.Runtime) { function init (line 42) | func init() { FILE: pkg/js/global/js/active_directory.js function getDomainControllerName (line 7) | function getDomainControllerName(name, host) { function getDomainControllerNameBySMB (line 34) | function getDomainControllerNameBySMB(host) { function getDomainControllerNameByLDAP (line 47) | function getDomainControllerNameByLDAP(host) { FILE: pkg/js/global/js/dump.js function dump_json (line 3) | function dump_json(data) { function to_json (line 8) | function to_json(data) { function to_array (line 13) | function to_array(data) { function hex_to_ascii (line 18) | function hex_to_ascii(str1) { FILE: pkg/js/global/scripts.go function initBuiltInFunc (line 45) | func initBuiltInFunc(runtime *goja.Runtime) { function RegisterNativeScripts (line 233) | func RegisterNativeScripts(runtime *goja.Runtime) error { FILE: pkg/js/global/scripts_test.go function TestScriptsRuntime (line 11) | func TestScriptsRuntime(t *testing.T) { FILE: pkg/js/gojs/gojs.go type Objects (line 14) | type Objects type Runtime (line 16) | type Runtime interface type Object (line 20) | type Object interface type Module (line 25) | type Module interface type GojaModule (line 32) | type GojaModule struct method String (line 45) | func (p *GojaModule) String() string { method Name (line 49) | func (p *GojaModule) Name() string { method Set (line 106) | func (p *GojaModule) Set(objects Objects) Module { method Require (line 111) | func (p *GojaModule) Require(runtime *goja.Runtime, module *goja.Objec... method Enable (line 119) | func (p *GojaModule) Enable(runtime Runtime) { method Register (line 123) | func (p *GojaModule) Register() Module { function NewGojaModule (line 38) | func NewGojaModule(name string) Module { function wrapModuleFunc (line 55) | func wrapModuleFunc(runtime *goja.Runtime, fn interface{}) interface{} { function GetClassConstructor (line 132) | func GetClassConstructor[T any](instance *T) func(call goja.ConstructorC... FILE: pkg/js/gojs/set.go type FuncOpts (line 16) | type FuncOpts struct method valid (line 24) | func (f *FuncOpts) valid() bool { function wrapWithContext (line 30) | func wrapWithContext(runtime *goja.Runtime, fn interface{}) interface{} { function RegisterFuncWithSignature (line 81) | func RegisterFuncWithSignature(runtime *goja.Runtime, opts FuncOpts) err... FILE: pkg/js/libs/bytes/buffer.go type Buffer (line 24) | type Buffer struct method Write (line 48) | func (b *Buffer) Write(data []byte) *Buffer { method WriteString (line 60) | func (b *Buffer) WriteString(data string) *Buffer { method Bytes (line 73) | func (b *Buffer) Bytes() []byte { method String (line 85) | func (b *Buffer) String() string { method Len (line 97) | func (b *Buffer) Len() int { method Hex (line 109) | func (b *Buffer) Hex() string { method Hexdump (line 121) | func (b *Buffer) Hexdump() string { method Pack (line 133) | func (b *Buffer) Pack(formatStr string, msg any) error { function NewBuffer (line 30) | func NewBuffer(call goja.ConstructorCall, runtime *goja.Runtime) *goja.O... FILE: pkg/js/libs/fs/fs.go function ListDir (line 31) | func ListDir(ctx context.Context, path string, itemType string) ([]strin... function ReadFile (line 62) | func ReadFile(ctx context.Context, path string) ([]byte, error) { function ReadFileAsString (line 80) | func ReadFileAsString(ctx context.Context, path string) (string, error) { function ReadFilesFromDir (line 97) | func ReadFilesFromDir(ctx context.Context, dir string) ([]string, error) { FILE: pkg/js/libs/goconsole/log.go type GoConsolePrinter (line 11) | type GoConsolePrinter struct method Log (line 21) | func (p *GoConsolePrinter) Log(msg string) { method Warn (line 25) | func (p *GoConsolePrinter) Warn(msg string) { method Error (line 29) | func (p *GoConsolePrinter) Error(msg string) { function NewGoConsolePrinter (line 15) | func NewGoConsolePrinter() *GoConsolePrinter { FILE: pkg/js/libs/ikev2/ikev2.go function init (line 11) | func init() { type IKEMessage (line 20) | type IKEMessage struct method AppendPayload (line 39) | func (m *IKEMessage) AppendPayload(payload any) error { method Encode (line 57) | func (m *IKEMessage) Encode() ([]byte, error) { type IKEPayload (line 81) | type IKEPayload interface type IKENotification (line 95) | type IKENotification struct method encode (line 102) | func (i *IKENotification) encode() (message.IKEPayload, error) { constant IKE_NOTIFY_NO_PROPOSAL_CHOSEN (line 112) | IKE_NOTIFY_NO_PROPOSAL_CHOSEN = 14 constant IKE_NOTIFY_USE_TRANSPORT_MODE (line 113) | IKE_NOTIFY_USE_TRANSPORT_MODE = 16391 constant IKE_VERSION_2 (line 115) | IKE_VERSION_2 = 0x20 constant IKE_EXCHANGE_SA_INIT (line 118) | IKE_EXCHANGE_SA_INIT = 34 constant IKE_EXCHANGE_AUTH (line 119) | IKE_EXCHANGE_AUTH = 35 constant IKE_EXCHANGE_CREATE_CHILD_SA (line 120) | IKE_EXCHANGE_CREATE_CHILD_SA = 36 constant IKE_EXCHANGE_INFORMATIONAL (line 121) | IKE_EXCHANGE_INFORMATIONAL = 37 constant IKE_FLAGS_InitiatorBitCheck (line 124) | IKE_FLAGS_InitiatorBitCheck = 0x08 type IKENonce (line 136) | type IKENonce struct method encode (line 142) | func (i *IKENonce) encode() (message.IKEPayload, error) { FILE: pkg/js/libs/kerberos/kerberosx.go type EnumerateUserResponse (line 18) | type EnumerateUserResponse struct type TGS (line 27) | type TGS struct type Config (line 36) | type Config struct method SetIPAddress (line 49) | func (c *Config) SetIPAddress(ip string) *Config { method SetTimeout (line 61) | func (c *Config) SetTimeout(timeout int) *Config { type Client (line 83) | type Client struct method SetConfig (line 176) | func (c *Client) SetConfig(cfg *Config) { method EnumerateUser (line 191) | func (c *Client) EnumerateUser(username string) (EnumerateUserResponse... method GetServiceTicket (line 244) | func (c *Client) GetServiceTicket(User, Pass, SPN string) (TGS, error) { function NewKerberosClient (line 95) | func NewKerberosClient(call goja.ConstructorCall, runtime *goja.Runtime)... function NewKerberosClientFromString (line 156) | func NewKerberosClientFromString(cfg string) (*Client, error) { FILE: pkg/js/libs/kerberos/sendtokdc.go function SendToKDC (line 30) | func SendToKDC(kclient *Client, msg string) (string, error) { function sendToKDCTcp (line 66) | func sendToKDCTcp(kclient *Client, msg string) ([]byte, error) { function sendToKDCUdp (line 107) | func sendToKDCUdp(kclient *Client, msg string) ([]byte, error) { function sendUDP (line 148) | func sendUDP(conn *net.UDPConn, b []byte) ([]byte, error) { function sendTCP (line 170) | func sendTCP(conn *net.TCPConn, b []byte) ([]byte, error) { function CheckKrbError (line 204) | func CheckKrbError(b []byte) ([]byte, error) { function TGStoHashcat (line 213) | func TGStoHashcat(tgs messages.Ticket, username string) (string, error) { function ASRepToHashcat (line 225) | func ASRepToHashcat(asrep messages.ASRep) (string, error) { FILE: pkg/js/libs/ldap/adenum.go constant FilterIsPerson (line 20) | FilterIsPerson = "(objectCategory=person)" constant FilterIsGroup (line 21) | FilterIsGroup = "(objectCategory=group)" constant FilterIsComputer (line 22) | FilterIsComputer = "(objectCategory=computer)" constant FilterIsAdmin (line 23) | FilterIsAdmin = "(adminCount=1)" constant FilterHasServicePrincipalName (line 24) | FilterHasServicePrincipalName = "(servicePrincipalName=*)" constant FilterLogonScript (line 25) | FilterLogonScript = "(userAccountControl:1.2.840.113556.1... constant FilterAccountDisabled (line 26) | FilterAccountDisabled = "(userAccountControl:1.2.840.113556.1... constant FilterAccountEnabled (line 27) | FilterAccountEnabled = "(!(userAccountControl:1.2.840.113556... constant FilterHomedirRequired (line 28) | FilterHomedirRequired = "(userAccountControl:1.2.840.113556.1... constant FilterLockout (line 29) | FilterLockout = "(userAccountControl:1.2.840.113556.1... constant FilterPasswordNotRequired (line 30) | FilterPasswordNotRequired = "(userAccountControl:1.2.840.113556.1... constant FilterPasswordCantChange (line 31) | FilterPasswordCantChange = "(userAccountControl:1.2.840.113556.1... constant FilterCanSendEncryptedPassword (line 32) | FilterCanSendEncryptedPassword = "(userAccountControl:1.2.840.113556.1... constant FilterIsDuplicateAccount (line 33) | FilterIsDuplicateAccount = "(userAccountControl:1.2.840.113556.1... constant FilterIsNormalAccount (line 34) | FilterIsNormalAccount = "(userAccountControl:1.2.840.113556.1... constant FilterInterdomainTrustAccount (line 35) | FilterInterdomainTrustAccount = "(userAccountControl:1.2.840.113556.1... constant FilterWorkstationTrustAccount (line 36) | FilterWorkstationTrustAccount = "(userAccountControl:1.2.840.113556.1... constant FilterServerTrustAccount (line 37) | FilterServerTrustAccount = "(userAccountControl:1.2.840.113556.1... constant FilterDontExpirePassword (line 38) | FilterDontExpirePassword = "(userAccountControl:1.2.840.113556.1... constant FilterMnsLogonAccount (line 39) | FilterMnsLogonAccount = "(userAccountControl:1.2.840.113556.1... constant FilterSmartCardRequired (line 40) | FilterSmartCardRequired = "(userAccountControl:1.2.840.113556.1... constant FilterTrustedForDelegation (line 41) | FilterTrustedForDelegation = "(userAccountControl:1.2.840.113556.1... constant FilterNotDelegated (line 42) | FilterNotDelegated = "(userAccountControl:1.2.840.113556.1... constant FilterUseDesKeyOnly (line 43) | FilterUseDesKeyOnly = "(userAccountControl:1.2.840.113556.1... constant FilterDontRequirePreauth (line 44) | FilterDontRequirePreauth = "(userAccountControl:1.2.840.113556.1... constant FilterPasswordExpired (line 45) | FilterPasswordExpired = "(userAccountControl:1.2.840.113556.1... constant FilterTrustedToAuthForDelegation (line 46) | FilterTrustedToAuthForDelegation = "(userAccountControl:1.2.840.113556.1... constant FilterPartialSecretsAccount (line 47) | FilterPartialSecretsAccount = "(userAccountControl:1.2.840.113556.1... function JoinFilters (line 57) | func JoinFilters(filters ...string) string { function NegativeFilter (line 73) | func NegativeFilter(filter string) string { method FindADObjects (line 86) | func (c *Client) FindADObjects(filter string) SearchResult { method GetADUsers (line 117) | func (c *Client) GetADUsers() SearchResult { method GetADActiveUsers (line 130) | func (c *Client) GetADActiveUsers() SearchResult { method GetADUserWithNeverExpiringPasswords (line 143) | func (c *Client) GetADUserWithNeverExpiringPasswords() SearchResult { method GetADUserTrustedForDelegation (line 156) | func (c *Client) GetADUserTrustedForDelegation() SearchResult { method GetADUserWithPasswordNotRequired (line 169) | func (c *Client) GetADUserWithPasswordNotRequired() SearchResult { method GetADGroups (line 182) | func (c *Client) GetADGroups() SearchResult { method GetADDCList (line 195) | func (c *Client) GetADDCList() SearchResult { method GetADAdmins (line 208) | func (c *Client) GetADAdmins() SearchResult { method GetADUserKerberoastable (line 221) | func (c *Client) GetADUserKerberoastable() SearchResult { method GetADUserAsRepRoastable (line 234) | func (c *Client) GetADUserAsRepRoastable() SearchResult { method GetADDomainSID (line 246) | func (c *Client) GetADDomainSID() string { FILE: pkg/js/libs/ldap/ldap.go type Client (line 34) | type Client struct method Authenticate (line 164) | func (c *Client) Authenticate(username, password string) bool { method AuthenticateWithNTLMHash (line 196) | func (c *Client) AuthenticateWithNTLMHash(username, hash string) bool { method Search (line 216) | func (c *Client) Search(filter string, attributes ...string) SearchRes... method AdvancedSearch (line 244) | func (c *Client) AdvancedSearch( method CollectMetadata (line 283) | func (c *Client) CollectMetadata() Metadata { method GetVersion (line 338) | func (c *Client) GetVersion() []string { method Close (line 368) | func (c *Client) Close() { type Config (line 57) | type Config struct function NewClient (line 70) | func NewClient(call goja.ConstructorCall, runtime *goja.Runtime) *goja.O... type Metadata (line 264) | type Metadata struct FILE: pkg/js/libs/ldap/utils.go type SearchResult (line 20) | type SearchResult struct type LdapEntry (line 30) | type LdapEntry struct type LdapAttributes (line 39) | type LdapAttributes struct function getSearchResult (line 96) | func getSearchResult(sr *ldap.SearchResult) *SearchResult { function parseLdapEntry (line 115) | func parseLdapEntry(entry *ldap.Entry) LdapEntry { function decodeTimestamps (line 183) | func decodeTimestamps(timestamps []string) []string { function DecodeSID (line 198) | func DecodeSID(s string) string { function DecodeADTimestamp (line 237) | func DecodeADTimestamp(timestamp string) string { function DecodeZuluTimestamp (line 254) | func DecodeZuluTimestamp(timestamp string) string { FILE: pkg/js/libs/mssql/memo.mssql.go function memoizedconnect (line 13) | func memoizedconnect(executionId string, host string, port int, username... function memoizedisMssql (line 29) | func memoizedisMssql(executionId string, host string, port int) (bool, e... FILE: pkg/js/libs/mssql/mssql.go type MSSQLClient (line 26) | type MSSQLClient struct method Connect (line 39) | func (c *MSSQLClient) Connect(ctx context.Context, host string, port i... method ConnectWithDB (line 54) | func (c *MSSQLClient) ConnectWithDB(ctx context.Context, host string, ... method IsMssql (line 112) | func (c *MSSQLClient) IsMssql(ctx context.Context, host string, port i... method ExecuteQuery (line 158) | func (c *MSSQLClient) ExecuteQuery(ctx context.Context, host string, p... function connect (line 60) | func connect(executionId string, host string, port int, username string,... function isMssql (line 118) | func isMssql(executionId string, host string, port int) (bool, error) { FILE: pkg/js/libs/mysql/memo.mysql.go function memoizedisMySQL (line 11) | func memoizedisMySQL(executionId string, host string, port int) (bool, e... function memoizedfingerprintMySQL (line 27) | func memoizedfingerprintMySQL(executionId string, host string, port int)... FILE: pkg/js/libs/mysql/memo.mysql_private.go function memoizedconnectWithDSN (line 11) | func memoizedconnectWithDSN(executionId string, dsn string) (bool, error) { FILE: pkg/js/libs/mysql/mysql.go type MySQLClient (line 27) | type MySQLClient struct method IsMySQL (line 38) | func (c *MySQLClient) IsMySQL(ctx context.Context, host string, port i... method Connect (line 84) | func (c *MySQLClient) Connect(ctx context.Context, host string, port i... method FingerprintMySQL (line 137) | func (c *MySQLClient) FingerprintMySQL(ctx context.Context, host strin... method ConnectWithDSN (line 193) | func (c *MySQLClient) ConnectWithDSN(ctx context.Context, dsn string) ... method ExecuteQueryWithOpts (line 209) | func (c *MySQLClient) ExecuteQueryWithOpts(ctx context.Context, opts M... method ExecuteQuery (line 264) | func (c *MySQLClient) ExecuteQuery(ctx context.Context, host string, p... method ExecuteQueryOnDB (line 291) | func (c *MySQLClient) ExecuteQueryOnDB(ctx context.Context, host strin... function isMySQL (line 45) | func isMySQL(executionId string, host string, port int) (bool, error) { type MySQLInfo (line 117) | type MySQLInfo struct function fingerprintMySQL (line 143) | func fingerprintMySQL(executionId string, host string, port int) (MySQLI... function init (line 302) | func init() { FILE: pkg/js/libs/mysql/mysql_private.go type MySQLOptions (line 22) | type MySQLOptions struct function BuildDSN (line 43) | func BuildDSN(opts MySQLOptions) (string, error) { function connectWithDSN (line 76) | func connectWithDSN(executionId string, dsn string) (bool, error) { FILE: pkg/js/libs/net/net.go function Open (line 28) | func Open(ctx context.Context, protocol, address string) (*NetConn, erro... function OpenTLS (line 48) | func OpenTLS(ctx context.Context, protocol, address string) (*NetConn, e... type NetConn (line 77) | type NetConn struct method Close (line 90) | func (c *NetConn) Close() error { method SetTimeout (line 102) | func (c *NetConn) SetTimeout(value int) { method setDeadLine (line 108) | func (c *NetConn) setDeadLine() { method unsetDeadLine (line 116) | func (c *NetConn) unsetDeadLine() { method SendArray (line 127) | func (c *NetConn) SendArray(data []interface{}) error { method SendHex (line 148) | func (c *NetConn) SendHex(data string) error { method Send (line 172) | func (c *NetConn) Send(data string) error { method RecvFull (line 195) | func (c *NetConn) RecvFull(N int) ([]byte, error) { method Recv (line 220) | func (c *NetConn) Recv(N int) ([]byte, error) { method RecvFullString (line 243) | func (c *NetConn) RecvFullString(N int) (string, error) { method RecvString (line 261) | func (c *NetConn) RecvString(N int) (string, error) { method RecvFullHex (line 279) | func (c *NetConn) RecvFullHex(N int) (string, error) { method RecvHex (line 297) | func (c *NetConn) RecvHex(N int) (string, error) { FILE: pkg/js/libs/oracle/memo.oracle.go function memoizedisOracle (line 11) | func memoizedisOracle(executionId string, host string, port int) (IsOrac... FILE: pkg/js/libs/oracle/oracle.go type IsOracleResponse (line 26) | type IsOracleResponse struct type OracleClient (line 37) | type OracleClient struct method IsOracle (line 49) | func (c *OracleClient) IsOracle(ctx context.Context, host string, port... method oracleDbInstance (line 86) | func (c *OracleClient) oracleDbInstance(connStr string, executionId st... method Connect (line 116) | func (c *OracleClient) Connect(ctx context.Context, host string, port ... method ConnectWithDSN (line 122) | func (c *OracleClient) ConnectWithDSN(ctx context.Context, dsn string)... method ExecuteQuery (line 156) | func (c *OracleClient) ExecuteQuery(ctx context.Context, host string, ... method ExecuteQueryWithDSN (line 182) | func (c *OracleClient) ExecuteQueryWithDSN(ctx context.Context, dsn st... function isOracle (line 55) | func isOracle(executionId string, host string, port int) (IsOracleRespon... FILE: pkg/js/libs/oracle/oracledialer.go type oracleCustomDialer (line 13) | type oracleCustomDialer struct method dialWithCtx (line 17) | func (o *oracleCustomDialer) dialWithCtx(ctx context.Context, network,... method Dial (line 29) | func (o *oracleCustomDialer) Dial(network, address string) (net.Conn, ... method DialTimeout (line 33) | func (o *oracleCustomDialer) DialTimeout(network, address string, time... method DialContext (line 40) | func (o *oracleCustomDialer) DialContext(ctx context.Context, network,... FILE: pkg/js/libs/pop3/memo.pop3.go function memoizedisPoP3 (line 11) | func memoizedisPoP3(executionId string, host string, port int) (IsPOP3Re... FILE: pkg/js/libs/pop3/pop3.go type IsPOP3Response (line 24) | type IsPOP3Response struct function IsPOP3 (line 37) | func IsPOP3(ctx context.Context, host string, port int) (IsPOP3Response,... function isPoP3 (line 43) | func isPoP3(executionId string, host string, port int) (IsPOP3Response, ... FILE: pkg/js/libs/postgres/memo.postgres.go function memoizedisPostgres (line 15) | func memoizedisPostgres(executionId string, host string, port int) (bool... function memoizedexecuteQuery (line 31) | func memoizedexecuteQuery(executionId string, host string, port int, use... function memoizedconnect (line 47) | func memoizedconnect(executionId string, host string, port int, username... FILE: pkg/js/libs/postgres/postgres.go type PGClient (line 28) | type PGClient struct method IsPostgres (line 39) | func (c *PGClient) IsPostgres(ctx context.Context, host string, port i... method Connect (line 85) | func (c *PGClient) Connect(ctx context.Context, host string, port int,... method ExecuteQuery (line 107) | func (c *PGClient) ExecuteQuery(ctx context.Context, host string, port... method ConnectWithDB (line 160) | func (c *PGClient) ConnectWithDB(ctx context.Context, host string, por... function isPostgres (line 46) | func isPostgres(executionId string, host string, port int) (bool, error) { function executeQuery (line 122) | func executeQuery(executionId string, host string, port int, username st... function connect (line 175) | func connect(executionId string, host string, port int, username string,... FILE: pkg/js/libs/rdp/memo.rdp.go function memoizedisRDP (line 11) | func memoizedisRDP(executionId string, host string, port int) (IsRDPResp... function memoizedcheckRDPAuth (line 27) | func memoizedcheckRDPAuth(executionId string, host string, port int) (Ch... function memoizedcheckRDPEncryption (line 43) | func memoizedcheckRDPEncryption(executionId string, host string, port in... FILE: pkg/js/libs/rdp/rdp.go type IsRDPResponse (line 24) | type IsRDPResponse struct function IsRDP (line 40) | func IsRDP(ctx context.Context, host string, port int) (IsRDPResponse, e... function isRDP (line 46) | func isRDP(executionId string, host string, port int) (IsRDPResponse, er... type CheckRDPAuthResponse (line 84) | type CheckRDPAuthResponse struct function CheckRDPAuth (line 99) | func CheckRDPAuth(ctx context.Context, host string, port int) (CheckRDPA... function checkRDPAuth (line 105) | func checkRDPAuth(executionId string, host string, port int) (CheckRDPAu... type SecurityLayer (line 134) | type SecurityLayer constant SecurityLayerNativeRDP (line 138) | SecurityLayerNativeRDP = "NativeRDP" constant SecurityLayerSSL (line 139) | SecurityLayerSSL = "SSL" constant SecurityLayerCredSSP (line 140) | SecurityLayerCredSSP = "CredSSP" constant SecurityLayerRDSTLS (line 141) | SecurityLayerRDSTLS = "RDSTLS" constant SecurityLayerCredSSPWithEarlyUserAuth (line 142) | SecurityLayerCredSSPWithEarlyUserAuth = "CredSSPWithEarlyUserAuth" type EncryptionLevel (line 146) | type EncryptionLevel constant EncryptionLevelRC4_40bit (line 150) | EncryptionLevelRC4_40bit = "RC4_40bit" constant EncryptionLevelRC4_56bit (line 151) | EncryptionLevelRC4_56bit = "RC4_56bit" constant EncryptionLevelRC4_128bit (line 152) | EncryptionLevelRC4_128bit = "RC4_128bit" constant EncryptionLevelFIPS140_1 (line 153) | EncryptionLevelFIPS140_1 = "FIPS140_1" type RDPEncryptionResponse (line 165) | type RDPEncryptionResponse struct function CheckRDPEncryption (line 189) | func CheckRDPEncryption(ctx context.Context, host string, port int) (RDP... function checkRDPEncryption (line 195) | func checkRDPEncryption(executionId string, host string, port int) (RDPE... function testRDPProtocol (line 280) | func testRDPProtocol(conn net.Conn, protocol int) (bool, error) { function testRDPCipher (line 313) | func testRDPCipher(conn net.Conn, cipher int) (bool, error) { FILE: pkg/js/libs/redis/memo.redis.go function memoizedgetServerInfo (line 11) | func memoizedgetServerInfo(executionId string, host string, port int) (s... function memoizedconnect (line 27) | func memoizedconnect(executionId string, host string, port int, password... function memoizedgetServerInfoAuth (line 43) | func memoizedgetServerInfoAuth(executionId string, host string, port int... function memoizedisAuthenticated (line 59) | func memoizedisAuthenticated(executionId string, host string, port int) ... FILE: pkg/js/libs/redis/redis.go function GetServerInfo (line 21) | func GetServerInfo(ctx context.Context, host string, port int) (string, ... function getServerInfo (line 27) | func getServerInfo(executionId string, host string, port int) (string, e... function Connect (line 63) | func Connect(ctx context.Context, host string, port int, password string... function connect (line 69) | func connect(executionId string, host string, port int, password string)... function GetServerInfoAuth (line 103) | func GetServerInfoAuth(ctx context.Context, host string, port int, passw... function getServerInfoAuth (line 109) | func getServerInfoAuth(executionId string, host string, port int, passwo... function IsAuthenticated (line 145) | func IsAuthenticated(ctx context.Context, host string, port int) (bool, ... function isAuthenticated (line 151) | func isAuthenticated(executionId string, host string, port int) (bool, e... function RunLuaScript (line 180) | func RunLuaScript(ctx context.Context, host string, port int, password s... FILE: pkg/js/libs/rsync/memo.rsync.go function memoizedisRsync (line 11) | func memoizedisRsync(executionId string, host string, port int) (IsRsync... FILE: pkg/js/libs/rsync/rsync.go type RsyncClient (line 27) | type RsyncClient struct method ListModules (line 111) | func (c *RsyncClient) ListModules(ctx context.Context, host string, po... method ListFilesInModule (line 124) | func (c *RsyncClient) ListFilesInModule(ctx context.Context, host stri... type IsRsyncResponse (line 37) | type IsRsyncResponse struct type RsyncListResponse (line 50) | type RsyncListResponse struct function connectWithFastDialer (line 57) | func connectWithFastDialer(executionId string, host string, port int) (n... function IsRsync (line 72) | func IsRsync(ctx context.Context, host string, port int) (IsRsyncRespons... function isRsync (line 78) | func isRsync(executionId string, host string, port int) (IsRsyncResponse... function listModules (line 129) | func listModules(executionId string, host string, port int, username str... function listFilesInModule (line 169) | func listFilesInModule(executionId string, host string, port int, userna... FILE: pkg/js/libs/smb/memo.smb.go function memoizedconnectSMBInfoMode (line 13) | func memoizedconnectSMBInfoMode(executionId string, host string, port in... function memoizedlistShares (line 29) | func memoizedlistShares(executionId string, host string, port int, user ... FILE: pkg/js/libs/smb/memo.smb_private.go function memoizedcollectSMBv2Metadata (line 15) | func memoizedcollectSMBv2Metadata(executionId string, host string, port ... FILE: pkg/js/libs/smb/memo.smbghost.go function memoizeddetectSMBGhost (line 12) | func memoizeddetectSMBGhost(executionId string, host string, port int) (... FILE: pkg/js/libs/smb/smb.go type SMBClient (line 23) | type SMBClient struct method ConnectSMBInfoMode (line 37) | func (c *SMBClient) ConnectSMBInfoMode(ctx context.Context, host strin... method ListSMBv2Metadata (line 89) | func (c *SMBClient) ListSMBv2Metadata(ctx context.Context, host string... method ListShares (line 113) | func (c *SMBClient) ListShares(ctx context.Context, host string, port ... function connectSMBInfoMode (line 43) | func connectSMBInfoMode(executionId string, host string, port int) (*smb... function listShares (line 119) | func listShares(executionId string, host string, port int, user string, ... FILE: pkg/js/libs/smb/smb_private.go function collectSMBv2Metadata (line 19) | func collectSMBv2Metadata(executionId string, host string, port int, tim... function getSMBInfo (line 44) | func getSMBInfo(conn net.Conn, setupSession, v1 bool) (*zgrabsmb.SMBLog,... FILE: pkg/js/libs/smb/smbghost.go constant pkt (line 18) | pkt = "\x00\x00\x00\xc0\xfeSMB@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\... method DetectSMBGhost (line 29) | func (c *SMBClient) DetectSMBGhost(ctx context.Context, host string, por... function detectSMBGhost (line 35) | func detectSMBGhost(executionId string, host string, port int) (bool, er... FILE: pkg/js/libs/smtp/msg.go type SMTPMessage (line 18) | type SMTPMessage struct method From (line 35) | func (s *SMTPMessage) From(email string) *SMTPMessage { method To (line 47) | func (s *SMTPMessage) To(email string) *SMTPMessage { method Subject (line 59) | func (s *SMTPMessage) Subject(sub string) *SMTPMessage { method Body (line 71) | func (s *SMTPMessage) Body(msg []byte) *SMTPMessage { method Auth (line 83) | func (s *SMTPMessage) Auth(username, password string) *SMTPMessage { method String (line 100) | func (s *SMTPMessage) String() string { FILE: pkg/js/libs/smtp/smtp.go type SMTPResponse (line 28) | type SMTPResponse struct type Client (line 41) | type Client struct method IsSMTP (line 85) | func (c *Client) IsSMTP() (SMTPResponse, error) { method IsOpenRelay (line 131) | func (c *Client) IsOpenRelay(msg *SMTPMessage) (bool, error) { method SendMail (line 198) | func (c *Client) SendMail(msg *SMTPMessage) (bool, error) { function NewSMTPClient (line 50) | func NewSMTPClient(call goja.ConstructorCall, runtime *goja.Runtime) *go... FILE: pkg/js/libs/ssh/memo.ssh.go function memoizedconnectSSHInfoMode (line 13) | func memoizedconnectSSHInfoMode(opts *connectOptions) (*ssh.HandshakeLog... FILE: pkg/js/libs/ssh/ssh.go type SSHClient (line 25) | type SSHClient struct method SetTimeout (line 44) | func (c *SSHClient) SetTimeout(sec int) { method Connect (line 58) | func (c *SSHClient) Connect(ctx context.Context, host string, port int... method ConnectWithKey (line 86) | func (c *SSHClient) ConnectWithKey(ctx context.Context, host string, p... method ConnectSSHInfoMode (line 117) | func (c *SSHClient) ConnectSSHInfoMode(ctx context.Context, host strin... method Run (line 139) | func (c *SSHClient) Run(cmd string) (string, error) { method Close (line 169) | func (c *SSHClient) Close() (bool, error) { type connectOptions (line 177) | type connectOptions struct method validate (line 187) | func (c *connectOptions) validate() error { function connectSSHInfoMode (line 205) | func connectSSHInfoMode(opts *connectOptions) (*ssh.HandshakeLog, error) { function connect (line 232) | func connect(opts *connectOptions) (*ssh.Client, error) { FILE: pkg/js/libs/structs/structs.go function Unpack (line 19) | func Unpack(format string, msg []byte) ([]interface{}, error) { function Pack (line 31) | func Pack(formatStr string, msg interface{}) ([]byte, error) { function StructsCalcSize (line 63) | func StructsCalcSize(format string) (int, error) { function buildFormatSliceFromStringFormat (line 67) | func buildFormatSliceFromStringFormat(format string) []string { FILE: pkg/js/libs/telnet/memo.telnet.go function memoizedisTelnet (line 11) | func memoizedisTelnet(executionId string, host string, port int) (IsTeln... FILE: pkg/js/libs/telnet/telnet.go constant IAC (line 18) | IAC = 255 constant WILL (line 19) | WILL = 251 constant WONT (line 20) | WONT = 252 constant DO (line 21) | DO = 253 constant DONT (line 22) | DONT = 254 constant SB (line 23) | SB = 250 constant SE (line 24) | SE = 240 constant ECHO (line 25) | ECHO = 1 constant SUPPRESS_GO_AHEAD (line 26) | SUPPRESS_GO_AHEAD = 3 constant TERMINAL_TYPE (line 27) | TERMINAL_TYPE = 24 constant NAWS (line 28) | NAWS = 31 constant ENCRYPT (line 29) | ENCRYPT = 38 type IsTelnetResponse (line 41) | type IsTelnetResponse struct type TelnetInfoResponse (line 54) | type TelnetInfoResponse struct type TelnetClient (line 66) | type TelnetClient struct method Connect (line 122) | func (c *TelnetClient) Connect(ctx context.Context, host string, port ... method Info (line 170) | func (c *TelnetClient) Info(ctx context.Context, host string, port int... method GetTelnetNTLMInfo (line 216) | func (c *TelnetClient) GetTelnetNTLMInfo(ctx context.Context, host str... function IsTelnet (line 76) | func IsTelnet(ctx context.Context, host string, port int) (IsTelnetRespo... function isTelnet (line 82) | func isTelnet(executionId string, host string, port int) (IsTelnetRespon... FILE: pkg/js/libs/vnc/memo.vnc.go function memoizedisVNC (line 11) | func memoizedisVNC(executionId string, host string, port int) (IsVNCResp... FILE: pkg/js/libs/vnc/vnc.go type IsVNCResponse (line 25) | type IsVNCResponse struct type VNCClient (line 38) | type VNCClient struct method Connect (line 51) | func (c *VNCClient) Connect(ctx context.Context, host string, port int... function connect (line 57) | func connect(executionId string, host string, port int, password string)... function isAuthError (line 102) | func isAuthError(err error) bool { function IsVNC (line 121) | func IsVNC(ctx context.Context, host string, port int) (IsVNCResponse, e... function isVNC (line 127) | func isVNC(executionId string, host string, port int) (IsVNCResponse, er... FILE: pkg/js/utils/nucleijs.go function getRuntime (line 20) | func getRuntime() *goja.Runtime { type NucleiJS (line 27) | type NucleiJS struct method runtime (line 38) | func (j *NucleiJS) runtime() *goja.Runtime { method ExecutionId (line 45) | func (j *NucleiJS) ExecutionId() string { method ThrowError (line 56) | func (j *NucleiJS) ThrowError(err error) { method HandleError (line 64) | func (j *NucleiJS) HandleError(err error, msg ...string) { method Throw (line 75) | func (j *NucleiJS) Throw(format string, args ...interface{}) { method GetArg (line 84) | func (j *NucleiJS) GetArg(args []goja.Value, index int) any { method GetArgSafe (line 96) | func (j *NucleiJS) GetArgSafe(args []goja.Value, index int, defaultVal... method Require (line 108) | func (j *NucleiJS) Require(expr bool, msg string) { function NewNucleiJS (line 33) | func NewNucleiJS(vm *goja.Runtime) *NucleiJS { function LinkConstructor (line 116) | func LinkConstructor[T any](call goja.ConstructorCall, vm *goja.Runtime,... function GetStructType (line 124) | func GetStructType[T any](nj *NucleiJS, args []goja.Value, index int, Fu... function GetStructTypeSafe (line 153) | func GetStructTypeSafe[T any](nj *NucleiJS, args []goja.Value, index int... FILE: pkg/js/utils/pgwrap/pgwrap.go constant PGWrapDriver (line 18) | PGWrapDriver = "pgwrap" type pgDial (line 21) | type pgDial struct method Dial (line 25) | func (p *pgDial) Dial(network, address string) (net.Conn, error) { method DialTimeout (line 33) | func (p *pgDial) DialTimeout(network, address string, timeout time.Dur... method DialContext (line 43) | func (p *pgDial) DialContext(ctx context.Context, network, address str... type PgDriver (line 56) | type PgDriver struct method Open (line 61) | func (d PgDriver) Open(name string) (driver.Conn, error) { function init (line 76) | func init() { FILE: pkg/js/utils/util.go type SQLResult (line 10) | type SQLResult struct function UnmarshalSQLRows (line 23) | func UnmarshalSQLRows(rows *sql.Rows) (*SQLResult, error) { FILE: pkg/keys/key.go constant PDVerifier (line 6) | PDVerifier = "projectdiscovery/nuclei-templates" FILE: pkg/loader/parser/parser.go type Parser (line 7) | type Parser interface FILE: pkg/loader/workflow/workflow_loader.go type workflowLoader (line 12) | type workflowLoader struct method GetTemplatePathsByTags (line 44) | func (w *workflowLoader) GetTemplatePathsByTags(templateTags []string)... method GetTemplatePaths (line 62) | func (w *workflowLoader) GetTemplatePaths(templatesList []string, noVa... function NewLoader (line 19) | func NewLoader(options *protocols.ExecutorOptions) (model.WorkflowLoader... FILE: pkg/model/model.go type schemaMetadata (line 9) | type schemaMetadata struct type Info (line 21) | type Info struct method JSONSchemaExtend (line 98) | func (i Info) JSONSchemaExtend(base *jsonschema.Schema) { type Classification (line 121) | type Classification struct FILE: pkg/model/model_test.go function TestInfoJsonMarshal (line 14) | func TestInfoJsonMarshal(t *testing.T) { function TestInfoYamlMarshal (line 38) | func TestInfoYamlMarshal(t *testing.T) { function TestUnmarshal (line 79) | func TestUnmarshal(t *testing.T) { FILE: pkg/model/types/severity/severities.go type Severities (line 13) | type Severities method Set (line 15) | func (severities *Severities) Set(values string) error { method MarshalYAML (line 29) | func (severities Severities) MarshalYAML() (interface{}, error) { method UnmarshalYAML (line 37) | func (severities *Severities) UnmarshalYAML(unmarshal func(interface{}... method UnmarshalJSON (line 54) | func (severities *Severities) UnmarshalJSON(data []byte) error { method String (line 71) | func (severities Severities) String() string { method MarshalJSON (line 79) | func (severities Severities) MarshalJSON() ([]byte, error) { function setSeverity (line 87) | func setSeverity(severities *Severities, value string) error { FILE: pkg/model/types/severity/severity.go type Severity (line 11) | type Severity method String (line 63) | func (severity Severity) String() string { constant Undefined (line 16) | Undefined Severity = iota constant Info (line 18) | Info constant Low (line 20) | Low constant Medium (line 22) | Medium constant High (line 24) | High constant Critical (line 26) | Critical constant Unknown (line 28) | Unknown constant limit (line 29) | limit function GetSupportedSeverities (line 41) | func GetSupportedSeverities() Severities { function toSeverity (line 49) | func toSeverity(valueToMap string) (Severity, error) { function normalizeValue (line 59) | func normalizeValue(value string) string { type Holder (line 70) | type Holder struct method JSONSchema (line 75) | func (severityHolder Holder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 88) | func (severityHolder *Holder) UnmarshalYAML(unmarshal func(interface{}... method UnmarshalJSON (line 103) | func (severityHolder *Holder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 118) | func (severityHolder Holder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 122) | func (severityHolder Holder) MarshalYAML() (interface{}, error) { FILE: pkg/model/types/severity/severity_test.go function TestYamlUnmarshal (line 11) | func TestYamlUnmarshal(t *testing.T) { function TestYamlMarshal (line 15) | func TestYamlMarshal(t *testing.T) { function TestYamlUnmarshalFail (line 23) | func TestYamlUnmarshalFail(t *testing.T) { function TestGetSupportedSeverities (line 27) | func TestGetSupportedSeverities(t *testing.T) { function testUnmarshal (line 32) | func testUnmarshal(t *testing.T, unmarshaller func(data []byte, v interf... function testUnmarshalFail (line 51) | func testUnmarshalFail(t *testing.T, unmarshaller func(data []byte, v in... function unmarshal (line 56) | func unmarshal(value string, unmarshaller func(data []byte, v interface{... function createYAML (line 65) | func createYAML(value string) string { function TestMarshalJSON (line 69) | func TestMarshalJSON(t *testing.T) { function TestSeveritiesMarshalYaml (line 78) | func TestSeveritiesMarshalYaml(t *testing.T) { FILE: pkg/model/types/stringslice/stringslice.go type StringOrSlice (line 12) | type StringOrSlice method JSONSchema (line 14) | func (StringOrSlice) JSONSchema() *jsonschema.Schema { type StringSlice (line 29) | type StringSlice struct method JSONSchemaAlias (line 34) | func (stringSlice StringSlice) JSONSchemaAlias() any { method IsEmpty (line 42) | func (stringSlice *StringSlice) IsEmpty() bool { method ToSlice (line 46) | func (stringSlice StringSlice) ToSlice() []string { method String (line 59) | func (stringSlice StringSlice) String() string { method UnmarshalYAML (line 63) | func (stringSlice *StringSlice) UnmarshalYAML(unmarshal func(interface... method Normalize (line 77) | func (stringSlice StringSlice) Normalize(value string) string { method MarshalYAML (line 81) | func (stringSlice StringSlice) MarshalYAML() (interface{}, error) { method MarshalJSON (line 85) | func (stringSlice StringSlice) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 89) | func (stringSlice *StringSlice) UnmarshalJSON(data []byte) error { function New (line 38) | func New(value interface{}) StringSlice { function marshalStringToSlice (line 119) | func marshalStringToSlice(unmarshal func(interface{}) error) ([]string, ... FILE: pkg/model/types/stringslice/stringslice_raw.go type RawStringSlice (line 3) | type RawStringSlice struct method Normalize (line 11) | func (rawStringSlice *RawStringSlice) Normalize(value string) string { method UnmarshalYAML (line 15) | func (rawStringSlice *RawStringSlice) UnmarshalYAML(unmarshal func(int... method JSONSchemaAlias (line 24) | func (rawStringSlice RawStringSlice) JSONSchemaAlias() any { function NewRawStringSlice (line 7) | func NewRawStringSlice(value interface{}) *RawStringSlice { FILE: pkg/model/types/userAgent/user_agent.go type UserAgent (line 11) | type UserAgent method String (line 55) | func (userAgent UserAgent) String() string { constant Random (line 16) | Random UserAgent = iota constant Off (line 18) | Off constant Default (line 20) | Default constant Custom (line 22) | Custom constant limit (line 23) | limit function GetSupportedUserAgentOptions (line 33) | func GetSupportedUserAgentOptions() []UserAgent { function toUserAgent (line 41) | func toUserAgent(valueToMap string) (UserAgent, error) { function normalizeValue (line 51) | func normalizeValue(value string) string { type UserAgentHolder (line 60) | type UserAgentHolder struct method JSONSchema (line 64) | func (userAgentHolder UserAgentHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 76) | func (userAgentHolder *UserAgentHolder) UnmarshalYAML(unmarshal func(i... method UnmarshalJSON (line 89) | func (userAgentHolder *UserAgentHolder) UnmarshalJSON(data []byte) err... method MarshalJSON (line 103) | func (userAgentHolder *UserAgentHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 107) | func (userAgentHolder UserAgentHolder) MarshalYAML() (interface{}, err... FILE: pkg/model/workflow_loader.go type WorkflowLoader (line 6) | type WorkflowLoader interface FILE: pkg/operators/cache/cache.go function initCaches (line 22) | func initCaches() { function SetCapacities (line 29) | func SetCapacities(regexCapacity, dslCapacity int) { function Regex (line 50) | func Regex() gcache.Cache[string, *regexp.Regexp] { function DSL (line 57) | func DSL() gcache.Cache[string, *govaluate.EvaluableExpression] { FILE: pkg/operators/cache/cache_test.go function TestRegexCache_SetGet (line 10) | func TestRegexCache_SetGet(t *testing.T) { function TestDSLCache_SetGet (line 30) | func TestDSLCache_SetGet(t *testing.T) { function TestRegexCache_EvictionByCapacity (line 49) | func TestRegexCache_EvictionByCapacity(t *testing.T) { function TestSetCapacities_NoRebuildOnZero (line 69) | func TestSetCapacities_NoRebuildOnZero(t *testing.T) { function TestSetCapacities_BeforeFirstUse (line 85) | func TestSetCapacities_BeforeFirstUse(t *testing.T) { function TestSetCapacities_ConcurrentAccess (line 97) | func TestSetCapacities_ConcurrentAccess(t *testing.T) { FILE: pkg/operators/common/dsl/dsl.go function init (line 24) | func init() { type CompilationError (line 126) | type CompilationError struct method Error (line 131) | func (e *CompilationError) Error() string { method Unwrap (line 135) | func (e *CompilationError) Unwrap() error { function GetPrintableDslFunctionSignatures (line 139) | func GetPrintableDslFunctionSignatures(noColor bool) string { FILE: pkg/operators/common/dsl/dsl_test.go function TestDslExpressions (line 13) | func TestDslExpressions(t *testing.T) { function evaluateExpression (line 28) | func evaluateExpression(t *testing.T, dslExpression string) interface{} { function testDslExpressionScenariosWithDNS (line 42) | func testDslExpressionScenariosWithDNS(t *testing.T, dslExpressions map[... FILE: pkg/operators/extractors/compile.go method CompileExtractors (line 15) | func (e *Extractor) CompileExtractors() error { FILE: pkg/operators/extractors/extract.go method ExtractRegex (line 15) | func (e *Extractor) ExtractRegex(corpus string) map[string]struct{} { method ExtractKval (line 47) | func (e *Extractor) ExtractKval(data map[string]interface{}) map[string]... method ExtractXPath (line 74) | func (e *Extractor) ExtractXPath(corpus string) map[string]struct{} { method ExtractHTML (line 82) | func (e *Extractor) ExtractHTML(corpus string) map[string]struct{} { method ExtractXML (line 111) | func (e *Extractor) ExtractXML(corpus string) map[string]struct{} { method ExtractJSON (line 141) | func (e *Extractor) ExtractJSON(corpus string) map[string]struct{} { method ExtractDSL (line 177) | func (e *Extractor) ExtractDSL(data map[string]interface{}) map[string]s... FILE: pkg/operators/extractors/extract_test.go function TestExtractor_ExtractRegex (line 9) | func TestExtractor_ExtractRegex(t *testing.T) { function TestExtractor_ExtractKval (line 21) | func TestExtractor_ExtractKval(t *testing.T) { function TestExtractor_ExtractXPath (line 34) | func TestExtractor_ExtractXPath(t *testing.T) { function TestExtractor_ExtractJSON (line 68) | func TestExtractor_ExtractJSON(t *testing.T) { function TestExtractor_ExtractDSL (line 80) | func TestExtractor_ExtractDSL(t *testing.T) { FILE: pkg/operators/extractors/extractor_types.go type ExtractorType (line 12) | type ExtractorType method String (line 66) | func (t ExtractorType) String() string { constant RegexExtractor (line 17) | RegexExtractor ExtractorType = iota + 1 constant KValExtractor (line 19) | KValExtractor constant XPathExtractor (line 21) | XPathExtractor constant JSONExtractor (line 23) | JSONExtractor constant DSLExtractor (line 25) | DSLExtractor constant limit (line 26) | limit method GetType (line 39) | func (e *Extractor) GetType() ExtractorType { function GetSupportedExtractorTypes (line 44) | func GetSupportedExtractorTypes() []ExtractorType { function toExtractorTypes (line 52) | func toExtractorTypes(valueToMap string) (ExtractorType, error) { function normalizeValue (line 62) | func normalizeValue(value string) string { type ExtractorTypeHolder (line 71) | type ExtractorTypeHolder struct method JSONSchema (line 75) | func (holder ExtractorTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 87) | func (holder *ExtractorTypeHolder) UnmarshalYAML(unmarshal func(interf... method UnmarshalJSON (line 102) | func (holder *ExtractorTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 116) | func (holder *ExtractorTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 120) | func (holder ExtractorTypeHolder) MarshalYAML() (interface{}, error) { FILE: pkg/operators/extractors/extractors.go type Extractor (line 11) | type Extractor struct FILE: pkg/operators/extractors/util.go function SupportsMap (line 4) | func SupportsMap(extractor *Extractor) bool { FILE: pkg/operators/matchers/compile.go method CompileMatchers (line 15) | func (matcher *Matcher) CompileMatchers() error { method GetCondition (line 105) | func (matcher *Matcher) GetCondition() ConditionType { FILE: pkg/operators/matchers/match.go method MatchStatusCode (line 23) | func (matcher *Matcher) MatchStatusCode(statusCode int) bool { method MatchSize (line 39) | func (matcher *Matcher) MatchSize(length int) bool { method MatchWords (line 55) | func (matcher *Matcher) MatchWords(corpus string, data map[string]interf... method MatchRegex (line 105) | func (matcher *Matcher) MatchRegex(corpus string) (bool, []string) { method MatchBinary (line 159) | func (matcher *Matcher) MatchBinary(corpus string) (bool, []string) { method MatchDSL (line 190) | func (matcher *Matcher) MatchDSL(data map[string]interface{}) bool { method MatchXPath (line 249) | func (matcher *Matcher) MatchXPath(corpus string) bool { method MatchHTML (line 257) | func (matcher *Matcher) MatchHTML(corpus string) bool { method MatchXML (line 294) | func (matcher *Matcher) MatchXML(corpus string) bool { method ignoreErr (line 332) | func (m *Matcher) ignoreErr(err error) bool { FILE: pkg/operators/matchers/match_test.go function TestWordANDCondition (line 11) | func TestWordANDCondition(t *testing.T) { function TestRegexANDCondition (line 23) | func TestRegexANDCondition(t *testing.T) { function TestORCondition (line 37) | func TestORCondition(t *testing.T) { function TestRegexOrCondition (line 53) | func TestRegexOrCondition(t *testing.T) { function TestHexEncoding (line 67) | func TestHexEncoding(t *testing.T) { function TestMatcher_MatchDSL (line 77) | func TestMatcher_MatchDSL(t *testing.T) { function TestMatcher_MatchXPath_HTML (line 93) | func TestMatcher_MatchXPath_HTML(t *testing.T) { function TestMatcher_MatchXPath_XML (line 165) | func TestMatcher_MatchXPath_XML(t *testing.T) { function TestMatchRegex_CaseInsensitivePrefixSkip (line 213) | func TestMatchRegex_CaseInsensitivePrefixSkip(t *testing.T) { function TestMatchStatusCodeAndSize (line 222) | func TestMatchStatusCodeAndSize(t *testing.T) { function TestMatchBinary_AND_OR (line 233) | func TestMatchBinary_AND_OR(t *testing.T) { function TestMatchRegex_LiteralPrefixShortCircuit (line 247) | func TestMatchRegex_LiteralPrefixShortCircuit(t *testing.T) { function TestMatcher_MatchDSL_ErrorHandling (line 263) | func TestMatcher_MatchDSL_ErrorHandling(t *testing.T) { FILE: pkg/operators/matchers/matchers.go type Matcher (line 10) | type Matcher struct method Result (line 157) | func (matcher *Matcher) Result(data bool) bool { method ResultWithMatchedSnippet (line 165) | func (matcher *Matcher) ResultWithMatchedSnippet(data bool, matchedSni... type ConditionType (line 141) | type ConditionType constant ANDCondition (line 145) | ANDCondition ConditionType = iota + 1 constant ORCondition (line 147) | ORCondition FILE: pkg/operators/matchers/matchers_types.go type MatcherType (line 12) | type MatcherType method String (line 72) | func (t MatcherType) String() string { constant WordsMatcher (line 17) | WordsMatcher MatcherType = iota + 1 constant RegexMatcher (line 19) | RegexMatcher constant BinaryMatcher (line 21) | BinaryMatcher constant StatusMatcher (line 23) | StatusMatcher constant SizeMatcher (line 25) | SizeMatcher constant DSLMatcher (line 27) | DSLMatcher constant XPathMatcher (line 29) | XPathMatcher constant limit (line 30) | limit method GetType (line 45) | func (matcher *Matcher) GetType() MatcherType { function GetSupportedMatcherTypes (line 50) | func GetSupportedMatcherTypes() []MatcherType { function toMatcherTypes (line 58) | func toMatcherTypes(valueToMap string) (MatcherType, error) { function normalizeValue (line 68) | func normalizeValue(value string) string { type MatcherTypeHolder (line 77) | type MatcherTypeHolder struct method String (line 81) | func (t MatcherTypeHolder) String() string { method JSONSchema (line 85) | func (holder MatcherTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 97) | func (holder *MatcherTypeHolder) UnmarshalYAML(unmarshal func(interfac... method UnmarshalJSON (line 112) | func (holder *MatcherTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 126) | func (holder MatcherTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 130) | func (holder MatcherTypeHolder) MarshalYAML() (interface{}, error) { FILE: pkg/operators/matchers/validate.go method Validate (line 16) | func (matcher *Matcher) Validate() error { function checkFields (line 68) | func checkFields(m *Matcher, matcherMap map[string]interface{}, expected... function getFieldNameFromYamlTag (line 86) | func getFieldNameFromYamlTag(tagName string, object interface{}) (string... FILE: pkg/operators/matchers/validate_test.go function TestValidate (line 9) | func TestValidate(t *testing.T) { FILE: pkg/operators/operators.go type Operators (line 19) | type Operators struct method Compile (line 48) | func (operators *Operators) Compile() error { method HasDSL (line 68) | func (operators *Operators) HasDSL() bool { method GetMatchersCondition (line 85) | func (operators *Operators) GetMatchersCondition() matchers.ConditionT... method Execute (line 232) | func (operators *Operators) Execute(data map[string]interface{}, match... method ExecuteInternalExtractors (line 359) | func (operators *Operators) ExecuteInternalExtractors(data map[string]... method IsEmpty (line 377) | func (operators *Operators) IsEmpty() bool { method Len (line 382) | func (operators *Operators) Len() int { type Result (line 90) | type Result struct method HasMatch (line 114) | func (result *Result) HasMatch(name string) bool { method HasExtract (line 118) | func (result *Result) HasExtract(name string) bool { method hasItem (line 122) | func (result *Result) hasItem(name string, m map[string][]string) bool { method Merge (line 185) | func (r *Result) Merge(result *Result) { function MakeDynamicValuesCallback (line 134) | func MakeDynamicValuesCallback(input map[string][]string, iterateAllValu... type MatchFunc (line 226) | type MatchFunc type ExtractFunc (line 229) | type ExtractFunc function GetMatcherName (line 350) | func GetMatcherName(matcher *matchers.Matcher, matcherIndex int) string { function getExtractedValue (line 388) | func getExtractedValue(values []string) any { function EvalBoolSlice (line 397) | func EvalBoolSlice(slice []bool, isAnd bool) bool { FILE: pkg/operators/operators_test.go function TestMakeDynamicValuesCallback (line 9) | func TestMakeDynamicValuesCallback(t *testing.T) { FILE: pkg/output/file_output_writer.go type fileWriter (line 9) | type fileWriter struct method Write (line 30) | func (w *fileWriter) Write(data []byte) (int, error) { method Close (line 43) | func (w *fileWriter) Close() error { function newFileOutputWriter (line 15) | func newFileOutputWriter(file string, resume bool) (*fileWriter, error) { FILE: pkg/output/format_json.go method formatJSON (line 8) | func (w *StandardWriter) formatJSON(output *ResultEvent) ([]byte, error) { FILE: pkg/output/format_screen.go method formatScreen (line 13) | func (w *StandardWriter) formatScreen(output *ResultEvent) []byte { FILE: pkg/output/multi_writer.go type MultiWriter (line 7) | type MultiWriter struct method Close (line 18) | func (mw *MultiWriter) Close() { method Colorizer (line 24) | func (mw *MultiWriter) Colorizer() aurora.Aurora { method Write (line 33) | func (mw *MultiWriter) Write(event *ResultEvent) error { method WriteFailure (line 42) | func (mw *MultiWriter) WriteFailure(event *InternalWrappedEvent) error { method Request (line 51) | func (mw *MultiWriter) Request(templateID, url, requestType string, er... method WriteStoreDebugData (line 57) | func (mw *MultiWriter) WriteStoreDebugData(host, templateID, eventType... method RequestStatsLog (line 63) | func (mw *MultiWriter) RequestStatsLog(statusCode, response string) { method ResultCount (line 69) | func (mw *MultiWriter) ResultCount() int { function NewMultiWriter (line 14) | func NewMultiWriter(writers ...Writer) *MultiWriter { FILE: pkg/output/output.go type Writer (line 42) | type Writer interface type StandardWriter (line 62) | type StandardWriter struct method ResultCount (line 292) | func (w *StandardWriter) ResultCount() int { method Write (line 297) | func (w *StandardWriter) Write(event *ResultEvent) error { method Request (line 374) | func (w *StandardWriter) Request(templatePath, input, requestType stri... method Colorizer (line 450) | func (w *StandardWriter) Colorizer() aurora.Aurora { method Close (line 455) | func (w *StandardWriter) Close() { method WriteFailure (line 468) | func (w *StandardWriter) WriteFailure(wrappedEvent *InternalWrappedEve... method encodeTemplate (line 527) | func (w *StandardWriter) encodeTemplate(templatePath string) string { method WriteStoreDebugData (line 548) | func (w *StandardWriter) WriteStoreDebugData(host, templateID, eventTy... method RequestStatsLog (line 594) | func (w *StandardWriter) RequestStatsLog(statusCode, response string) {} type InternalEvent (line 93) | type InternalEvent method Set (line 95) | func (ie InternalEvent) Set(k string, v interface{}) { type InternalWrappedEvent (line 100) | type InternalWrappedEvent struct method CloneShallow (line 115) | func (iwe *InternalWrappedEvent) CloneShallow() *InternalWrappedEvent { method HasOperatorResult (line 124) | func (iwe *InternalWrappedEvent) HasOperatorResult() bool { method HasResults (line 131) | func (iwe *InternalWrappedEvent) HasResults() bool { method SetOperatorResult (line 138) | func (iwe *InternalWrappedEvent) SetOperatorResult(operatorResult *ope... type ResultEvent (line 146) | type ResultEvent struct type IssueTrackerMetadata (line 223) | type IssueTrackerMetadata struct function NewStandardWriter (line 231) | func NewStandardWriter(options *types.Options) (*StandardWriter, error) { function redactKeys (line 353) | func redactKeys(data string, keysToRedact []string) string { type JSONLogRequest (line 362) | type JSONLogRequest struct function getJSONLogRequestFromError (line 402) | func getJSONLogRequestFromError(templatePath, input, requestType string,... function sanitizeFileName (line 535) | func sanitizeFileName(fileName string) string { function tryParseCause (line 576) | func tryParseCause(err error) error { FILE: pkg/output/output_stats.go type StatsOutputWriter (line 9) | type StatsOutputWriter struct method Close (line 24) | func (tw *StatsOutputWriter) Close() {} method Colorizer (line 26) | func (tw *StatsOutputWriter) Colorizer() aurora.Aurora { method Write (line 30) | func (tw *StatsOutputWriter) Write(event *ResultEvent) error { method WriteFailure (line 34) | func (tw *StatsOutputWriter) WriteFailure(event *InternalWrappedEvent)... method Request (line 38) | func (tw *StatsOutputWriter) Request(templateID, url, requestType stri... method WriteStoreDebugData (line 46) | func (tw *StatsOutputWriter) WriteStoreDebugData(host, templateID, eve... method RequestStatsLog (line 48) | func (tw *StatsOutputWriter) RequestStatsLog(statusCode, response stri... method ResultCount (line 52) | func (tw *StatsOutputWriter) ResultCount() int { function NewTrackerWriter (line 17) | func NewTrackerWriter(t *stats.Tracker) *StatsOutputWriter { FILE: pkg/output/output_test.go function TestStandardWriterRequest (line 13) | func TestStandardWriterRequest(t *testing.T) { type testWriteCloser (line 54) | type testWriteCloser struct method Close (line 58) | func (w testWriteCloser) Close() error { FILE: pkg/output/standard_writer.go type WriterOptions (line 14) | type WriterOptions function WithJson (line 17) | func WithJson(json bool, dumpReqResp bool) WriterOptions { function WithTimestamp (line 26) | func WithTimestamp(timestamp bool) WriterOptions { function WithNoMetadata (line 34) | func WithNoMetadata(noMetadata bool) WriterOptions { function WithMatcherStatus (line 42) | func WithMatcherStatus(matcherStatus bool) WriterOptions { function WithAurora (line 50) | func WithAurora(aurora aurora.Aurora) WriterOptions { function WithWriter (line 58) | func WithWriter(outputFile io.WriteCloser) WriterOptions { function WithTraceSink (line 66) | func WithTraceSink(traceFile io.WriteCloser) WriterOptions { function WithErrorSink (line 74) | func WithErrorSink(errorFile io.WriteCloser) WriterOptions { function WithSeverityColors (line 82) | func WithSeverityColors(severityColors func(severity.Severity) string) W... function WithStoreResponse (line 90) | func WithStoreResponse(storeResponse bool, respDir string) WriterOptions { function NewWriter (line 100) | func NewWriter(opts ...WriterOptions) (*StandardWriter, error) { FILE: pkg/output/stats/stats.go type Tracker (line 20) | type Tracker struct method TrackStatusCode (line 41) | func (t *Tracker) TrackStatusCode(statusCode string) { method TrackErrorKind (line 46) | func (t *Tracker) TrackErrorKind(errKind string) { method TrackWAFDetected (line 54) | func (t *Tracker) TrackWAFDetected(httpResponse string) { method incrementCounter (line 63) | func (t *Tracker) incrementCounter(m *mapsutil.SyncLockMap[string, *at... method GetStats (line 79) | func (t *Tracker) GetStats() *StatsOutput { method DisplayTopStats (line 105) | func (t *Tracker) DisplayTopStats(noColor bool) { function NewTracker (line 31) | func NewTracker() *Tracker { type StatsOutput (line 73) | type StatsOutput struct type kv (line 146) | type kv struct function getTopN (line 152) | func getTopN(m map[string]int, n int) []kv { function getStatusCodeColor (line 169) | func getStatusCodeColor(statusCode string) aurora.Color { FILE: pkg/output/stats/stats_test.go function TestTrackErrorKind (line 7) | func TestTrackErrorKind(t *testing.T) { function TestTrackWaf_Detect (line 29) | func TestTrackWaf_Detect(t *testing.T) { FILE: pkg/output/stats/waf/waf.go type WafDetector (line 10) | type WafDetector struct method DetectWAF (line 55) | func (d *WafDetector) DetectWAF(content string) (string, bool) { method GetWAF (line 68) | func (d *WafDetector) GetWAF(id string) (waf, bool) { type waf (line 16) | type waf struct type wafData (line 23) | type wafData struct function NewWafDetector (line 30) | func NewWafDetector() *WafDetector { FILE: pkg/output/stats/waf/waf_test.go function TestWAFDetection (line 8) | func TestWAFDetection(t *testing.T) { function TestWAFDetectionNilPointerSafety (line 65) | func TestWAFDetectionNilPointerSafety(t *testing.T) { FILE: pkg/progress/progress.go type Progress (line 17) | type Progress interface type StatsTicker (line 40) | type StatsTicker struct method Init (line 80) | func (p *StatsTicker) Init(hostCount int64, rulesCount int, requestCou... method AddToTotal (line 112) | func (p *StatsTicker) AddToTotal(delta int64) { method IncrementRequests (line 117) | func (p *StatsTicker) IncrementRequests() { method SetRequests (line 122) | func (p *StatsTicker) SetRequests(count uint64) { method IncrementMatched (line 127) | func (p *StatsTicker) IncrementMatched() { method IncrementErrorsBy (line 132) | func (p *StatsTicker) IncrementErrorsBy(count int64) { method IncrementFailedRequestsBy (line 137) | func (p *StatsTicker) IncrementFailedRequestsBy(count int64) { method makePrintCallback (line 143) | func (p *StatsTicker) makePrintCallback() func(stats clistats.Statisti... method Stop (line 267) | func (p *StatsTicker) Stop() { function NewStatsTicker (line 49) | func NewStatsTicker(duration int, active, outputJSON, cloud bool, port i... function printCallbackJSON (line 211) | func printCallbackJSON(stats clistats.StatisticsClient) interface{} { function metricsMap (line 219) | func metricsMap(stats clistats.StatisticsClient) map[string]interface{} { function fmtDuration (line 256) | func fmtDuration(d time.Duration) string { FILE: pkg/projectfile/httputil.go function hash (line 13) | func hash(v interface{}) (string, error) { function marshal (line 27) | func marshal(data interface{}) ([]byte, error) { function unmarshal (line 37) | func unmarshal(data []byte, obj interface{}) error { type HTTPRecord (line 46) | type HTTPRecord struct type InternalRequest (line 51) | type InternalRequest struct type InternalResponse (line 60) | type InternalResponse struct function newInternalResponse (line 76) | func newInternalResponse() *InternalResponse { function toInternalResponse (line 82) | func toInternalResponse(resp *http.Response, body []byte) *InternalRespo... function fromInternalResponse (line 94) | func fromInternalResponse(intResp *InternalResponse) *http.Response { FILE: pkg/projectfile/project.go type Options (line 18) | type Options struct type ProjectFile (line 23) | type ProjectFile struct method cleanupData (line 42) | func (pf *ProjectFile) cleanupData(data []byte) []byte { method Get (line 49) | func (pf *ProjectFile) Get(req []byte) (*http.Response, error) { method Set (line 69) | func (pf *ProjectFile) Set(req []byte, resp *http.Response, data []byt... method Close (line 86) | func (pf *ProjectFile) Close() { function New (line 28) | func New(options *Options) (*ProjectFile, error) { FILE: pkg/protocols/code/code.go constant pythonEnvRegex (line 39) | pythonEnvRegex = `os\.getenv\(['"]([^'"]+)['"]\)` type Sandbox (line 49) | type Sandbox struct type Request (line 55) | type Request struct method Compile (line 86) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Requests (line 170) | func (request *Request) Requests() int { method GetID (line 175) | func (request *Request) GetID() string { method ExecuteWithResults (line 180) | func (request *Request) ExecuteWithResults(input *contextargs.Context,... method Match (line 378) | func (request *Request) Match(data map[string]interface{}, matcher *ma... method Extract (line 383) | func (request *Request) Extract(data map[string]interface{}, matcher *... method MakeResultEvent (line 388) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappe... method GetCompiledOperators (line 393) | func (request *Request) GetCompiledOperators() []*operators.Operators { method Type (line 398) | func (request *Request) Type() templateTypes.ProtocolType { method MakeResultEventItem (line 402) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWr... method UpdateOptions (line 475) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { method useSandbox (line 479) | func (r *Request) useSandbox() bool { function fmtStdout (line 429) | func fmtStdout(data string) string { function interpretEnvVars (line 434) | func interpretEnvVars(source string, vars map[string]interface{}) string { function beautifyJavascript (line 454) | func beautifyJavascript(code string) string { function prettyPrint (line 463) | func prettyPrint(templateId string, buff string) { FILE: pkg/protocols/code/code_test.go function TestCodeProtocol (line 18) | func TestCodeProtocol(t *testing.T) { FILE: pkg/protocols/code/helpers.go function registerPreConditionFunctions (line 12) | func registerPreConditionFunctions(runtime *goja.Runtime) error { function cleanUpPreConditionFunctions (line 255) | func cleanUpPreConditionFunctions(runtime *goja.Runtime) { FILE: pkg/protocols/common/automaticscan/automaticscan.go constant mappingFilename (line 41) | mappingFilename = "wappalyzer-mapping.yml" constant maxDefaultBody (line 42) | maxDefaultBody = 4 * unitutils.Mega type Options (line 46) | type Options struct type Service (line 54) | type Service struct method Close (line 122) | func (s *Service) Close() bool { method Execute (line 127) | func (s *Service) Execute() error { method executeAutomaticScanOnTarget (line 147) | func (s *Service) executeAutomaticScanOnTarget(input *contextargs.Meta... method getTagsUsingWappalyzer (line 197) | func (s *Service) getTagsUsingWappalyzer(input *contextargs.MetaInput)... method getTagsUsingDetectionTemplates (line 247) | func (s *Service) getTagsUsingDetectionTemplates(input *contextargs.Me... function New (line 69) | func New(opts Options) (*Service, error) { function normalizeAppName (line 316) | func normalizeAppName(appName string) string { FILE: pkg/protocols/common/automaticscan/automaticscan_test.go function TestNormalizeAppName (line 9) | func TestNormalizeAppName(t *testing.T) { FILE: pkg/protocols/common/automaticscan/util.go function getTemplateDirs (line 16) | func getTemplateDirs(opts Options) ([]string, error) { function LoadTemplatesWithTags (line 39) | func LoadTemplatesWithTags(opts Options, templateDirs []string, tags []s... function getRequestCount (line 72) | func getRequestCount(templates []*templates.Template) int { FILE: pkg/protocols/common/contextargs/contextargs.go type Context (line 22) | type Context struct method Context (line 67) | func (ctx *Context) Context() context.Context { method Set (line 72) | func (ctx *Context) Set(key string, value interface{}) { method hasArgs (line 76) | func (ctx *Context) hasArgs() bool { method Merge (line 81) | func (ctx *Context) Merge(args map[string]interface{}) { method Add (line 86) | func (ctx *Context) Add(key string, v interface{}) { method UseNetworkPort (line 112) | func (ctx *Context) UseNetworkPort(port string, excludePorts string) e... method Port (line 136) | func (ctx *Context) Port() string { method Get (line 145) | func (ctx *Context) Get(key string) (interface{}, bool) { method GetAll (line 153) | func (ctx *Context) GetAll() map[string]interface{} { method ForEach (line 161) | func (ctx *Context) ForEach(f func(string, interface{})) { method Has (line 169) | func (ctx *Context) Has(key string) bool { method HasArgs (line 173) | func (ctx *Context) HasArgs() bool { method Clone (line 177) | func (ctx *Context) Clone() *Context { function New (line 36) | func New(ctx context.Context) *Context { function NewWithMetaInput (line 41) | func NewWithMetaInput(ctx context.Context, input *MetaInput) *Context { function NewWithInput (line 48) | func NewWithInput(ctx context.Context, input string) *Context { function GetCopyIfHostOutdated (line 188) | func GetCopyIfHostOutdated(ctx *Context, url string) *Context { FILE: pkg/protocols/common/contextargs/metainput.go type MetaInput (line 18) | type MetaInput struct method marshalToBuffer (line 36) | func (metaInput *MetaInput) marshalToBuffer() (bytes.Buffer, error) { method Target (line 43) | func (metaInput *MetaInput) Target() string { method URL (line 51) | func (metaInput *MetaInput) URL() (*urlutil.URL, error) { method Port (line 61) | func (metaInput *MetaInput) Port() string { method Address (line 73) | func (metaInput *MetaInput) Address() string { method ID (line 110) | func (metaInput *MetaInput) ID() string { method MarshalString (line 120) | func (metaInput *MetaInput) MarshalString() (string, error) { method MustMarshalString (line 125) | func (metaInput *MetaInput) MustMarshalString() string { method MarshalBytes (line 130) | func (metaInput *MetaInput) MarshalBytes() ([]byte, error) { method MustMarshalBytes (line 135) | func (metaInput *MetaInput) MustMarshalBytes() []byte { method Unmarshal (line 140) | func (metaInput *MetaInput) Unmarshal(data string) error { method Clone (line 144) | func (metaInput *MetaInput) Clone() *MetaInput { method PrettyPrint (line 158) | func (metaInput *MetaInput) PrettyPrint() string { method GetScanHash (line 169) | func (metaInput *MetaInput) GetScanHash(templateId string) string { function NewMetaInput (line 32) | func NewMetaInput() *MetaInput { function getMd5Hash (line 186) | func getMd5Hash(data string) string { FILE: pkg/protocols/common/contextargs/variables.go function GenerateVariables (line 4) | func GenerateVariables(ctx *Context) map[string]interface{} { FILE: pkg/protocols/common/expressions/expressions.go function Eval (line 16) | func Eval(expression string, values map[string]interface{}) (interface{}... function Evaluate (line 30) | func Evaluate(data string, base map[string]interface{}) (string, error) { function EvaluateByte (line 40) | func EvaluateByte(data []byte, base map[string]interface{}) ([]byte, err... function evaluate (line 45) | func evaluate(data string, base map[string]interface{}) (string, error) { constant maxIterations (line 83) | maxIterations = 250 function FindExpressions (line 85) | func FindExpressions(data, OpenMarker, CloseMarker string, base map[stri... function isExpression (line 140) | func isExpression(data string, base map[string]interface{}) bool { function unresolvedVarMarkers (line 155) | func unresolvedVarMarkers(vars []string, base map[string]any) string { function getFunctionsNames (line 184) | func getFunctionsNames(m map[string]interface{}) []string { FILE: pkg/protocols/common/expressions/expressions_test.go function TestEvaluate (line 9) | func TestEvaluate(t *testing.T) { function TestEval (line 50) | func TestEval(t *testing.T) { function TestEvaluateDoesNotReinterpretResolvedValues (line 66) | func TestEvaluateDoesNotReinterpretResolvedValues(t *testing.T) { FILE: pkg/protocols/common/expressions/variables.go function ContainsUnresolvedVariables (line 19) | func ContainsUnresolvedVariables(items ...string) error { function ContainsVariablesWithNames (line 50) | func ContainsVariablesWithNames(names map[string]interface{}, items ...s... function ContainsVariablesWithIgnoreList (line 84) | func ContainsVariablesWithIgnoreList(skipNames map[string]interface{}, i... function hasLiteralsOnly (line 118) | func hasLiteralsOnly(data string) bool { FILE: pkg/protocols/common/expressions/variables_test.go function TestUnresolvedVariablesCheck (line 10) | func TestUnresolvedVariablesCheck(t *testing.T) { FILE: pkg/protocols/common/generators/attack_types.go type AttackType (line 12) | type AttackType method String (line 55) | func (t AttackType) String() string { constant BatteringRamAttack (line 18) | BatteringRamAttack AttackType = iota + 1 constant PitchForkAttack (line 20) | PitchForkAttack constant ClusterBombAttack (line 22) | ClusterBombAttack constant limit (line 23) | limit function GetSupportedAttackTypes (line 33) | func GetSupportedAttackTypes() []AttackType { function toAttackType (line 41) | func toAttackType(valueToMap string) (AttackType, error) { function normalizeValue (line 51) | func normalizeValue(value string) string { type AttackTypeHolder (line 60) | type AttackTypeHolder struct method JSONSchema (line 64) | func (holder AttackTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 76) | func (holder *AttackTypeHolder) UnmarshalYAML(unmarshal func(interface... method UnmarshalJSON (line 91) | func (holder *AttackTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 105) | func (holder *AttackTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 109) | func (holder AttackTypeHolder) MarshalYAML() (interface{}, error) { FILE: pkg/protocols/common/generators/attack_types_test.go function TestAttackTypeHelpers (line 5) | func TestAttackTypeHelpers(t *testing.T) { FILE: pkg/protocols/common/generators/env.go function parseEnvVars (line 11) | func parseEnvVars() map[string]interface{} { function EnvVars (line 23) | func EnvVars() map[string]interface{} { FILE: pkg/protocols/common/generators/env_test.go function TestParseEnvVars (line 8) | func TestParseEnvVars(t *testing.T) { function TestEnvVarsMemoization (line 26) | func TestEnvVarsMemoization(t *testing.T) { FILE: pkg/protocols/common/generators/generators.go type PayloadGenerator (line 15) | type PayloadGenerator struct method NewIterator (line 135) | func (g *PayloadGenerator) NewIterator() *Iterator { function New (line 23) | func New(payloads map[string]interface{}, attackType AttackType, templat... type aggressionLevelToPayloads (line 71) | type aggressionLevelToPayloads struct function parsePayloadsWithAggression (line 87) | func parsePayloadsWithAggression(name string, v map[interface{}]interfac... type Iterator (line 126) | type Iterator struct method Reset (line 150) | func (i *Iterator) Reset() { method Remaining (line 160) | func (i *Iterator) Remaining() int { method Total (line 165) | func (i *Iterator) Total() int { method Value (line 189) | func (i *Iterator) Value() (map[string]interface{}, bool) { method batteringRamValue (line 203) | func (i *Iterator) batteringRamValue() (map[string]interface{}, bool) { method pitchforkValue (line 222) | func (i *Iterator) pitchforkValue() (map[string]interface{}, bool) { method clusterbombValue (line 237) | func (i *Iterator) clusterbombValue() (map[string]interface{}, bool) { method clusterbombIteratorReset (line 273) | func (i *Iterator) clusterbombIteratorReset() { type payloadIterator (line 285) | type payloadIterator struct method next (line 292) | func (i *payloadIterator) next() bool { method resetPosition (line 297) | func (i *payloadIterator) resetPosition() { method incrementPosition (line 302) | func (i *payloadIterator) incrementPosition() { method value (line 307) | func (i *payloadIterator) value() string { FILE: pkg/protocols/common/generators/generators_test.go function TestBatteringRamGenerator (line 14) | func TestBatteringRamGenerator(t *testing.T) { function TestPitchforkGenerator (line 33) | func TestPitchforkGenerator(t *testing.T) { function TestClusterbombGenerator (line 55) | func TestClusterbombGenerator(t *testing.T) { function getOptions (line 90) | func getOptions(allowLocalFileAccess bool) *types.Options { function TestParsePayloadsWithAggression (line 96) | func TestParsePayloadsWithAggression(t *testing.T) { FILE: pkg/protocols/common/generators/load.go method loadPayloads (line 14) | func (generator *PayloadGenerator) loadPayloads(payloads map[string]inte... method loadPayloadsFromFile (line 57) | func (generator *PayloadGenerator) loadPayloadsFromFile(file io.ReadClos... FILE: pkg/protocols/common/generators/load_test.go type fakeCatalog (line 13) | type fakeCatalog struct method OpenFile (line 15) | func (f *fakeCatalog) OpenFile(filename string) (io.ReadCloser, error) { method GetTemplatePath (line 18) | func (f *fakeCatalog) GetTemplatePath(target string) ([]string, error)... method GetTemplatesPath (line 19) | func (f *fakeCatalog) GetTemplatesPath(definitions []string) ([]string... method ResolvePath (line 22) | func (f *fakeCatalog) ResolvePath(templateName, second string) (string... function newTestGenerator (line 26) | func newTestGenerator() *PayloadGenerator { function TestLoadPayloads_FastPathFile (line 40) | func TestLoadPayloads_FastPathFile(t *testing.T) { function TestLoadPayloads_InlineMultiline (line 52) | func TestLoadPayloads_InlineMultiline(t *testing.T) { function TestLoadPayloads_SingleLineFallsBackToFile (line 65) | func TestLoadPayloads_SingleLineFallsBackToFile(t *testing.T) { function TestLoadPayloads_InterfaceSlice (line 78) | func TestLoadPayloads_InterfaceSlice(t *testing.T) { function TestLoadPayloadsFromFile_SkipsEmpty (line 90) | func TestLoadPayloadsFromFile_SkipsEmpty(t *testing.T) { function TestValidate_AllowsInlineMultiline (line 102) | func TestValidate_AllowsInlineMultiline(t *testing.T) { FILE: pkg/protocols/common/generators/maps.go function MergeMapsMany (line 9) | func MergeMapsMany(maps ...interface{}) map[string][]string { function MergeMaps (line 51) | func MergeMaps(maps ...map[string]interface{}) map[string]interface{} { function CopyMap (line 66) | func CopyMap(m map[string]interface{}) map[string]interface{} { function MergeMapsInto (line 80) | func MergeMapsInto(dst map[string]interface{}, srcs ...map[string]interf... function ExpandMapValues (line 87) | func ExpandMapValues(m map[string]string) map[string][]string { FILE: pkg/protocols/common/generators/maps_bench_test.go function BenchmarkMergeMaps (line 8) | func BenchmarkMergeMaps(b *testing.B) { function BenchmarkCopyMap (line 46) | func BenchmarkCopyMap(b *testing.B) { function BenchmarkMergeMapsInto (line 68) | func BenchmarkMergeMapsInto(b *testing.B) { FILE: pkg/protocols/common/generators/maps_test.go function TestMergeMapsMany (line 9) | func TestMergeMapsMany(t *testing.T) { function TestMergeMapsAndExpand (line 18) | func TestMergeMapsAndExpand(t *testing.T) { function TestIteratorRemaining (line 32) | func TestIteratorRemaining(t *testing.T) { FILE: pkg/protocols/common/generators/options.go function BuildPayloadFromOptions (line 19) | func BuildPayloadFromOptions(options *types.Options) map[string]interfac... function ClearOptionsPayloadMap (line 49) | func ClearOptionsPayloadMap(options *types.Options) { FILE: pkg/protocols/common/generators/options_bench_test.go function BenchmarkBuildPayloadFromOptions (line 10) | func BenchmarkBuildPayloadFromOptions(b *testing.B) { FILE: pkg/protocols/common/generators/options_test.go function TestBuildPayloadFromOptionsConcurrency (line 12) | func TestBuildPayloadFromOptionsConcurrency(t *testing.T) { function TestBuildPayloadFromOptionsCaching (line 46) | func TestBuildPayloadFromOptionsCaching(t *testing.T) { function TestClearOptionsPayloadMap (line 74) | func TestClearOptionsPayloadMap(t *testing.T) { FILE: pkg/protocols/common/generators/slice.go function SliceToMap (line 6) | func SliceToMap(s []string, sep string) map[string]interface{} { FILE: pkg/protocols/common/generators/validate.go method validate (line 15) | func (g *PayloadGenerator) validate(payloads map[string]interface{}, tem... FILE: pkg/protocols/common/globalmatchers/globalmatchers.go type Storage (line 12) | type Storage struct method hasStorage (line 35) | func (s *Storage) hasStorage() bool { method AddOperator (line 40) | func (s *Storage) AddOperator(item *Item) { method HasMatchers (line 49) | func (s *Storage) HasMatchers() bool { method Match (line 58) | func (s *Storage) Match( type Callback (line 18) | type Callback type Item (line 22) | type Item struct function New (line 30) | func New() *Storage { FILE: pkg/protocols/common/helpers/deserialization/helpers.go function InsertInto (line 5) | func InsertInto(s string, interval int, sep rune) string { FILE: pkg/protocols/common/helpers/deserialization/java.go function GenerateJavaGadget (line 17) | func GenerateJavaGadget(gadget, cmd, encoding string) string { function gadgetEncodingHelper (line 44) | func gadgetEncodingHelper(returnData []byte, encoding string) string { function urlsafeBase64Encode (line 73) | func urlsafeBase64Encode(data []byte) string { function generateCommonsCollections40Payload (line 79) | func generateCommonsCollections40Payload(cmd string) []byte { function generateCommonsCollections31Payload (line 94) | func generateCommonsCollections31Payload(cmd string) []byte { function generateGroovy1Payload (line 109) | func generateGroovy1Payload(cmd string) []byte { function generateDNSPayload (line 124) | func generateDNSPayload(URL string) []byte { function generatejdk7u21Payload (line 154) | func generatejdk7u21Payload(url string) []byte { function generatejdk8u20Payload (line 171) | func generatejdk8u20Payload(url string) []byte { FILE: pkg/protocols/common/helpers/deserialization/testdata/Deserialize.java class Deserialize (line 3) | class Deserialize { method main (line 4) | public static void main(String args[]) { FILE: pkg/protocols/common/helpers/deserialization/testdata/ValueObject.java class ValueObject (line 3) | public class ValueObject implements Serializable { method ValueObject (line 7) | public ValueObject() { method ValueObject (line 11) | public ValueObject(String value) { FILE: pkg/protocols/common/helpers/eventcreator/eventcreator.go function CreateEvent (line 14) | func CreateEvent(request protocols.Request, outputEvent output.InternalE... function CreateEventWithAdditionalOptions (line 20) | func CreateEventWithAdditionalOptions(request protocols.Request, outputE... function CreateEventWithOperatorResults (line 52) | func CreateEventWithOperatorResults(request protocols.Request, internalE... FILE: pkg/protocols/common/helpers/responsehighlighter/hexdump.go type HighlightableHexDump (line 21) | type HighlightableHexDump struct method len (line 31) | func (hexDump HighlightableHexDump) len() int { method String (line 35) | func (hexDump HighlightableHexDump) String() string { method highlight (line 61) | func (hexDump HighlightableHexDump) highlight(snippetToColor string) H... function NewHighlightableHexDump (line 27) | func NewHighlightableHexDump(rowSize int) HighlightableHexDump { function toHighLightedHexDump (line 43) | func toHighLightedHexDump(hexDump, snippetToHighlight string) (Highlight... function highlightHexSection (line 65) | func highlightHexSection(hexDump HighlightableHexDump, snippetToColor st... function highlightAsciiSection (line 78) | func highlightAsciiSection(hexDump HighlightableHexDump, snippetToColor ... function highlight (line 100) | func highlight(values []string, snippetCharactersMatchPattern string, re... function HasBinaryContent (line 115) | func HasBinaryContent(input string) bool { function IsASCII (line 120) | func IsASCII(input string) bool { function IsASCIIPrintable (line 129) | func IsASCIIPrintable(input rune) bool { FILE: pkg/protocols/common/helpers/responsehighlighter/response_highlighter.go function Highlight (line 15) | func Highlight(operatorResult *operators.Result, response string, noColo... function highlightASCII (line 33) | func highlightASCII(currentMatch string, result string) string { function getSortedMatches (line 42) | func getSortedMatches(operatorResult *operators.Result) []string { function CreateStatusCodeSnippet (line 54) | func CreateStatusCodeSnippet(response string, statusCode int) string { function addColor (line 62) | func addColor(value string) string { FILE: pkg/protocols/common/helpers/responsehighlighter/response_highlighter_test.go constant input (line 11) | input = "abcdefghijklmnabcdefghijklmnabcdefghijklmnabcdefghijklmnabcdefg... function TestHexDumpHighlighting (line 13) | func TestHexDumpHighlighting(t *testing.T) { function TestHighlight (line 43) | func TestHighlight(t *testing.T) { function TestMultiSubstringMatchHighlight (line 91) | func TestMultiSubstringMatchHighlight(t *testing.T) { FILE: pkg/protocols/common/helpers/writer/writer.go function WriteResult (line 11) | func WriteResult(data *output.InternalWrappedEvent, output output.Writer... FILE: pkg/protocols/common/hosterrorscache/hosterrorscache.go type CacheInterface (line 23) | type CacheInterface interface type Cache (line 42) | type Cache struct method SetVerbose (line 71) | func (c *Cache) SetVerbose(verbose bool) { method Close (line 76) | func (c *Cache) Close() { method NormalizeCacheValue (line 88) | func (c *Cache) NormalizeCacheValue(value string) string { method Check (line 129) | func (c *Cache) Check(protoType string, ctx *contextargs.Context) bool { method Remove (line 158) | func (c *Cache) Remove(ctx *contextargs.Context) { method MarkFailed (line 166) | func (c *Cache) MarkFailed(protoType string, ctx *contextargs.Context,... method MarkFailedOrRemove (line 175) | func (c *Cache) MarkFailedOrRemove(protoType string, ctx *contextargs.... method IsPermanentErr (line 238) | func (c *Cache) IsPermanentErr(ctx *contextargs.Context, err error) bo... method GetKeyFromContext (line 260) | func (c *Cache) GetKeyFromContext(ctx *contextargs.Context, err error)... method checkError (line 289) | func (c *Cache) checkError(protoType string, err error) bool { type cacheItem (line 49) | type cacheItem struct constant DefaultMaxHostsCount (line 57) | DefaultMaxHostsCount = 10000 function New (line 60) | func New(maxHostError, maxHostsCount int, trackError []string) *Cache { FILE: pkg/protocols/common/hosterrorscache/hosterrorscache_test.go constant protoType (line 15) | protoType = "http" function TestCacheCheck (line 18) | func TestCacheCheck(t *testing.T) { function TestTrackErrors (line 49) | func TestTrackErrors(t *testing.T) { function TestCacheItemDo (line 67) | func TestCacheItemDo(t *testing.T) { function TestRemove (line 89) | func TestRemove(t *testing.T) { function TestCacheMarkFailed (line 103) | func TestCacheMarkFailed(t *testing.T) { function TestCacheMarkFailedConcurrent (line 128) | func TestCacheMarkFailedConcurrent(t *testing.T) { function TestCacheCheckConcurrent (line 173) | func TestCacheCheckConcurrent(t *testing.T) { function newCtxArgs (line 192) | func newCtxArgs(value string) *contextargs.Context { FILE: pkg/protocols/common/interactsh/const.go constant stopAtFirstMatchAttribute (line 17) | stopAtFirstMatchAttribute = "stop-at-first-match" constant templateIdAttribute (line 18) | templateIdAttribute = "template-id" constant defaultMaxInteractionsCount (line 20) | defaultMaxInteractionsCount = 5000 FILE: pkg/protocols/common/interactsh/interactsh.go type Client (line 30) | type Client struct method poll (line 78) | func (c *Client) poll() error { method processInteractionForRequest (line 154) | func (c *Client) processInteractionForRequest(interaction *server.Inte... method AlreadyMatched (line 235) | func (c *Client) AlreadyMatched(data *RequestData) bool { method URL (line 243) | func (c *Client) URL() (string, error) { method Close (line 262) | func (c *Client) Close() bool { method Replace (line 280) | func (c *Client) Replace(data string, interactshURLs []string) (string... method ReplaceWithMarker (line 285) | func (c *Client) ReplaceWithMarker(data string, regex *regexp.Regexp, ... method NewURL (line 295) | func (c *Client) NewURL() (string, error) { method NewURLWithData (line 299) | func (c *Client) NewURLWithData(data string) (string, error) { method MakePlaceholders (line 312) | func (c *Client) MakePlaceholders(urls []string, data map[string]inter... method RequestEvent (line 346) | func (c *Client) RequestEvent(interactshURLs []string, data *RequestDa... method debugPrintInteraction (line 404) | func (c *Client) debugPrintInteraction(interaction *server.Interaction... method getHostname (line 453) | func (c *Client) getHostname() string { method setHostname (line 460) | func (c *Client) setHostname(hostname string) { method GetHostname (line 468) | func (c *Client) GetHostname() string { function New (line 59) | func New(options *Options) (*Client, error) { function requestShouldStopAtFirstMatch (line 141) | func requestShouldStopAtFirstMatch(request *RequestData) bool { type MakeResultEventFunc (line 331) | type MakeResultEventFunc type RequestData (line 334) | type RequestData struct function HasMatchers (line 376) | func HasMatchers(op *operators.Operators) bool { function HasMarkers (line 400) | func HasMarkers(data string) bool { function formatInteractionHeader (line 438) | func formatInteractionHeader(protocol, ID, address string, at time.Time)... function formatInteractionMessage (line 442) | func formatInteractionMessage(key, value string, event *operators.Result... function hash (line 447) | func hash(internalEvent output.InternalEvent) string { FILE: pkg/protocols/common/interactsh/options.go type Options (line 16) | type Options struct function DefaultOptions (line 59) | func DefaultOptions(output output.Writer, reporting reporting.Client, pr... FILE: pkg/protocols/common/marker/marker.go constant General (line 5) | General = "§" constant ParenthesisOpen (line 7) | ParenthesisOpen = "{{" constant ParenthesisClose (line 9) | ParenthesisClose = "}}" FILE: pkg/protocols/common/protocolinit/init.go function Init (line 16) | func Init(options *types.Options) error { function Close (line 41) | func Close(executionId string) { FILE: pkg/protocols/common/protocolstate/context.go type ContextKey (line 10) | type ContextKey type ExecutionContext (line 12) | type ExecutionContext struct constant executionIDKey (line 17) | executionIDKey ContextKey = "execution_id" function WithExecutionID (line 20) | func WithExecutionID(ctx context.Context, executionContext *ExecutionCon... function HasExecutionContext (line 25) | func HasExecutionContext(ctx context.Context) bool { function GetExecutionContext (line 32) | func GetExecutionContext(ctx context.Context) *ExecutionContext { function WithAutoExecutionContext (line 41) | func WithAutoExecutionContext(ctx context.Context) context.Context { FILE: pkg/protocols/common/protocolstate/dialers.go type Dialers (line 13) | type Dialers struct FILE: pkg/protocols/common/protocolstate/file.go function init (line 18) | func init() { function IsLfaAllowed (line 23) | func IsLfaAllowed(options *types.Options) bool { function SetLfaAllowed (line 41) | func SetLfaAllowed(options *types.Options) { function GetLfaAllowed (line 45) | func GetLfaAllowed(options *types.Options) bool { function NormalizePathWithExecutionId (line 51) | func NormalizePathWithExecutionId(executionId string, filePath string) (... function NormalizePath (line 62) | func NormalizePath(options *types.Options, filePath string) (string, err... FILE: pkg/protocols/common/protocolstate/headless.go type errorTemplate (line 26) | type errorTemplate struct method Msgf (line 30) | func (e errorTemplate) Msgf(args ...interface{}) error { function GetNetworkPolicy (line 34) | func GetNetworkPolicy(ctx context.Context) *networkpolicy.NetworkPolicy { function ValidateNFailRequest (line 48) | func ValidateNFailRequest(options *types.Options, page *rod.Page, e *pro... function FailWithReason (line 67) | func FailWithReason(page *rod.Page, e *proto.FetchRequestPaused) error { function InitHeadless (line 76) | func InitHeadless(options *types.Options) { function IsRestrictLocalNetworkAccess (line 86) | func IsRestrictLocalNetworkAccess(options *types.Options) bool { function isValidHost (line 98) | func isValidHost(options *types.Options, targetUrl string) bool { function IsHostAllowed (line 124) | func IsHostAllowed(executionId string, targetUrl string) bool { FILE: pkg/protocols/common/protocolstate/js.go function NewJSRuntime (line 12) | func NewJSRuntime() *goja.Runtime { FILE: pkg/protocols/common/protocolstate/memguardian.go function StartActiveMemGuardian (line 22) | func StartActiveMemGuardian(ctx context.Context) { function StopActiveMemGuardian (line 52) | func StopActiveMemGuardian() { function IsLowOnMemory (line 70) | func IsLowOnMemory() bool { function GuardThreadsOrDefault (line 78) | func GuardThreadsOrDefault(current int) int { function GlobalGuardBytesBufferAlloc (line 92) | func GlobalGuardBytesBufferAlloc() error { function GlobalRestoreBytesBufferAlloc (line 109) | func GlobalRestoreBytesBufferAlloc() { FILE: pkg/protocols/common/protocolstate/memguardian_test.go function TestMemGuardianGoroutineLeak (line 14) | func TestMemGuardianGoroutineLeak(t *testing.T) { function TestMemGuardianReset (line 100) | func TestMemGuardianReset(t *testing.T) { FILE: pkg/protocols/common/protocolstate/memoizer.go function init (line 9) | func init() { FILE: pkg/protocols/common/protocolstate/state.go function init (line 27) | func init() { function GetDialers (line 31) | func GetDialers(ctx context.Context) *Dialers { function GetDialersWithId (line 40) | func GetDialersWithId(id string) *Dialers { function ShouldInit (line 48) | func ShouldInit(id string) bool { function Init (line 57) | func Init(options *types.Options) error { function initDialers (line 66) | func initDialers(options *types.Options) error { function isIpAssociatedWithInterface (line 222) | func isIpAssociatedWithInterface(sourceIP, interfaceName string) (bool, ... function interfaceAddress (line 238) | func interfaceAddress(interfaceName string) (net.IP, error) { function interfaceAddresses (line 259) | func interfaceAddresses(interfaceName string) ([]net.Addr, error) { function Close (line 275) | func Close(executionId string) { FILE: pkg/protocols/common/randomip/randomip.go constant maxIterations (line 13) | maxIterations = 255 function GetRandomIPWithCidr (line 16) | func GetRandomIPWithCidr(cidrs ...string) (net.IP, error) { function getRandomIP (line 49) | func getRandomIP(ipnet *net.IPNet, size int) net.IP { FILE: pkg/protocols/common/randomip/randomip_test.go function TestGetRandomIp (line 10) | func TestGetRandomIp(t *testing.T) { FILE: pkg/protocols/common/replacer/replacer.go function Replace (line 13) | func Replace(template string, values map[string]interface{}) string { function ReplaceOne (line 24) | func ReplaceOne(template string, key string, value interface{}) string { function replaceOneWithMarkers (line 30) | func replaceOneWithMarkers(template, key string, value interface{}, open... FILE: pkg/protocols/common/replacer/replacer_test.go function TestReplacerReplace (line 9) | func TestReplacerReplace(t *testing.T) { function TestReplacerReplaceOne (line 85) | func TestReplacerReplaceOne(t *testing.T) { FILE: pkg/protocols/common/uncover/uncover.go function GetUncoverSupportedAgents (line 19) | func GetUncoverSupportedAgents() string { function GetTargetsFromUncover (line 25) | func GetTargetsFromUncover(ctx context.Context, outputFormat string, opt... function processUncoverOutput (line 58) | func processUncoverOutput(result sources.Result, outputFormat string) st... function GetUncoverTargetsFromMetadata (line 73) | func GetUncoverTargetsFromMetadata(ctx context.Context, templates []*tem... FILE: pkg/protocols/common/utils/excludematchers/excludematchers.go type ExcludeMatchers (line 8) | type ExcludeMatchers struct method Match (line 57) | func (e *ExcludeMatchers) Match(templateID, matcherName string) bool { function New (line 21) | func New(values []string) *ExcludeMatchers { FILE: pkg/protocols/common/utils/excludematchers/excludematchers_test.go function TestExcludeMatchers (line 9) | func TestExcludeMatchers(t *testing.T) { FILE: pkg/protocols/common/utils/vardump/dump.go function DumpVariables (line 15) | func DumpVariables(data variables) string { function process (line 43) | func process(data variables, limit int) variables { FILE: pkg/protocols/common/utils/vardump/dump_test.go function TestDumpVariables (line 10) | func TestDumpVariables(t *testing.T) { function TestProcess (line 39) | func TestProcess(t *testing.T) { FILE: pkg/protocols/common/variables/variables.go type Variable (line 22) | type Variable struct method JSONSchema (line 29) | func (variables Variable) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 39) | func (variables *Variable) UnmarshalYAML(unmarshal func(interface{}) e... method UnmarshalJSON (line 57) | func (variables *Variable) UnmarshalJSON(data []byte) error { method Evaluate (line 71) | func (variables *Variable) Evaluate(values map[string]interface{}) map... method GetAll (line 95) | func (variables *Variable) GetAll() map[string]interface{} { method EvaluateWithInteractsh (line 104) | func (variables *Variable) EvaluateWithInteractsh(values map[string]in... method checkForLazyEval (line 157) | func (variables *Variable) checkForLazyEval() bool { function evaluateVariableValue (line 135) | func evaluateVariableValue(expression string, values, processing map[str... function evaluateVariableValueWithMap (line 146) | func evaluateVariableValueWithMap(expression string, combinedMap map[str... function hasUndefinedParams (line 193) | func hasUndefinedParams(value string, variables *Variable) bool { FILE: pkg/protocols/common/variables/variables_bench_test.go function BenchmarkVariableEvaluate (line 10) | func BenchmarkVariableEvaluate(b *testing.B) { function BenchmarkVariableEvaluateScaling (line 47) | func BenchmarkVariableEvaluateScaling(b *testing.B) { FILE: pkg/protocols/common/variables/variables_test.go function TestVariablesEvaluate (line 14) | func TestVariablesEvaluate(t *testing.T) { function TestCheckForLazyEval (line 47) | func TestCheckForLazyEval(t *testing.T) { function TestVariablesEvaluateChained (line 152) | func TestVariablesEvaluateChained(t *testing.T) { function TestEvaluateWithInteractshOverrideOrder (line 242) | func TestEvaluateWithInteractshOverrideOrder(t *testing.T) { FILE: pkg/protocols/dns/cluster.go method TmplClusterKey (line 11) | func (request *Request) TmplClusterKey() uint64 { method IsClusterable (line 21) | func (request *Request) IsClusterable() bool { FILE: pkg/protocols/dns/dns.go type Request (line 20) | type Request struct method GetCompiledOperators (line 121) | func (request *Request) GetCompiledOperators() []*operators.Operators { method GetID (line 126) | func (request *Request) GetID() string { method Options (line 131) | func (r *Request) Options() *protocols.ExecutorOptions { method Compile (line 136) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method getDnsClient (line 185) | func (request *Request) getDnsClient(options *protocols.ExecutorOption... method Requests (line 209) | func (request *Request) Requests() int { method Make (line 219) | func (request *Request) Make(host string, vars map[string]interface{})... method UpdateOptions (line 302) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { function questionTypeToInt (line 244) | func questionTypeToInt(questionType string) uint16 { function classToInt (line 280) | func classToInt(class string) uint16 { FILE: pkg/protocols/dns/dns_test.go function TestDNSCompileMake (line 13) | func TestDNSCompileMake(t *testing.T) { function TestDNSRequests (line 39) | func TestDNSRequests(t *testing.T) { FILE: pkg/protocols/dns/dns_types.go type DNSRequestType (line 12) | type DNSRequestType method String (line 85) | func (t DNSRequestType) String() string { constant A (line 17) | A DNSRequestType = iota + 1 constant NS (line 19) | NS constant DS (line 21) | DS constant CNAME (line 23) | CNAME constant SOA (line 25) | SOA constant PTR (line 27) | PTR constant MX (line 29) | MX constant TXT (line 31) | TXT constant AAAA (line 33) | AAAA constant CAA (line 35) | CAA constant TLSA (line 37) | TLSA constant ANY (line 39) | ANY constant SRV (line 41) | SRV constant limit (line 42) | limit function GetSupportedDNSRequestTypes (line 63) | func GetSupportedDNSRequestTypes() []DNSRequestType { function toDNSRequestTypes (line 71) | func toDNSRequestTypes(valueToMap string) (DNSRequestType, error) { function normalizeValue (line 81) | func normalizeValue(value string) string { type DNSRequestTypeHolder (line 90) | type DNSRequestTypeHolder struct method String (line 94) | func (holder DNSRequestTypeHolder) String() string { method JSONSchema (line 98) | func (holder DNSRequestTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 110) | func (holder *DNSRequestTypeHolder) UnmarshalYAML(unmarshal func(inter... method UnmarshalJSON (line 125) | func (holder *DNSRequestTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 139) | func (holder *DNSRequestTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 143) | func (holder DNSRequestTypeHolder) MarshalYAML() (interface{}, error) { FILE: pkg/protocols/dns/dnsclientpool/clientpool.go function Init (line 30) | func Init(options *types.Options) error { function getNormalClient (line 52) | func getNormalClient() *retryabledns.Client { type Configuration (line 59) | type Configuration struct method Hash (line 69) | func (c *Configuration) Hash() string { function Get (line 82) | func Get(options *types.Options, configuration *Configuration) (*retryab... FILE: pkg/protocols/dns/operators.go method Match (line 22) | func (request *Request) Match(data map[string]interface{}, matcher *matc... method Extract (line 52) | func (request *Request) Extract(data map[string]interface{}, extractor *... method getMatchPart (line 69) | func (request *Request) getMatchPart(part string, data output.InternalEv... method responseToDSLMap (line 84) | func (request *Request) responseToDSLMap(req, resp *dns.Msg, host, match... method MakeResultEvent (line 108) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappedE... method MakeResultEventItem (line 112) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWrap... function rrToString (line 132) | func rrToString(resourceRecords []dns.RR) string { // TODO rewrite with ... function questionToString (line 140) | func questionToString(resourceRecords []dns.Question) string { function traceToString (line 148) | func traceToString(traceData *retryabledns.TraceData, withSteps bool) st... function recordsKeyValue (line 161) | func recordsKeyValue(resourceRecords []dns.RR) output.InternalEvent { FILE: pkg/protocols/dns/operators_test.go function TestResponseToDSLMap (line 20) | func TestResponseToDSLMap(t *testing.T) { function TestDNSOperatorMatch (line 54) | func TestDNSOperatorMatch(t *testing.T) { function TestDNSOperatorExtract (line 166) | func TestDNSOperatorExtract(t *testing.T) { function TestDNSMakeResult (line 224) | func TestDNSMakeResult(t *testing.T) { FILE: pkg/protocols/dns/request.go method Type (line 34) | func (request *Request) Type() templateTypes.ProtocolType { method ExecuteWithResults (line 39) | func (request *Request) ExecuteWithResults(input *contextargs.Context, m... method execute (line 109) | func (request *Request) execute(input *contextargs.Context, domain strin... method parseDNSInput (line 202) | func (request *Request) parseDNSInput(host string) (string, error) { function dumpResponse (line 220) | func dumpResponse(event *output.InternalWrappedEvent, request *Request, ... function dumpTraceData (line 239) | func dumpTraceData(event *output.InternalWrappedEvent, requestOptions *p... FILE: pkg/protocols/dns/request_test.go function TestDNSExecuteWithResults (line 19) | func TestDNSExecuteWithResults(t *testing.T) { FILE: pkg/protocols/file/file.go type Request (line 21) | type Request struct method GetID (line 96) | func (request *Request) GetID() string { method Compile (line 101) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Requests (line 191) | func (request *Request) Requests() int { method UpdateOptions (line 196) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { function matchAnyMimeTypes (line 170) | func matchAnyMimeTypes(data []byte, mimeTypes []string) bool { function extractMimeTypes (line 179) | func extractMimeTypes(m []string) []string { FILE: pkg/protocols/file/find.go method getInputPaths (line 19) | func (request *Request) getInputPaths(target string, callback func(strin... method findGlobPathMatches (line 50) | func (request *Request) findGlobPathMatches(absPath string, processed ma... method findFileMatches (line 69) | func (request *Request) findFileMatches(absPath string, processed map[st... method findDirectoryMatches (line 88) | func (request *Request) findDirectoryMatches(absPath string, processed m... method validatePath (line 113) | func (request *Request) validatePath(absPath, item string, inArchive boo... method isInDenyList (line 155) | func (request *Request) isInDenyList(absPath, item string) (string, bool) { function readChunk (line 205) | func readChunk(fileName string) ([]byte, error) { method isAnyChunkInDenyList (line 222) | func (request *Request) isAnyChunkInDenyList(path string, splitWithUtils... FILE: pkg/protocols/file/find_test.go function TestFindInputPaths (line 16) | func TestFindInputPaths(t *testing.T) { FILE: pkg/protocols/file/operators.go method Match (line 16) | func (request *Request) Match(data map[string]interface{}, matcher *matc... method Extract (line 40) | func (request *Request) Extract(data map[string]interface{}, extractor *... method getMatchPart (line 61) | func (request *Request) getMatchPart(part string, data output.InternalEv... method responseToDSLMap (line 77) | func (request *Request) responseToDSLMap(raw, inputFilePath, matchedFile... method MakeResultEvent (line 91) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappedE... method GetCompiledOperators (line 95) | func (request *Request) GetCompiledOperators() []*operators.Operators { method MakeResultEventItem (line 101) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWrap... FILE: pkg/protocols/file/operators_test.go function newMockOperator (line 17) | func newMockOperator() operators.Operators { function TestResponseToDSLMap (line 30) | func TestResponseToDSLMap(t *testing.T) { function TestFileOperatorMatch (line 56) | func TestFileOperatorMatch(t *testing.T) { function TestFileOperatorExtract (line 145) | func TestFileOperatorExtract(t *testing.T) { function TestFileMakeResultWithOrMatcher (line 198) | func TestFileMakeResultWithOrMatcher(t *testing.T) { function TestFileMakeResultWithAndMatcher (line 207) | func TestFileMakeResultWithAndMatcher(t *testing.T) { function testFileMakeResultOperators (line 213) | func testFileMakeResultOperators(t *testing.T, matcherCondition string) ... function testFileMakeResult (line 253) | func testFileMakeResult(t *testing.T, matchers []*matchers.Matcher, matc... FILE: pkg/protocols/file/request.go method Type (line 35) | func (request *Request) Type() templateTypes.ProtocolType { type FileMatch (line 39) | type FileMatch struct method ExecuteWithResults (line 52) | func (request *Request) ExecuteWithResults(input *contextargs.Context, m... method processFile (line 200) | func (request *Request) processFile(filePath string, input *contextargs.... method processReader (line 221) | func (request *Request) processReader(reader io.Reader, filePath string,... method findMatchesWithReader (line 232) | func (request *Request) findMatchesWithReader(reader io.Reader, input *c... method buildEvent (line 345) | func (request *Request) buildEvent(input, filePath string, fileMatches [... function dumpResponse (line 374) | func dumpResponse(event *output.InternalWrappedEvent, requestOptions *pr... FILE: pkg/protocols/file/request_test.go function zipFile (line 28) | func zipFile(t *testing.T, fileName string, data []byte) []byte { function gzipFile (line 40) | func gzipFile(t *testing.T, data []byte) []byte { function TestFileExecuteWithResults (line 50) | func TestFileExecuteWithResults(t *testing.T) { function TestFileProtocolConcurrentExecution (line 139) | func TestFileProtocolConcurrentExecution(t *testing.T) { FILE: pkg/protocols/headless/engine/action.go type Action (line 15) | type Action struct method JSONSchemaExtend (line 36) | func (a Action) JSONSchemaExtend(schema *jsonschema.Schema) { method String (line 60) | func (a *Action) String() string { method GetArg (line 78) | func (a *Action) GetArg(name string) string { FILE: pkg/protocols/headless/engine/action_types.go type ActionType (line 13) | type ActionType method String (line 196) | func (t ActionType) String() string { constant ActionNavigate (line 23) | ActionNavigate ActionType = iota + 1 constant ActionScript (line 26) | ActionScript constant ActionClick (line 29) | ActionClick constant ActionRightClick (line 32) | ActionRightClick constant ActionTextInput (line 35) | ActionTextInput constant ActionScreenshot (line 38) | ActionScreenshot constant ActionTimeInput (line 41) | ActionTimeInput constant ActionSelectInput (line 44) | ActionSelectInput constant ActionFilesInput (line 47) | ActionFilesInput constant ActionWaitDOM (line 50) | ActionWaitDOM constant ActionWaitFCP (line 53) | ActionWaitFCP constant ActionWaitFMP (line 56) | ActionWaitFMP constant ActionWaitIdle (line 59) | ActionWaitIdle constant ActionWaitLoad (line 62) | ActionWaitLoad constant ActionWaitStable (line 65) | ActionWaitStable constant ActionGetResource (line 68) | ActionGetResource constant ActionExtract (line 71) | ActionExtract constant ActionSetMethod (line 74) | ActionSetMethod constant ActionAddHeader (line 77) | ActionAddHeader constant ActionSetHeader (line 80) | ActionSetHeader constant ActionDeleteHeader (line 83) | ActionDeleteHeader constant ActionSetBody (line 86) | ActionSetBody constant ActionWaitEvent (line 89) | ActionWaitEvent constant ActionWaitDialog (line 92) | ActionWaitDialog constant ActionKeyboard (line 95) | ActionKeyboard constant ActionDebug (line 98) | ActionDebug constant ActionSleep (line 101) | ActionSleep constant ActionWaitVisible (line 104) | ActionWaitVisible constant limit (line 106) | limit function GetSupportedActionTypes (line 174) | func GetSupportedActionTypes() []ActionType { function toActionTypes (line 182) | func toActionTypes(valueToMap string) (ActionType, error) { function normalizeValue (line 192) | func normalizeValue(value string) string { type ActionTypeHolder (line 201) | type ActionTypeHolder struct method String (line 205) | func (holder ActionTypeHolder) String() string { method JSONSchema (line 208) | func (holder ActionTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 220) | func (holder *ActionTypeHolder) UnmarshalYAML(unmarshal func(interface... method UnmarshalJSON (line 235) | func (holder *ActionTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 249) | func (holder *ActionTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 253) | func (holder ActionTypeHolder) MarshalYAML() (interface{}, error) { FILE: pkg/protocols/headless/engine/engine.go type Browser (line 21) | type Browser struct method SetUserAgent (line 144) | func (b *Browser) SetUserAgent(customUserAgent string) { method UserAgent (line 149) | func (b *Browser) UserAgent() string { method applyDefaultHeaders (line 154) | func (b *Browser) applyDefaultHeaders(p *rod.Page) error { method getHTTPClient (line 177) | func (b *Browser) getHTTPClient() (*http.Client, error) { method Close (line 188) | func (b *Browser) Close() { function New (line 35) | func New(options *types.Options) (*Browser, error) { function MustDisableSandbox (line 137) | func MustDisableSandbox() bool { FILE: pkg/protocols/headless/engine/hijack.go function NewHijack (line 13) | func NewHijack(page *rod.Page) *Hijack { type Hijack (line 24) | type Hijack struct method SetPattern (line 32) | func (h *Hijack) SetPattern(pattern *proto.FetchRequestPattern) { method Start (line 39) | func (h *Hijack) Start(handler HijackHandler) func() error { method Stop (line 65) | func (h *Hijack) Stop() error { function FetchGetResponseBody (line 73) | func FetchGetResponseBody(page *rod.Page, e *proto.FetchRequestPaused) (... function FetchContinueRequest (line 94) | func FetchContinueRequest(page *rod.Page, e *proto.FetchRequestPaused) e... FILE: pkg/protocols/headless/engine/http_client.go function newHttpClient (line 22) | func newHttpClient(options *types.Options) (*http.Client, error) { FILE: pkg/protocols/headless/engine/instance.go type Instance (line 14) | type Instance struct method GetRequestLog (line 45) | func (i *Instance) GetRequestLog() map[string]string { method Close (line 50) | func (i *Instance) Close() error { method SetInteractsh (line 55) | func (i *Instance) SetInteractsh(interactsh *interactsh.Client) { method NewInstance (line 30) | func (b *Browser) NewInstance() (*Instance, error) { function maxBackoffSleeper (line 60) | func maxBackoffSleeper(max int) utils.Sleeper { FILE: pkg/protocols/headless/engine/page.go type Page (line 26) | type Page struct method Close (line 233) | func (p *Page) Close() { method Page (line 244) | func (p *Page) Page() *rod.Page { method Browser (line 249) | func (p *Page) Browser() *rod.Browser { method URL (line 254) | func (p *Page) URL() string { method DumpHistory (line 263) | func (p *Page) DumpHistory() string { method addToHistory (line 276) | func (p *Page) addToHistory(historyData ...HistoryData) { method addInteractshURL (line 283) | func (p *Page) addInteractshURL(URLs ...string) { method hasModificationRules (line 290) | func (p *Page) hasModificationRules() bool { method updateLastNavigatedURL (line 301) | func (p *Page) updateLastNavigatedURL() { type HistoryData (line 44) | type HistoryData struct type Options (line 50) | type Options struct method Run (line 57) | func (i *Instance) Run(ctx *contextargs.Context, actions []*Action, payl... function containsModificationActions (line 310) | func containsModificationActions(actions ...*Action) bool { function containsAnyModificationActionType (line 319) | func containsAnyModificationActionType(actionTypes ...ActionType) bool { function GetSameSite (line 337) | func GetSameSite(cookie *http.Cookie) string { FILE: pkg/protocols/headless/engine/page_actions.go constant errCouldNotGetElement (line 41) | errCouldNotGetElement = "could not get element" constant errCouldNotScroll (line 42) | errCouldNotScroll = "could not scroll into view" constant errElementDidNotAppear (line 43) | errElementDidNotAppear = "Element did not appear in the given amount of ... method ExecuteActions (line 47) | func (p *Page) ExecuteActions(input *contextargs.Context, actions []*Act... type rule (line 164) | type rule struct method WaitVisible (line 172) | func (p *Page) WaitVisible(act *Action, out ActionData) error { method Sleeper (line 198) | func (p *Page) Sleeper(pollTimeout, timeout time.Duration) *Page { method Timeout (line 206) | func (p *Page) Timeout(timeout time.Duration) *Page { function createBackOffSleeper (line 212) | func createBackOffSleeper(pollTimeout, timeout time.Duration) utils.Slee... function getNavigationFunc (line 226) | func getNavigationFunc(p *Page, act *Action, event proto.PageLifecycleEv... function getTimeout (line 237) | func getTimeout(p *Page, act *Action) (time.Duration, error) { function getTimeParameter (line 244) | func getTimeParameter(p *Page, act *Action, argName string, defaultValue... method ActionAddHeader (line 265) | func (p *Page) ActionAddHeader(act *Action, out ActionData) error { method ActionSetHeader (line 293) | func (p *Page) ActionSetHeader(act *Action, out ActionData) error { method ActionDeleteHeader (line 321) | func (p *Page) ActionDeleteHeader(act *Action, out ActionData) error { method ActionSetBody (line 344) | func (p *Page) ActionSetBody(act *Action, out ActionData) error { method ActionSetMethod (line 367) | func (p *Page) ActionSetMethod(act *Action, out ActionData) error { method NavigateURL (line 391) | func (p *Page) NavigateURL(action *Action, out ActionData) error { method RunScript (line 422) | func (p *Page) RunScript(act *Action, out ActionData) error { method ClickElement (line 456) | func (p *Page) ClickElement(act *Action, out ActionData) error { method KeyboardAction (line 471) | func (p *Page) KeyboardAction(act *Action, out ActionData) error { method RightClickElement (line 481) | func (p *Page) RightClickElement(act *Action, out ActionData) error { method Screenshot (line 496) | func (p *Page) Screenshot(act *Action, out ActionData) error { method InputElement (line 576) | func (p *Page) InputElement(act *Action, out ActionData) error { method TimeInputElement (line 598) | func (p *Page) TimeInputElement(act *Action, out ActionData) error { method SelectInputElement (line 624) | func (p *Page) SelectInputElement(act *Action, out ActionData) error { method WaitPageLifecycleEvent (line 664) | func (p *Page) WaitPageLifecycleEvent(act *Action, out ActionData, event... method WaitStable (line 679) | func (p *Page) WaitStable(act *Action, out ActionData) error { method GetResource (line 706) | func (p *Page) GetResource(act *Action, out ActionData) error { method FilesInput (line 722) | func (p *Page) FilesInput(act *Action, out ActionData) error { method ExtractElement (line 746) | func (p *Page) ExtractElement(act *Action, out ActionData) error { method WaitEvent (line 794) | func (p *Page) WaitEvent(act *Action, out ActionData) (func() error, err... method HandleDialog (line 839) | func (p *Page) HandleDialog(act *Action, out ActionData) error { method pageElementBy (line 873) | func (p *Page) pageElementBy(data map[string]string) (*rod.Element, erro... method DebugAction (line 903) | func (p *Page) DebugAction(act *Action, out ActionData) error { method SleepAction (line 910) | func (p *Page) SleepAction(act *Action, out ActionData) error { function selectorBy (line 922) | func selectorBy(selector string) rod.SelectorType { method getActionArg (line 935) | func (p *Page) getActionArg(action *Action, arg string) (string, error) { FILE: pkg/protocols/headless/engine/page_actions_test.go function TestActionNavigate (line 29) | func TestActionNavigate(t *testing.T) { function TestActionScript (line 51) | func TestActionScript(t *testing.T) { function TestActionClick (line 92) | func TestActionClick(t *testing.T) { function TestActionRightClick (line 117) | func TestActionRightClick(t *testing.T) { function TestActionTextInput (line 150) | func TestActionTextInput(t *testing.T) { function TestActionHeadersChange (line 176) | func TestActionHeadersChange(t *testing.T) { function TestActionScreenshot (line 195) | func TestActionScreenshot(t *testing.T) { function TestActionScreenshotToDir (line 223) | func TestActionScreenshotToDir(t *testing.T) { function TestActionTimeInput (line 251) | func TestActionTimeInput(t *testing.T) { function TestActionSelectInput (line 275) | func TestActionSelectInput(t *testing.T) { function TestActionFilesInput (line 302) | func TestActionFilesInput(t *testing.T) { function TestActionFilesInputNegative (line 327) | func TestActionFilesInputNegative(t *testing.T) { function TestActionWaitLoad (line 349) | func TestActionWaitLoad(t *testing.T) { function TestActionGetResource (line 375) | func TestActionGetResource(t *testing.T) { function TestActionExtract (line 400) | func TestActionExtract(t *testing.T) { function TestActionSetMethod (line 420) | func TestActionSetMethod(t *testing.T) { function TestActionAddHeader (line 439) | func TestActionAddHeader(t *testing.T) { function TestActionDeleteHeader (line 458) | func TestActionDeleteHeader(t *testing.T) { function TestActionSetBody (line 479) | func TestActionSetBody(t *testing.T) { function TestActionKeyboard (line 497) | func TestActionKeyboard(t *testing.T) { function TestActionSleep (line 522) | func TestActionSleep(t *testing.T) { function TestActionWaitVisible (line 545) | func TestActionWaitVisible(t *testing.T) { function TestActionWaitDialog (line 579) | func TestActionWaitDialog(t *testing.T) { function testHeadlessSimpleResponse (line 640) | func testHeadlessSimpleResponse(t *testing.T, response string, actions [... function testHeadless (line 647) | func testHeadless(t *testing.T, actions []*Action, timeout time.Duration... function TestContainsAnyModificationActionType (line 685) | func TestContainsAnyModificationActionType(t *testing.T) { function TestBlockedHeadlessURLS (line 700) | func TestBlockedHeadlessURLS(t *testing.T) { FILE: pkg/protocols/headless/engine/rules.go method routingRuleHandler (line 15) | func (p *Page) routingRuleHandler(httpClient *http.Client) func(ctx *rod... method routingRuleHandlerNative (line 109) | func (p *Page) routingRuleHandlerNative(e *proto.FetchRequestPaused) err... FILE: pkg/protocols/headless/engine/util.go function replaceWithValues (line 13) | func replaceWithValues(data string, values map[string]interface{}) string { function getExpressions (line 17) | func getExpressions(data string, values map[string]interface{}) []string { FILE: pkg/protocols/headless/headless.go type Request (line 17) | type Request struct method GetID (line 97) | func (request *Request) GetID() string { method Compile (line 102) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Requests (line 170) | func (request *Request) Requests() int { method UpdateOptions (line 175) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { method HasFuzzing (line 180) | func (request *Request) HasFuzzing() bool { type Step (line 91) | type Step struct FILE: pkg/protocols/headless/operators.go method Match (line 18) | func (request *Request) Match(data map[string]interface{}, matcher *matc... function getStatusCode (line 47) | func getStatusCode(data map[string]interface{}) (int, bool) { method Extract (line 66) | func (request *Request) Extract(data map[string]interface{}, extractor *... method getMatchPart (line 87) | func (request *Request) getMatchPart(part string, data output.InternalEv... method responseToDSLMap (line 107) | func (request *Request) responseToDSLMap(resp, headers, status_code, req... method MakeResultEvent (line 124) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappedE... method GetCompiledOperators (line 128) | func (request *Request) GetCompiledOperators() []*operators.Operators { method MakeResultEventItem (line 132) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWrap... FILE: pkg/protocols/headless/operators_test.go function TestRequest_ExtractXPath (line 11) | func TestRequest_ExtractXPath(t *testing.T) { function TestRequest_ExtractJSON (line 91) | func TestRequest_ExtractJSON(t *testing.T) { function TestRequest_MatchXPath (line 199) | func TestRequest_MatchXPath(t *testing.T) { function TestRequest_getMatchPart (line 247) | func TestRequest_getMatchPart(t *testing.T) { function TestRequest_ExtractWithDifferentParts (line 287) | func TestRequest_ExtractWithDifferentParts(t *testing.T) { function TestRequest_ExtractWithComplexJSON (line 340) | func TestRequest_ExtractWithComplexJSON(t *testing.T) { function TestRequest_ExtractWithComplexHTML (line 434) | func TestRequest_ExtractWithComplexHTML(t *testing.T) { FILE: pkg/protocols/headless/request.go constant errCouldNotGetHtmlElement (line 32) | errCouldNotGetHtmlElement = "could not get html element" method Type (line 35) | func (request *Request) Type() templateTypes.ProtocolType { method ExecuteWithResults (line 40) | func (request *Request) ExecuteWithResults(input *contextargs.Context, m... function extractBaseURLFromActions (line 100) | func extractBaseURLFromActions(steps []*engine.Action) (string, error) { method executeRequestWithPayloads (line 114) | func (request *Request) executeRequestWithPayloads(input *contextargs.Co... function dumpResponse (line 225) | func dumpResponse(event *output.InternalWrappedEvent, requestOptions *pr... method executeFuzzingRule (line 239) | func (request *Request) executeFuzzingRule(input *contextargs.Context, p... method getLastNavigationURLWithLog (line 279) | func (request *Request) getLastNavigationURLWithLog(reqLog map[string]st... FILE: pkg/protocols/http/build_request.go constant ReqURLPatternKey (line 36) | ReqURLPatternKey = "req_url_pattern" type errorTemplate (line 40) | type errorTemplate struct method Wrap (line 44) | func (e errorTemplate) Wrap(err error) wrapperError { method Msgf (line 48) | func (e errorTemplate) Msgf(args ...interface{}) error { type wrapperError (line 52) | type wrapperError struct method WithTag (line 57) | func (w wrapperError) WithTag(tag string) error { method Msgf (line 61) | func (w wrapperError) Msgf(format string, args ...interface{}) error { method Error (line 65) | func (w wrapperError) Error() string { type generatedRequest (line 76) | type generatedRequest struct method setReqURLPattern (line 93) | func (gr *generatedRequest) setReqURLPattern(reqURLPattern string) { method ApplyAuth (line 119) | func (g *generatedRequest) ApplyAuth(provider authprovider.AuthProvide... method URL (line 144) | func (g *generatedRequest) URL() string { method Make (line 156) | func (r *requestGenerator) Make(ctx context.Context, input *contextargs.... method makeSelfContainedRequest (line 261) | func (r *requestGenerator) makeSelfContainedRequest(ctx context.Context,... method generateHttpRequest (line 340) | func (r *requestGenerator) generateHttpRequest(ctx context.Context, urlx... method generateRawRequest (line 361) | func (r *requestGenerator) generateRawRequest(ctx context.Context, rawRe... method fillRequest (line 472) | func (r *requestGenerator) fillRequest(req *retryablehttp.Request, value... FILE: pkg/protocols/http/build_request_test.go function TestMakeRequestFromModal (line 19) | func TestMakeRequestFromModal(t *testing.T) { function TestMakeRequestFromModalTrimSuffixSlash (line 54) | func TestMakeRequestFromModalTrimSuffixSlash(t *testing.T) { function TestMakeRequestFromRawWithPayloads (line 85) | func TestMakeRequestFromRawWithPayloads(t *testing.T) { function TestMakeRequestFromRawPayloadExpressions (line 126) | func TestMakeRequestFromRawPayloadExpressions(t *testing.T) { function TestMakeUnsafeRequestFromRawWithHostAnnotation (line 167) | func TestMakeUnsafeRequestFromRawWithHostAnnotation(t *testing.T) { function TestMakeRequestFromModelUniqueInteractsh (line 200) | func TestMakeRequestFromModelUniqueInteractsh(t *testing.T) { function areUnique (line 244) | func areUnique(elements []string) bool { FILE: pkg/protocols/http/cluster.go method TmplClusterKey (line 13) | func (request *Request) TmplClusterKey() uint64 { method IsClusterable (line 19) | func (request *Request) IsClusterable() bool { FILE: pkg/protocols/http/cluster_test.go function TestCanCluster (line 9) | func TestCanCluster(t *testing.T) { FILE: pkg/protocols/http/http.go type Request (line 35) | type Request struct method JSONSchemaExtend (line 242) | func (e Request) JSONSchemaExtend(schema *jsonschema.Schema) { method Options (line 266) | func (r *Request) Options() *protocols.ExecutorOptions { method GetID (line 293) | func (request *Request) GetID() string { method isRaw (line 297) | func (request *Request) isRaw() bool { method Compile (line 302) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method RebuildGenerator (line 520) | func (request *Request) RebuildGenerator() error { method Requests (line 530) | func (request *Request) Requests() int { method UpdateOptions (line 544) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { method HasFuzzing (line 549) | func (request *Request) HasFuzzing() bool { constant SetThreadToCountZero (line 536) | SetThreadToCountZero = "set-thread-count-to-zero" function init (line 539) | func init() { FILE: pkg/protocols/http/http_method_types.go type HTTPMethodType (line 12) | type HTTPMethodType method String (line 79) | func (t HTTPMethodType) String() string { constant HTTPGet (line 17) | HTTPGet HTTPMethodType = iota + 1 constant HTTPHead (line 19) | HTTPHead constant HTTPPost (line 21) | HTTPPost constant HTTPPut (line 23) | HTTPPut constant HTTPDelete (line 25) | HTTPDelete constant HTTPConnect (line 27) | HTTPConnect constant HTTPOptions (line 29) | HTTPOptions constant HTTPTrace (line 31) | HTTPTrace constant HTTPPatch (line 33) | HTTPPatch constant HTTPPurge (line 35) | HTTPPurge constant HTTPDebug (line 37) | HTTPDebug constant limit (line 38) | limit function GetSupportedHTTPMethodTypes (line 57) | func GetSupportedHTTPMethodTypes() []HTTPMethodType { function toHTTPMethodTypes (line 65) | func toHTTPMethodTypes(valueToMap string) (HTTPMethodType, error) { function normalizeValue (line 75) | func normalizeValue(value string) string { type HTTPMethodTypeHolder (line 84) | type HTTPMethodTypeHolder struct method String (line 88) | func (holder HTTPMethodTypeHolder) String() string { method JSONSchema (line 92) | func (holder HTTPMethodTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 104) | func (holder *HTTPMethodTypeHolder) UnmarshalYAML(unmarshal func(inter... method UnmarshalJSON (line 119) | func (holder *HTTPMethodTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 133) | func (holder *HTTPMethodTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 137) | func (holder HTTPMethodTypeHolder) MarshalYAML() (interface{}, error) { FILE: pkg/protocols/http/http_test.go function TestHTTPCompile (line 14) | func TestHTTPCompile(t *testing.T) { FILE: pkg/protocols/http/httpclientpool/clientpool.go function Init (line 36) | func Init(options *types.Options) error { type ConnectionConfiguration (line 45) | type ConnectionConfiguration struct method SetCookieJar (line 55) | func (cc *ConnectionConfiguration) SetCookieJar(cookiejar *cookiejar.J... method GetCookieJar (line 62) | func (cc *ConnectionConfiguration) GetCookieJar() *cookiejar.Jar { method HasCookieJar (line 69) | func (cc *ConnectionConfiguration) HasCookieJar() bool { type Configuration (line 77) | type Configuration struct method Clone (line 94) | func (c *Configuration) Clone() *Configuration { method Hash (line 112) | func (c *Configuration) Hash() string { method HasStandardOptions (line 138) | func (c *Configuration) HasStandardOptions() bool { function GetRawHTTP (line 143) | func GetRawHTTP(options *protocols.ExecutorOptions) *rawhttp.Client { function Get (line 171) | func Get(options *types.Options, configuration *Configuration) (*retryab... function wrappedGet (line 184) | func wrappedGet(options *types.Options, configuration *Configuration) (*... type RedirectFlow (line 370) | type RedirectFlow constant DontFollowRedirect (line 373) | DontFollowRedirect RedirectFlow = iota constant FollowSameHostRedirect (line 374) | FollowSameHostRedirect constant FollowAllRedirect (line 375) | FollowAllRedirect constant defaultMaxRedirects (line 378) | defaultMaxRedirects = 10 type checkRedirectFunc (line 380) | type checkRedirectFunc function makeCheckRedirectFunc (line 382) | func makeCheckRedirectFunc(redirectType RedirectFlow, maxRedirects int) ... function checkMaxRedirects (line 405) | func checkMaxRedirects(req *http.Request, via []*http.Request, maxRedire... function isURLEncoded (line 433) | func isURLEncoded(s string) bool { FILE: pkg/protocols/http/httpclientpool/options.go type WithCustomTimeout (line 15) | type WithCustomTimeout struct type RawHttpRequestOpts (line 20) | type RawHttpRequestOpts struct function SendRawRequest (line 36) | func SendRawRequest(client *rawhttp.Client, opts *RawHttpRequestOpts) (*... FILE: pkg/protocols/http/httputils/misc.go function GetInteractshURLSFromEvent (line 13) | func GetInteractshURLSFromEvent(event map[string]interface{}) []string { FILE: pkg/protocols/http/httputils/spm.go type WorkPoolType (line 12) | type WorkPoolType constant Blocking (line 16) | Blocking WorkPoolType = iota constant NonBlocking (line 18) | NonBlocking type StopAtFirstMatchHandler (line 23) | type StopAtFirstMatchHandler struct function NewBlockingSPMHandler (line 44) | func NewBlockingSPMHandler[T comparable](ctx context.Context, size int, ... function NewNonBlockingSPMHandler (line 66) | func NewNonBlockingSPMHandler[T comparable](ctx context.Context, maxResu... method Trigger (line 86) | func (h *StopAtFirstMatchHandler[T]) Trigger() { method Cancel (line 93) | func (h *StopAtFirstMatchHandler[T]) Cancel() { method SetOnResultCallback (line 99) | func (h *StopAtFirstMatchHandler[T]) SetOnResultCallback(fn func(T)) { method MatchCallback (line 115) | func (h *StopAtFirstMatchHandler[T]) MatchCallback(fn func()) { method run (line 124) | func (h *StopAtFirstMatchHandler[T]) run(ctx context.Context) { method Done (line 148) | func (h *StopAtFirstMatchHandler[T]) Done() <-chan struct{} { method Cancelled (line 153) | func (h *StopAtFirstMatchHandler[T]) Cancelled() bool { method FoundFirstMatch (line 159) | func (h *StopAtFirstMatchHandler[T]) FoundFirstMatch() bool { method Acquire (line 167) | func (h *StopAtFirstMatchHandler[T]) Acquire() { method Release (line 177) | func (h *StopAtFirstMatchHandler[T]) Release() { method Resize (line 186) | func (h *StopAtFirstMatchHandler[T]) Resize(ctx context.Context, size in... method Size (line 193) | func (h *StopAtFirstMatchHandler[T]) Size() int { method Wait (line 198) | func (h *StopAtFirstMatchHandler[T]) Wait() { method CombinedResults (line 211) | func (h *StopAtFirstMatchHandler[T]) CombinedResults() []T { FILE: pkg/protocols/http/operators.go method Match (line 22) | func (request *Request) Match(data map[string]interface{}, matcher *matc... function getStatusCode (line 51) | func getStatusCode(data map[string]interface{}) (int, bool) { method Extract (line 64) | func (request *Request) Extract(data map[string]interface{}, extractor *... method getMatchPart (line 85) | func (request *Request) getMatchPart(part string, data output.InternalEv... method responseToDSLMap (line 110) | func (request *Request) responseToDSLMap(resp *http.Response, host, matc... method setHashOrDefault (line 143) | func (request *Request) setHashOrDefault(data output.InternalEvent, k st... method MakeResultEvent (line 152) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappedE... method GetCompiledOperators (line 156) | func (request *Request) GetCompiledOperators() []*operators.Operators { method MakeResultEventItem (line 160) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWrap... method truncateResponse (line 211) | func (request *Request) truncateResponse(response interface{}) string { FILE: pkg/protocols/http/operators_test.go function TestResponseToDSLMap (line 19) | func TestResponseToDSLMap(t *testing.T) { function TestHTTPOperatorMatch (line 49) | func TestHTTPOperatorMatch(t *testing.T) { function TestHTTPOperatorExtract (line 137) | func TestHTTPOperatorExtract(t *testing.T) { function TestHTTPMakeResult (line 251) | func TestHTTPMakeResult(t *testing.T) { constant exampleRawRequest (line 307) | exampleRawRequest = `GET / HTTP/1.1 constant exampleRawResponse (line 320) | exampleRawResponse = exampleResponseHeader + exampleResponseBody constant exampleResponseHeader (line 321) | exampleResponseHeader = ` constant exampleResponseBody (line 338) | exampleResponseBody = ` constant exampleJSONResponseBody (line 387) | exampleJSONResponseBody = ` FILE: pkg/protocols/http/race/syncedreadcloser.go type SyncedReadCloser (line 11) | type SyncedReadCloser struct method SetOpenGate (line 46) | func (s *SyncedReadCloser) SetOpenGate(status bool) { method OpenGate (line 51) | func (s *SyncedReadCloser) OpenGate() { method OpenGateAfter (line 56) | func (s *SyncedReadCloser) OpenGateAfter(d time.Duration) { method Seek (line 63) | func (s *SyncedReadCloser) Seek(offset int64, whence int) (int64, erro... method Read (line 85) | func (s *SyncedReadCloser) Read(p []byte) (n int, err error) { method Close (line 99) | func (s *SyncedReadCloser) Close() error { method Len (line 104) | func (s *SyncedReadCloser) Len() int { function NewSyncedReadCloser (line 20) | func NewSyncedReadCloser(r io.ReadCloser) *SyncedReadCloser { function NewOpenGateWithTimeout (line 39) | func NewOpenGateWithTimeout(r io.ReadCloser, d time.Duration) *SyncedRea... FILE: pkg/protocols/http/raw/raw.go type Request (line 24) | type Request struct method TryFillCustomHeaders (line 299) | func (r *Request) TryFillCustomHeaders(headers []string) error { method ApplyAuthStrategy (line 329) | func (r *Request) ApplyAuthStrategy(strategy authx.AuthStrategy) { function Parse (line 35) | func Parse(request string, inputURL *urlutil.URL, unsafe, disablePathAut... function ParseRawRequest (line 146) | func ParseRawRequest(request string, unsafe bool) (*Request, error) { function readRawRequest (line 174) | func readRawRequest(request string, unsafe bool) (*Request, error) { function stripLeadingAnnotations (line 268) | func stripLeadingAnnotations(request string) []byte { FILE: pkg/protocols/http/raw/raw_test.go function TestTryFillCustomHeaders_BufferDetached (line 10) | func TestTryFillCustomHeaders_BufferDetached(t *testing.T) { function TestParseRawRequestWithPort (line 25) | func TestParseRawRequestWithPort(t *testing.T) { function TestParseRawRequest (line 63) | func TestParseRawRequest(t *testing.T) { function TestParseUnsafeRequestWithPath (line 85) | func TestParseUnsafeRequestWithPath(t *testing.T) { function TestParseUnsafeRequestStripsLeadingAnnotations (line 102) | func TestParseUnsafeRequestStripsLeadingAnnotations(t *testing.T) { function TestTryFillCustomHeaders (line 112) | func TestTryFillCustomHeaders(t *testing.T) { function TestDisableMergePath (line 122) | func TestDisableMergePath(t *testing.T) { function TestUnsafeWithFullURL (line 135) | func TestUnsafeWithFullURL(t *testing.T) { function TestUnsafeWithFullURLAndPath (line 147) | func TestUnsafeWithFullURLAndPath(t *testing.T) { function TestUnsafeWithFullURLAndQueryParams (line 159) | func TestUnsafeWithFullURLAndQueryParams(t *testing.T) { function TestUnsafeWithHTTPSFullURL (line 171) | func TestUnsafeWithHTTPSFullURL(t *testing.T) { function TestUnsafeWithFullURLRootPath (line 183) | func TestUnsafeWithFullURLRootPath(t *testing.T) { function TestSafeWithFullURL (line 201) | func TestSafeWithFullURL(t *testing.T) { function parseURL (line 211) | func parseURL(t *testing.T, inputurl string) *urlutil.URL { FILE: pkg/protocols/http/request.go constant defaultMaxWorkers (line 54) | defaultMaxWorkers = 150 constant maxErrorsWhenParallel (line 57) | maxErrorsWhenParallel = 3 method Type (line 69) | func (request *Request) Type() templateTypes.ProtocolType { method executeRaceRequest (line 74) | func (request *Request) executeRaceRequest(input *contextargs.Context, p... method executeParallelHTTP (line 194) | func (request *Request) executeParallelHTTP(input *contextargs.Context, ... method executeTurboHTTP (line 386) | func (request *Request) executeTurboHTTP(input *contextargs.Context, dyn... method ExecuteWithResults (line 506) | func (request *Request) ExecuteWithResults(input *contextargs.Context, d... constant drainReqSize (line 659) | drainReqSize = int64(8 * unitutils.Kilo) method executeRequest (line 662) | func (request *Request) executeRequest(input *contextargs.Context, gener... method validateNFixEvent (line 1136) | func (request *Request) validateNFixEvent(input *contextargs.Context, gr... method addCNameIfAvailable (line 1166) | func (request *Request) addCNameIfAvailable(hostname string, outputEvent... method handleSignature (line 1196) | func (request *Request) handleSignature(generatedRequest *generatedReque... method setCustomHeaders (line 1220) | func (request *Request) setCustomHeaders(req *generatedRequest) { constant CRLF (line 1239) | CRLF = "\r\n" function dumpResponse (line 1241) | func dumpResponse(event *output.InternalWrappedEvent, request *Request, ... function createResponseHexDump (line 1267) | func createResponseHexDump(event *output.InternalWrappedEvent, response ... method pruneSignatureInternalValues (line 1282) | func (request *Request) pruneSignatureInternalValues(maps ...map[string]... method newContext (line 1298) | func (request *Request) newContext(input *contextargs.Context) context.C... method markHostError (line 1306) | func (request *Request) markHostError(input *contextargs.Context, err er... method isUnresponsiveAddress (line 1313) | func (request *Request) isUnresponsiveAddress(input *contextargs.Context... FILE: pkg/protocols/http/request_annotations.go type flowMark (line 45) | type flowMark constant Once (line 48) | Once flowMark = iota function parseFlowAnnotations (line 52) | func parseFlowAnnotations(rawRequest string) (flowMark, bool) { type annotationOverrides (line 65) | type annotationOverrides struct method parseAnnotations (line 72) | func (r *Request) parseAnnotations(rawRequest string, request *retryable... function isHostPort (line 160) | func isHostPort(value string) bool { FILE: pkg/protocols/http/request_annotations_test.go function getExecuterOptions (line 17) | func getExecuterOptions(t *testing.T) *protocols.ExecutorOptions { function TestRequestParseAnnotationsSNI (line 27) | func TestRequestParseAnnotationsSNI(t *testing.T) { function TestRequestParseAnnotationsTimeout (line 58) | func TestRequestParseAnnotationsTimeout(t *testing.T) { FILE: pkg/protocols/http/request_condition.go method NeedsRequestCondition (line 14) | func (request *Request) NeedsRequestCondition() bool { function checkRequestConditionExpressions (line 35) | func checkRequestConditionExpressions(expressions ...string) bool { FILE: pkg/protocols/http/request_fuzz.go method executeFuzzingRule (line 37) | func (request *Request) executeFuzzingRule(input *contextargs.Context, p... method addHeadersToRequest (line 117) | func (request *Request) addHeadersToRequest(baseRequest *retryablehttp.R... method executeAllFuzzingRules (line 124) | func (request *Request) executeAllFuzzingRules(input *contextargs.Contex... method executeGeneratedFuzzingRequest (line 178) | func (request *Request) executeGeneratedFuzzingRequest(gr fuzz.Generated... method ShouldFuzzTarget (line 251) | func (request *Request) ShouldFuzzTarget(input *contextargs.Context) bool { method filterDataMap (line 284) | func (request *Request) filterDataMap(input *contextargs.Context) map[st... FILE: pkg/protocols/http/request_generator.go type requestGenerator (line 14) | type requestGenerator struct method nextValue (line 44) | func (r *requestGenerator) nextValue() (value string, payloads map[str... method findNextIteration (line 98) | func (r *requestGenerator) findNextIteration(sequence []string, index ... method applyMark (line 115) | func (r *requestGenerator) applyMark(request string, mark flowMark) { method wasMarked (line 124) | func (r *requestGenerator) wasMarked(request string, mark flowMark) bo... method hasMarker (line 134) | func (r *requestGenerator) hasMarker(request string, mark flowMark) bo... method Remaining (line 141) | func (r *requestGenerator) Remaining() int { method Total (line 175) | func (r *requestGenerator) Total() int { method newGenerator (line 29) | func (request *Request) newGenerator(disablePayloads bool) *requestGener... FILE: pkg/protocols/http/request_generator_test.go function TestRequestGeneratorPaths (line 13) | func TestRequestGeneratorPaths(t *testing.T) { function TestRequestGeneratorClusterBombSingle (line 29) | func TestRequestGeneratorClusterBombSingle(t *testing.T) { function TestRequestGeneratorClusterBombMultipleRaw (line 53) | func TestRequestGeneratorClusterBombMultipleRaw(t *testing.T) { FILE: pkg/protocols/http/request_test.go function TestHTTPExtractMultipleReuse (line 26) | func TestHTTPExtractMultipleReuse(t *testing.T) { function TestDisableTE (line 103) | func TestDisableTE(t *testing.T) { function TestReqURLPattern (line 194) | func TestReqURLPattern(t *testing.T) { type fakeHostErrorsCache (line 265) | type fakeHostErrorsCache struct method SetVerbose (line 267) | func (f *fakeHostErrorsCache) SetVerbose(bool) ... method Close (line 268) | func (f *fakeHostErrorsCache) Close() ... method Remove (line 269) | func (f *fakeHostErrorsCache) Remove(*contextargs.Context) ... method MarkFailed (line 270) | func (f *fakeHostErrorsCache) MarkFailed(string, *contextargs.Context,... method MarkFailedOrRemove (line 271) | func (f *fakeHostErrorsCache) MarkFailedOrRemove(string, *contextargs.... method Check (line 275) | func (f *fakeHostErrorsCache) Check(string, *contextargs.Context) bool... method IsPermanentErr (line 278) | func (f *fakeHostErrorsCache) IsPermanentErr(*contextargs.Context, err... function TestExecuteParallelHTTP_StopAtFirstMatch (line 280) | func TestExecuteParallelHTTP_StopAtFirstMatch(t *testing.T) { function TestExecuteParallelHTTP_SkipOnUnresponsiveFromCache (line 329) | func TestExecuteParallelHTTP_SkipOnUnresponsiveFromCache(t *testing.T) { function TestExecuteParallelHTTP_GoroutineLeaks (line 381) | func TestExecuteParallelHTTP_GoroutineLeaks(t *testing.T) { FILE: pkg/protocols/http/signature.go type SignatureType (line 14) | type SignatureType method String (line 45) | func (t SignatureType) String() string { constant AWSSignature (line 18) | AWSSignature SignatureType = iota + 1 constant signatureLimit (line 19) | signatureLimit function GetSupportedSignaturesTypes (line 27) | func GetSupportedSignaturesTypes() []SignatureType { function toSignatureType (line 35) | func toSignatureType(valueToMap string) (SignatureType, error) { type SignatureTypeHolder (line 50) | type SignatureTypeHolder struct method JSONSchema (line 54) | func (holder SignatureTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 66) | func (holder *SignatureTypeHolder) UnmarshalYAML(unmarshal func(interf... method UnmarshalJSON (line 81) | func (holder *SignatureTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 95) | func (holder SignatureTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 99) | func (holder SignatureTypeHolder) MarshalYAML() (interface{}, error) { function GetVariablesNamesSkipList (line 106) | func GetVariablesNamesSkipList(signature SignatureType) map[string]inter... function GetDefaultSignerVars (line 116) | func GetDefaultSignerVars(signatureType SignatureType) map[string]interf... FILE: pkg/protocols/http/signer/aws-sign.go constant defaultEmptyPayloadHash (line 20) | defaultEmptyPayloadHash = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b9... type AWSOptions (line 23) | type AWSOptions struct method Validate (line 31) | func (a *AWSOptions) Validate() error { type AWSSigner (line 43) | type AWSSigner struct method SignHTTP (line 50) | func (a *AWSSigner) SignHTTP(ctx context.Context, request *http.Reques... method getPayloadHash (line 71) | func (a *AWSSigner) getPayloadHash(request *http.Request) string { function NewAwsSigner (line 87) | func NewAwsSigner(opts *AWSOptions) (*AWSSigner, error) { function NewAwsSignerFromConfig (line 101) | func NewAwsSignerFromConfig(opts *AWSOptions) (*AWSSigner, error) { FILE: pkg/protocols/http/signer/signer.go type SignerArg (line 12) | type SignerArg type Signer (line 14) | type Signer interface type SignerArgs (line 18) | type SignerArgs interface function NewSigner (line 22) | func NewSigner(args SignerArgs) (signer Signer, err error) { function GetCtxWithArgs (line 39) | func GetCtxWithArgs(maps ...map[string]interface{}) context.Context { FILE: pkg/protocols/http/signerpool/signerpool.go function Init (line 19) | func Init(options *types.Options) error { type Configuration (line 30) | type Configuration struct method Hash (line 35) | func (c *Configuration) Hash() string { function Get (line 43) | func Get(options *types.Options, configuration *Configuration) (signer.S... FILE: pkg/protocols/http/utils.go function dump (line 14) | func dump(req *generatedRequest, reqURL string) ([]byte, error) { function getHTTPProjectCacheScope (line 31) | func getHTTPProjectCacheScope(requestDump []byte, scheme, host string) [... FILE: pkg/protocols/http/utils_test.go function TestGetHTTPProjectCacheScope_SeparatesSchemeAndPort (line 10) | func TestGetHTTPProjectCacheScope_SeparatesSchemeAndPort(t *testing.T) { FILE: pkg/protocols/http/validate.go method validate (line 5) | func (request *Request) validate() error { FILE: pkg/protocols/javascript/js.go type Request (line 45) | type Request struct method Compile (line 103) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Options (line 264) | func (r *Request) Options() *protocols.ExecutorOptions { method Requests (line 269) | func (request *Request) Requests() int { method GetID (line 282) | func (request *Request) GetID() string { method ExecuteWithResults (line 287) | func (request *Request) ExecuteWithResults(target *contextargs.Context... method executeWithResults (line 307) | func (request *Request) executeWithResults(port string, target *contex... method executeRequestParallel (line 459) | func (request *Request) executeRequestParallel(ctxParent context.Conte... method executeRequestWithPayloads (line 529) | func (request *Request) executeRequestWithPayloads(hostPort string, in... method generateEventData (line 637) | func (request *Request) generateEventData(input *contextargs.Context, ... method getArgsCopy (line 698) | func (request *Request) getArgsCopy(input *contextargs.Context, payloa... method evaluateArgs (line 713) | func (request *Request) evaluateArgs(payloadValues map[string]interfac... method Match (line 757) | func (request *Request) Match(data map[string]interface{}, matcher *ma... method Extract (line 762) | func (request *Request) Extract(data map[string]interface{}, matcher *... method MakeResultEvent (line 767) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappe... method GetCompiledOperators (line 772) | func (request *Request) GetCompiledOperators() []*operators.Operators { method Type (line 777) | func (request *Request) Type() templateTypes.ProtocolType { method getPorts (line 781) | func (request *Request) getPorts() []string { method getExcludePorts (line 798) | func (request *Request) getExcludePorts() string { method MakeResultEventItem (line 807) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWr... method UpdateOptions (line 859) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { function getAddress (line 745) | func getAddress(toTest string) (string, error) { function beautifyJavascript (line 835) | func beautifyJavascript(code string) string { function prettyPrint (line 844) | func prettyPrint(templateId string, buff string) { FILE: pkg/protocols/javascript/js_test.go function setup (line 29) | func setup() { function TestCompile (line 52) | func TestCompile(t *testing.T) { FILE: pkg/protocols/network/network.go type Request (line 20) | type Request struct method GetID (line 163) | func (request *Request) GetID() string { method Compile (line 168) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Requests (line 270) | func (request *Request) Requests() int { method SetDialer (line 274) | func (request *Request) SetDialer(dialer *fastdialer.Dialer) { method UpdateOptions (line 279) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { type addressKV (line 121) | type addressKV struct type Input (line 127) | type Input struct FILE: pkg/protocols/network/network_input_types.go type NetworkInputType (line 12) | type NetworkInputType method String (line 52) | func (t NetworkInputType) String() string { constant hexType (line 17) | hexType NetworkInputType = iota + 1 constant textType (line 19) | textType constant limit (line 20) | limit function GetSupportedNetworkInputTypes (line 30) | func GetSupportedNetworkInputTypes() []NetworkInputType { function toNetworkInputTypes (line 38) | func toNetworkInputTypes(valueToMap string) (NetworkInputType, error) { function normalizeValue (line 48) | func normalizeValue(value string) string { type NetworkInputTypeHolder (line 57) | type NetworkInputTypeHolder struct method GetType (line 61) | func (holder NetworkInputTypeHolder) GetType() NetworkInputType { method String (line 65) | func (holder NetworkInputTypeHolder) String() string { method JSONSchema (line 69) | func (holder NetworkInputTypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 81) | func (holder *NetworkInputTypeHolder) UnmarshalYAML(unmarshal func(int... method UnmarshalJSON (line 96) | func (holder *NetworkInputTypeHolder) UnmarshalJSON(data []byte) error { method MarshalJSON (line 110) | func (holder *NetworkInputTypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 114) | func (holder NetworkInputTypeHolder) MarshalYAML() (interface{}, error) { FILE: pkg/protocols/network/network_test.go function TestNetworkCompileMake (line 13) | func TestNetworkCompileMake(t *testing.T) { FILE: pkg/protocols/network/networkclientpool/clientpool.go function Init (line 12) | func Init(options *types.Options) error { type Configuration (line 17) | type Configuration struct method Hash (line 22) | func (c *Configuration) Hash() string { function Get (line 27) | func Get(options *types.Options, configuration *Configuration /*TODO rev... FILE: pkg/protocols/network/operators.go method Match (line 17) | func (request *Request) Match(data map[string]interface{}, matcher *matc... method Extract (line 41) | func (request *Request) Extract(data map[string]interface{}, extractor *... method getMatchPart (line 58) | func (request *Request) getMatchPart(part string, data output.InternalEv... method responseToDSLMap (line 74) | func (request *Request) responseToDSLMap(req, resp, raw, host, matched s... method MakeResultEvent (line 89) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappedE... method GetCompiledOperators (line 93) | func (request *Request) GetCompiledOperators() []*operators.Operators { method MakeResultEventItem (line 97) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWrap... FILE: pkg/protocols/network/operators_test.go function TestResponseToDSLMap (line 17) | func TestResponseToDSLMap(t *testing.T) { function TestNetworkOperatorMatch (line 42) | func TestNetworkOperatorMatch(t *testing.T) { function TestNetworkOperatorExtract (line 127) | func TestNetworkOperatorExtract(t *testing.T) { function TestNetworkMakeResult (line 177) | func TestNetworkMakeResult(t *testing.T) { FILE: pkg/protocols/network/request.go method Type (line 43) | func (request *Request) Type() templateTypes.ProtocolType { method getOpenPorts (line 49) | func (request *Request) getOpenPorts(target *contextargs.Context) ([]str... method ExecuteWithResults (line 87) | func (request *Request) ExecuteWithResults(target *contextargs.Context, ... method executeOnTarget (line 137) | func (request *Request) executeOnTarget(input *contextargs.Context, visi... method executeAddress (line 199) | func (request *Request) executeAddress(variables map[string]interface{},... method executeRequestWithPayloads (line 277) | func (request *Request) executeRequestWithPayloads(variables map[string]... function dumpResponse (line 461) | func dumpResponse(event *output.InternalWrappedEvent, request *Request, ... function displayCompactHexView (line 479) | func displayCompactHexView(event *output.InternalWrappedEvent, response ... function getAddress (line 494) | func getAddress(toTest string) (string, error) { function ConnReadNWithTimeout (line 505) | func ConnReadNWithTimeout(conn net.Conn, n int64, timeout time.Duration)... method markHostError (line 528) | func (request *Request) markHostError(input *contextargs.Context, err er... method isUnresponsiveAddress (line 535) | func (request *Request) isUnresponsiveAddress(input *contextargs.Context... FILE: pkg/protocols/network/request_test.go function TestNetworkExecuteWithResults (line 24) | func TestNetworkExecuteWithResults(t *testing.T) { FILE: pkg/protocols/offlinehttp/find.go method getInputPaths (line 15) | func (request *Request) getInputPaths(target string, callback func(strin... method findGlobPathMatches (line 44) | func (request *Request) findGlobPathMatches(absPath string, processed ma... method findFileMatches (line 63) | func (request *Request) findFileMatches(absPath string, processed map[st... method findDirectoryMatches (line 82) | func (request *Request) findDirectoryMatches(absPath string, processed m... FILE: pkg/protocols/offlinehttp/find_test.go function TestFindResponses (line 17) | func TestFindResponses(t *testing.T) { FILE: pkg/protocols/offlinehttp/offlinehttp.go type Request (line 11) | type Request struct method GetID (line 39) | func (request *Request) GetID() string { method Compile (line 44) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Requests (line 56) | func (request *Request) Requests() int { FILE: pkg/protocols/offlinehttp/operators.go method Match (line 21) | func (request *Request) Match(data map[string]interface{}, matcher *matc... function getStatusCode (line 50) | func getStatusCode(data map[string]interface{}) (int, bool) { method Extract (line 63) | func (request *Request) Extract(data map[string]interface{}, extractor *... function getMatchPart (line 80) | func getMatchPart(part string, data output.InternalEvent) (string, bool) { method responseToDSLMap (line 105) | func (request *Request) responseToDSLMap(resp *http.Response, host, matc... method MakeResultEvent (line 134) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappedE... method GetCompiledOperators (line 138) | func (request *Request) GetCompiledOperators() []*operators.Operators { method MakeResultEventItem (line 142) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWrap... FILE: pkg/protocols/offlinehttp/operators_test.go function TestResponseToDSLMap (line 19) | func TestResponseToDSLMap(t *testing.T) { function TestHTTPOperatorMatch (line 45) | func TestHTTPOperatorMatch(t *testing.T) { function TestHTTPOperatorExtract (line 114) | func TestHTTPOperatorExtract(t *testing.T) { function TestHTTPMakeResult (line 168) | func TestHTTPMakeResult(t *testing.T) { constant exampleRawRequest (line 219) | exampleRawRequest = `GET / HTTP/1.1 constant exampleRawResponse (line 232) | exampleRawResponse = exampleResponseHeader + exampleResponseBody constant exampleResponseHeader (line 233) | exampleResponseHeader = ` constant exampleResponseBody (line 250) | exampleResponseBody = ` FILE: pkg/protocols/offlinehttp/read_response.go function readResponseFromString (line 14) | func readResponseFromString(data string) (*http.Response, error) { function addMinorVersionToHTTP (line 41) | func addMinorVersionToHTTP(data string) string { FILE: pkg/protocols/offlinehttp/read_response_test.go function TestReadResponseFromString (line 16) | func TestReadResponseFromString(t *testing.T) { FILE: pkg/protocols/offlinehttp/request.go constant maxSize (line 27) | maxSize = 5 * unitutils.Mega method Type (line 30) | func (request *Request) Type() templateTypes.ProtocolType { method ExecuteWithResults (line 39) | func (request *Request) ExecuteWithResults(input *contextargs.Context, m... method executeRawInput (line 97) | func (request *Request) executeRawInput(data, inputString string, input ... function getURLFromRequest (line 136) | func getURLFromRequest(req *http.Request) string { method UpdateOptions (line 144) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { FILE: pkg/protocols/protocols.go type Executer (line 49) | type Executer interface type TemplateVerification (line 61) | type TemplateVerification struct type ExecutorOptions (line 67) | type ExecutorOptions struct method RateLimitTake (line 157) | func (e *ExecutorOptions) RateLimitTake() { method GetThreadsForNPayloadRequests (line 173) | func (e *ExecutorOptions) GetThreadsForNPayloadRequests(totalRequests ... method CreateTemplateCtxStore (line 182) | func (e *ExecutorOptions) CreateTemplateCtxStore() { method RemoveTemplateCtx (line 190) | func (e *ExecutorOptions) RemoveTemplateCtx(input *contextargs.MetaInp... method HasTemplateCtx (line 198) | func (e *ExecutorOptions) HasTemplateCtx(input *contextargs.MetaInput)... method GetTemplateCtx (line 207) | func (e *ExecutorOptions) GetTemplateCtx(input *contextargs.MetaInput)... method AddTemplateVars (line 226) | func (e *ExecutorOptions) AddTemplateVars(input *contextargs.MetaInput... method AddTemplateVar (line 254) | func (e *ExecutorOptions) AddTemplateVar(input *contextargs.MetaInput,... method Copy (line 274) | func (e *ExecutorOptions) Copy() *ExecutorOptions { method EncodeTemplate (line 448) | func (e *ExecutorOptions) EncodeTemplate() string { method ApplyNewEngineOptions (line 457) | func (e *ExecutorOptions) ApplyNewEngineOptions(n *ExecutorOptions) { type Request (line 321) | type Request interface type OutputEventCallback (line 349) | type OutputEventCallback function MakeDefaultResultEvent (line 351) | func MakeDefaultResultEvent(request Request, wrapped *output.InternalWra... function MakeDefaultExtractFunc (line 390) | func MakeDefaultExtractFunc(data map[string]interface{}, extractor *extr... function MakeDefaultMatchFunc (line 418) | func MakeDefaultMatchFunc(data map[string]interface{}, matcher *matchers... FILE: pkg/protocols/ssl/ssl.go type Request (line 41) | type Request struct method TmplClusterKey (line 106) | func (request *Request) TmplClusterKey() uint64 { method IsClusterable (line 111) | func (request *Request) IsClusterable() bool { method Compile (line 117) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Options (line 189) | func (r *Request) Options() *protocols.ExecutorOptions { method Requests (line 194) | func (request *Request) Requests() int { method GetID (line 199) | func (request *Request) GetID() string { method ExecuteWithResults (line 204) | func (request *Request) ExecuteWithResults(input *contextargs.Context,... method Match (line 382) | func (request *Request) Match(data map[string]interface{}, matcher *ma... method Extract (line 387) | func (request *Request) Extract(data map[string]interface{}, matcher *... method MakeResultEvent (line 392) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappe... method GetCompiledOperators (line 397) | func (request *Request) GetCompiledOperators() []*operators.Operators { method Type (line 402) | func (request *Request) Type() templateTypes.ProtocolType { method MakeResultEventItem (line 406) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWr... method UpdateOptions (line 440) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { FILE: pkg/protocols/ssl/ssl_test.go function TestSSLProtocol (line 16) | func TestSSLProtocol(t *testing.T) { FILE: pkg/protocols/utils/fields.go type JsonFields (line 13) | type JsonFields struct function GetJsonFieldsFromURL (line 23) | func GetJsonFieldsFromURL(URL string) JsonFields { function GetJsonFieldsFromMetaInput (line 53) | func GetJsonFieldsFromMetaInput(ctx *contextargs.MetaInput) JsonFields { function extractHostPort (line 84) | func extractHostPort(host, port string) (string, string) { FILE: pkg/protocols/utils/fields_test.go function TestGetJsonFieldsFromURL_HostPortExtraction (line 9) | func TestGetJsonFieldsFromURL_HostPortExtraction(t *testing.T) { function TestExtractHostPort (line 74) | func TestExtractHostPort(t *testing.T) { FILE: pkg/protocols/utils/http/requtils.go function HasTrailingSlash (line 22) | func HasTrailingSlash(data string) bool { function UpdateURLPortFromPayload (line 27) | func UpdateURLPortFromPayload(parsed *urlutil.URL, data string) (*urluti... function SetHeader (line 39) | func SetHeader(req *retryablehttp.Request, name, value string) { function ShouldDisableKeepAlive (line 49) | func ShouldDisableKeepAlive(options *types.Options) bool { FILE: pkg/protocols/utils/http/requtils_test.go function TestTrailingSlash (line 10) | func TestTrailingSlash(t *testing.T) { function TestPortUpdate (line 31) | func TestPortUpdate(t *testing.T) { FILE: pkg/protocols/utils/utils.go function CleanStructFieldJSONTag (line 14) | func CleanStructFieldJSONTag(tag string) string { function AddConfiguredClientCertToRequest (line 19) | func AddConfiguredClientCertToRequest(tlsConfig *tls.Config, options *ty... function CalculateContentLength (line 44) | func CalculateContentLength(contentLength, bodyLength int64) int64 { function HeadersToString (line 52) | func HeadersToString(headers http.Header) string { FILE: pkg/protocols/utils/utils_test.go function TestCalculateContentLength (line 9) | func TestCalculateContentLength(t *testing.T) { FILE: pkg/protocols/utils/variables.go function init (line 19) | func init() { type KnownVariable (line 39) | type KnownVariable constant BaseURL (line 42) | BaseURL KnownVariable = iota constant RootURL (line 43) | RootURL constant Hostname (line 44) | Hostname constant Host (line 45) | Host constant Port (line 46) | Port constant Path (line 47) | Path constant Query (line 48) | Query constant File (line 49) | File constant Scheme (line 50) | Scheme constant Input (line 51) | Input constant Fqdn (line 52) | Fqdn constant Rdn (line 53) | Rdn constant Dn (line 54) | Dn constant Tld (line 55) | Tld constant Sd (line 56) | Sd function GenerateVariablesWithContextArgs (line 60) | func GenerateVariablesWithContextArgs(input *contextargs.Context, traili... function GenerateDNSVariables (line 70) | func GenerateDNSVariables(domain string) map[string]interface{} { function GenerateVariables (line 98) | func GenerateVariables(input interface{}, removeTrailingSlash bool, addi... function generateVariables (line 118) | func generateVariables(inputURL *urlutil.URL, removeTrailingSlash bool) ... FILE: pkg/protocols/utils/variables_test.go function TestHTTPVariables (line 13) | func TestHTTPVariables(t *testing.T) { function TestGenerateDNSVariables (line 67) | func TestGenerateDNSVariables(t *testing.T) { function TestGenerateVariablesForDNS (line 78) | func TestGenerateVariablesForDNS(t *testing.T) { function TestGenerateVariablesForTCP (line 90) | func TestGenerateVariablesForTCP(t *testing.T) { function TestGenerateWhoISVariables (line 107) | func TestGenerateWhoISVariables(t *testing.T) { function TestGetWebsocketVariables (line 121) | func TestGetWebsocketVariables(t *testing.T) { function checkResults (line 146) | func checkResults(t *testing.T, mapSet interface{}, mapSubset interface{... FILE: pkg/protocols/websocket/websocket.go type Request (line 40) | type Request struct method Compile (line 101) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Requests (line 132) | func (request *Request) Requests() int { method GetID (line 140) | func (request *Request) GetID() string { method ExecuteWithResults (line 145) | func (request *Request) ExecuteWithResults(input *contextargs.Context,... method executeRequestWithPayloads (line 173) | func (request *Request) executeRequestWithPayloads(target *contextargs... method readWriteInputWebsocket (line 294) | func (request *Request) readWriteInputWebsocket(conn net.Conn, payload... method Match (line 364) | func (request *Request) Match(data map[string]interface{}, matcher *ma... method Extract (line 369) | func (request *Request) Extract(data map[string]interface{}, matcher *... method MakeResultEvent (line 374) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappe... method GetCompiledOperators (line 379) | func (request *Request) GetCompiledOperators() []*operators.Operators { method MakeResultEventItem (line 395) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWr... method Type (line 423) | func (request *Request) Type() templateTypes.ProtocolType { method UpdateOptions (line 428) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { type Input (line 79) | type Input struct constant parseUrlErrorMessage (line 96) | parseUrlErrorMessage = "could not parse input url" constant evaluateTemplateExpressionErrorMessage (line 97) | evaluateTemplateExpressionErrorMessage = "could not evaluate template ex... function getAddress (line 345) | func getAddress(toTest string) (string, error) { FILE: pkg/protocols/whois/rdapclientpool/clientpool.go function Init (line 15) | func Init(options *types.Options) error { function getNormalClient (line 33) | func getNormalClient() *rdap.Client { type Configuration (line 40) | type Configuration struct method Hash (line 43) | func (c *Configuration) Hash() string { function Get (line 48) | func Get(options *types.Options, configuration *Configuration) (*rdap.Cl... FILE: pkg/protocols/whois/whois.go type Request (line 32) | type Request struct method Compile (line 57) | func (request *Request) Compile(options *protocols.ExecutorOptions) er... method Requests (line 82) | func (request *Request) Requests() int { method GetID (line 87) | func (request *Request) GetID() string { method ExecuteWithResults (line 92) | func (request *Request) ExecuteWithResults(input *contextargs.Context,... method Match (line 156) | func (request *Request) Match(data map[string]interface{}, matcher *ma... method Extract (line 161) | func (request *Request) Extract(data map[string]interface{}, matcher *... method MakeResultEvent (line 166) | func (request *Request) MakeResultEvent(wrapped *output.InternalWrappe... method GetCompiledOperators (line 171) | func (request *Request) GetCompiledOperators() []*operators.Operators { method MakeResultEventItem (line 175) | func (request *Request) MakeResultEventItem(wrapped *output.InternalWr... method Type (line 196) | func (request *Request) Type() templateTypes.ProtocolType { method UpdateOptions (line 201) | func (r *Request) UpdateOptions(opts *protocols.ExecutorOptions) { FILE: pkg/reporting/client.go type Client (line 8) | type Client interface FILE: pkg/reporting/dedupe/dedupe.go type Storage (line 20) | type Storage struct method Clear (line 53) | func (s *Storage) Clear() { method Close (line 66) | func (s *Storage) Close() { method Index (line 75) | func (s *Storage) Index(result *output.ResultEvent) (bool, error) { function New (line 26) | func New(dbPath string) (*Storage, error) { FILE: pkg/reporting/dedupe/dedupe_test.go function TestDedupeDuplicates (line 12) | func TestDedupeDuplicates(t *testing.T) { FILE: pkg/reporting/exporters/es/elasticsearch.go type Options (line 22) | type Options struct type data (line 44) | type data struct type Exporter (line 50) | type Exporter struct method Export (line 113) | func (exporter *Exporter) Export(event *output.ResultEvent) error { method Close (line 156) | func (exporter *Exporter) Close() error { function New (line 57) | func New(option *Options) (*Exporter, error) { FILE: pkg/reporting/exporters/jsonexporter/jsonexporter.go type Exporter (line 12) | type Exporter struct method Export (line 37) | func (exporter *Exporter) Export(event *output.ResultEvent) error { method Close (line 54) | func (exporter *Exporter) Close() error { type Options (line 19) | type Options struct function New (line 26) | func New(options *Options) (*Exporter, error) { FILE: pkg/reporting/exporters/jsonl/jsonl.go type Exporter (line 12) | type Exporter struct method Export (line 41) | func (exporter *Exporter) Export(event *output.ResultEvent) error { method WriteRows (line 66) | func (exporter *Exporter) WriteRows() error { method Close (line 105) | func (exporter *Exporter) Close() error { type Options (line 20) | type Options struct function New (line 31) | func New(options *Options) (*Exporter, error) { FILE: pkg/reporting/exporters/markdown/markdown.go constant indexFileName (line 19) | indexFileName = "index.md" constant extension (line 20) | extension = ".md" type Exporter (line 22) | type Exporter struct method Export (line 59) | func (exporter *Exporter) Export(event *output.ResultEvent) error { method Close (line 140) | func (exporter *Exporter) Close() error { type Options (line 28) | type Options struct function New (line 36) | func New(options *Options) (*Exporter, error) { function createFileName (line 117) | func createFileName(event *output.ResultEvent) string { function sanitizeFilename (line 144) | func sanitizeFilename(filename string) string { FILE: pkg/reporting/exporters/markdown/util/markdown_formatter.go type MarkdownFormatter (line 8) | type MarkdownFormatter struct method MakeBold (line 10) | func (markdownFormatter MarkdownFormatter) MakeBold(text string) string { method CreateCodeBlock (line 14) | func (markdownFormatter MarkdownFormatter) CreateCodeBlock(title strin... method CreateTable (line 19) | func (markdownFormatter MarkdownFormatter) CreateTable(headers []strin... method CreateLink (line 23) | func (markdownFormatter MarkdownFormatter) CreateLink(title string, ur... method CreateHorizontalLine (line 27) | func (markdownFormatter MarkdownFormatter) CreateHorizontalLine() stri... function escapeCodeBlockMarkdown (line 36) | func escapeCodeBlockMarkdown(text string) string { FILE: pkg/reporting/exporters/markdown/util/markdown_utils.go function CreateLink (line 11) | func CreateLink(title string, url string) string { function MakeBold (line 15) | func MakeBold(text string) string { function CreateTable (line 19) | func CreateTable(headers []string, rows [][]string) (string, error) { function CreateTableHeader (line 44) | func CreateTableHeader(headers ...string) string { function CreateTableRow (line 54) | func CreateTableRow(elements ...string) string { function CreateHeading3 (line 58) | func CreateHeading3(text string) string { function CreateHorizontalLine (line 62) | func CreateHorizontalLine() string { FILE: pkg/reporting/exporters/markdown/util/markdown_utils_test.go function TestMarkDownHeaderCreation (line 10) | func TestMarkDownHeaderCreation(t *testing.T) { function TestCreateTemplateInfoTableTooManyColumns (line 29) | func TestCreateTemplateInfoTableTooManyColumns(t *testing.T) { function TestCreateTemplateInfoTable1Column (line 41) | func TestCreateTemplateInfoTable1Column(t *testing.T) { function TestCreateTemplateInfoTable2Columns (line 55) | func TestCreateTemplateInfoTable2Columns(t *testing.T) { function TestCreateTemplateInfoTable3Columns (line 73) | func TestCreateTemplateInfoTable3Columns(t *testing.T) { function TestEscapeCodeBlockMarkdown (line 93) | func TestEscapeCodeBlockMarkdown(t *testing.T) { FILE: pkg/reporting/exporters/mongo/mongo.go type Exporter (line 18) | type Exporter struct method Export (line 93) | func (exporter *Exporter) Export(event *output.ResultEvent) error { method WriteRows (line 118) | func (exporter *Exporter) WriteRows() error { method Close (line 137) | func (exporter *Exporter) Close() error { type Options (line 27) | type Options struct function New (line 40) | func New(options *Options) (*Exporter, error) { FILE: pkg/reporting/exporters/pdf/pdf.go constant defaultFile (line 18) | defaultFile = "nuclei-report.pdf" constant maxRawLen (line 19) | maxRawLen = 4096 type Options (line 23) | type Options struct type Exporter (line 31) | type Exporter struct method Export (line 53) | func (e *Exporter) Export(event *output.ResultEvent) error { method Close (line 77) | func (e *Exporter) Close() error { function New (line 38) | func New(options *Options) (*Exporter, error) { function generate (line 95) | func generate(opts *Options, results []output.ResultEvent) error { function renderHeader (line 108) | func renderHeader(doc *fpdf.Fpdf) { type rgb (line 120) | type rgb struct function colorFor (line 133) | func colorFor(sev string) (int, int, int) { function capitalize (line 140) | func capitalize(s string) string { function renderSummary (line 147) | func renderSummary(doc *fpdf.Fpdf, results []output.ResultEvent) { function renderFindings (line 179) | func renderFindings(doc *fpdf.Fpdf, results []output.ResultEvent) { function renderCodeBlock (line 217) | func renderCodeBlock(doc *fpdf.Fpdf, label, content string) { function safeStr (line 228) | func safeStr(s string) string { FILE: pkg/reporting/exporters/pdf/pdf_test.go function makeEvent (line 17) | func makeEvent(sev severity.Severity) *output.ResultEvent { function TestNew_Defaults (line 35) | func TestNew_Defaults(t *testing.T) { function TestNew_CustomFile (line 41) | func TestNew_CustomFile(t *testing.T) { function TestExport_NilEvent (line 47) | func TestExport_NilEvent(t *testing.T) { function TestClose_EmptyResults (line 54) | func TestClose_EmptyResults(t *testing.T) { function TestClose_WritesFile (line 64) | func TestClose_WritesFile(t *testing.T) { function TestExport_OmitRaw (line 77) | func TestExport_OmitRaw(t *testing.T) { function TestExport_Concurrency (line 90) | func TestExport_Concurrency(t *testing.T) { function TestSafeStr_ReplacesNonLatin1 (line 112) | func TestSafeStr_ReplacesNonLatin1(t *testing.T) { FILE: pkg/reporting/exporters/sarif/sarif.go type Exporter (line 17) | type Exporter struct method addToolDetails (line 45) | func (exporter *Exporter) addToolDetails() { method getSeverity (line 79) | func (exporter *Exporter) getSeverity(severity string) (sarif.Level, s... method Export (line 97) | func (exporter *Exporter) Export(event *output.ResultEvent) error { method Close (line 176) | func (exporter *Exporter) Close() error { type Options (line 26) | type Options struct function New (line 32) | func New(options *Options) (*Exporter, error) { FILE: pkg/reporting/exporters/splunk/splunkhec.go type Options (line 21) | type Options struct type data (line 37) | type data struct type Exporter (line 42) | type Exporter struct method Export (line 100) | func (exporter *Exporter) Export(event *output.ResultEvent) error { method Close (line 136) | func (exporter *Exporter) Close() error { function New (line 49) | func New(option *Options) (*Exporter, error) { FILE: pkg/reporting/format/format.go type ResultFormatter (line 3) | type ResultFormatter interface FILE: pkg/reporting/format/format_utils.go function Summary (line 19) | func Summary(event *output.ResultEvent) string { function GetMatchedTemplateName (line 25) | func GetMatchedTemplateName(event *output.ResultEvent) string { type reportMetadataEditorHook (line 38) | type reportMetadataEditorHook function CreateReportDescription (line 45) | func CreateReportDescription(event *output.ResultEvent, formatter Result... function CreateTemplateInfoTable (line 165) | func CreateTemplateInfoTable(templateInfo *model.Info, formatter ResultF... function generateCVSSMetricsFromClassification (line 205) | func generateCVSSMetricsFromClassification(classification *model.Classif... function generateCVECWEIDLinksFromClassification (line 220) | func generateCVECWEIDLinksFromClassification(classification *model.Class... function lineBreakToHTML (line 250) | func lineBreakToHTML(text string) string { FILE: pkg/reporting/format/format_utils_test.go function TestToMarkdownTableString (line 16) | func TestToMarkdownTableString(t *testing.T) { function TestCreateReportDescription_MarkdownInjection (line 52) | func TestCreateReportDescription_MarkdownInjection(t *testing.T) { FILE: pkg/reporting/options.go type Options (line 23) | type Options struct FILE: pkg/reporting/reporting.go type Tracker (line 45) | type Tracker interface type Exporter (line 57) | type Exporter interface type ReportingClient (line 65) | type ReportingClient struct method RegisterTracker (line 252) | func (c *ReportingClient) RegisterTracker(tracker Tracker) { method RegisterExporter (line 257) | func (c *ReportingClient) RegisterExporter(exporter Exporter) { method Close (line 262) | func (c *ReportingClient) Close() { method CreateIssue (line 293) | func (c *ReportingClient) CreateIssue(event *output.ResultEvent) error { method CloseIssue (line 350) | func (c *ReportingClient) CloseIssue(event *output.ResultEvent) error { method GetReportingOptions (line 362) | func (c *ReportingClient) GetReportingOptions() *Options { method Clear (line 366) | func (c *ReportingClient) Clear() { type IssueTrackerStats (line 74) | type IssueTrackerStats struct function New (line 80) | func New(options *Options, db string, doNotDedupe bool) (Client, error) { function CreateConfigIfNotExists (line 214) | func CreateConfigIfNotExists() error { FILE: pkg/reporting/trackers/filters/filters.go type CreateIssueResponse (line 13) | type CreateIssueResponse struct type Filter (line 20) | type Filter struct method GetMatch (line 26) | func (filter *Filter) GetMatch(event *output.ResultEvent) bool { function isTagMatch (line 30) | func isTagMatch(event *output.ResultEvent, filter *Filter) bool { function isSeverityMatch (line 46) | func isSeverityMatch(event *output.ResultEvent, filter *Filter) bool { FILE: pkg/reporting/trackers/gitea/gitea.go type Integration (line 19) | type Integration struct method CreateIssue (line 89) | func (i *Integration) CreateIssue(event *output.ResultEvent) (*filters... method CloseIssue (line 141) | func (i *Integration) CloseIssue(event *output.ResultEvent) error { method ShouldFilter (line 147) | func (i *Integration) ShouldFilter(event *output.ResultEvent) bool { method findIssueByTitle (line 159) | func (i *Integration) findIssueByTitle(title string) (*gitea.Issue, er... method getLabelIDsByNames (line 200) | func (i *Integration) getLabelIDsByNames(labels []string) ([]int64, er... method Name (line 241) | func (i *Integration) Name() string { type Options (line 25) | type Options struct function New (line 57) | func New(options *Options) (*Integration, error) { FILE: pkg/reporting/trackers/github/github.go type Integration (line 23) | type Integration struct method CreateIssue (line 86) | func (i *Integration) CreateIssue(event *output.ResultEvent) (*filters... method CloseIssue (line 148) | func (i *Integration) CloseIssue(event *output.ResultEvent) error { method Name (line 169) | func (i *Integration) Name() string { method ShouldFilter (line 174) | func (i *Integration) ShouldFilter(event *output.ResultEvent) bool { method findIssueByTitle (line 186) | func (i *Integration) findIssueByTitle(ctx context.Context, title stri... type Options (line 29) | type Options struct function New (line 58) | func New(options *Options) (*Integration, error) { FILE: pkg/reporting/trackers/gitlab/gitlab.go type Integration (line 17) | type Integration struct method CreateIssue (line 76) | func (i *Integration) CreateIssue(event *output.ResultEvent) (*filters... method Name (line 135) | func (i *Integration) Name() string { method CloseIssue (line 139) | func (i *Integration) CloseIssue(event *output.ResultEvent) error { method findIssueByTitle (line 159) | func (i *Integration) findIssueByTitle(title string) (*gitlab.Issue, e... method ShouldFilter (line 203) | func (i *Integration) ShouldFilter(event *output.ResultEvent) bool { type Options (line 24) | type Options struct function New (line 56) | func New(options *Options) (*Integration, error) { FILE: pkg/reporting/trackers/jira/jira.go type Formatter (line 28) | type Formatter struct method MakeBold (line 146) | func (jiraFormatter *Formatter) MakeBold(text string) string { method CreateCodeBlock (line 150) | func (jiraFormatter *Formatter) CreateCodeBlock(title string, content ... method CreateTable (line 155) | func (jiraFormatter *Formatter) CreateTable(headers []string, rows [][... method CreateLink (line 165) | func (jiraFormatter *Formatter) CreateLink(title string, url string) s... type TemplateContext (line 33) | type TemplateContext struct function buildTemplateContext (line 45) | func buildTemplateContext(event *output.ResultEvent) *TemplateContext { function evaluateTemplate (line 66) | func evaluateTemplate(templateStr string, ctx *TemplateContext) (string,... type Integration (line 170) | type Integration struct method evaluateCustomFieldValue (line 101) | func (i *Integration) evaluateCustomFieldValue(value string, templateC... method Name (line 264) | func (i *Integration) Name() string { method CreateNewIssue (line 269) | func (i *Integration) CreateNewIssue(event *output.ResultEvent) (*filt... method getIssueResponseFromJira (line 355) | func (i *Integration) getIssueResponseFromJira(issue *jira.Issue) (*fi... method CreateIssue (line 380) | func (i *Integration) CreateIssue(event *output.ResultEvent) (*filters... method CloseIssue (line 402) | func (i *Integration) CloseIssue(event *output.ResultEvent) error { method FindExistingIssue (line 442) | func (i *Integration) FindExistingIssue(event *output.ResultEvent, use... method ShouldFilter (line 523) | func (i *Integration) ShouldFilter(event *output.ResultEvent) bool { type Options (line 180) | type Options struct function New (line 226) | func New(options *Options) (*Integration, error) { FILE: pkg/reporting/trackers/jira/jira_test.go type recordingTransport (line 18) | type recordingTransport struct method RoundTrip (line 23) | func (rt *recordingTransport) RoundTrip(req *http.Request) (*http.Resp... function TestLinkCreation (line 31) | func TestLinkCreation(t *testing.T) { function TestHorizontalLineCreation (line 37) | func TestHorizontalLineCreation(t *testing.T) { function TestTableCreation (line 43) | func TestTableCreation(t *testing.T) { function Test_ShouldFilter_Tracker (line 61) | func Test_ShouldFilter_Tracker(t *testing.T) { function TestTemplateEvaluation (line 91) | func TestTemplateEvaluation(t *testing.T) { function TestJiraLive_SearchV2UsesJqlEndpoint (line 209) | func TestJiraLive_SearchV2UsesJqlEndpoint(t *testing.T) { FILE: pkg/reporting/trackers/linear/jsonutil/jsonutil.go function UnmarshalGraphQL (line 24) | func UnmarshalGraphQL(data []byte, v any) error { type decoder (line 46) | type decoder struct method Decode (line 64) | func (d *decoder) Decode(v any) error { method decode (line 74) | func (d *decoder) decode() error { method pushState (line 229) | func (d *decoder) pushState(s json.Delim) { method popState (line 235) | func (d *decoder) popState() { method state (line 240) | func (d *decoder) state() json.Delim { method popAllVs (line 248) | func (d *decoder) popAllVs() { function fieldByGraphQLName (line 261) | func fieldByGraphQLName(v reflect.Value, name string) reflect.Value { function hasGraphQLName (line 275) | func hasGraphQLName(f reflect.StructField, name string) bool { function isGraphQLFragment (line 296) | func isGraphQLFragment(f reflect.StructField) bool { function unmarshalValue (line 308) | func unmarshalValue(value json.Token, v reflect.Value) error { FILE: pkg/reporting/trackers/linear/linear.go type Integration (line 25) | type Integration struct method CreateIssue (line 79) | func (i *Integration) CreateIssue(event *output.ResultEvent) (*filters... method createIssueLinear (line 228) | func (i *Integration) createIssueLinear(ctx context.Context, title, de... method findIssueByTitle (line 264) | func (i *Integration) findIssueByTitle(ctx context.Context, title stri... method Name (line 287) | func (i *Integration) Name() string { method CloseIssue (line 291) | func (i *Integration) CloseIssue(event *output.ResultEvent) error { method ShouldFilter (line 299) | func (i *Integration) ShouldFilter(event *output.ResultEvent) bool { method doGraphqlRequest (line 364) | func (i *Integration) doGraphqlRequest(ctx context.Context, query stri... type Options (line 32) | type Options struct function New (line 56) | func New(options *Options) (*Integration, error) { function priorityFromSeverity (line 150) | func priorityFromSeverity(sev severity.Severity) float64 { type createIssueMutation (line 165) | type createIssueMutation struct constant createIssueGraphQLMutation (line 180) | createIssueGraphQLMutation = `mutation CreateIssue($input: IssueCreateIn... constant searchExistingTicketQuery (line 194) | searchExistingTicketQuery = `query ($teamID: ID, $projectID: ID, $title:... constant existingIssueUpdateStateMutation (line 213) | existingIssueUpdateStateMutation = `mutation IssueUpdate($issueUpdateInp... constant commentCreateExistingTicketMutation (line 220) | commentCreateExistingTicketMutation = `mutation CommentCreate($commentCr... type linearIssue (line 311) | type linearIssue struct type findExistingIssuesSearch (line 321) | type findExistingIssuesSearch struct type addHeaderTransport (line 328) | type addHeaderTransport struct method RoundTrip (line 333) | func (adt *addHeaderTransport) RoundTrip(req *http.Request) (*http.Res... constant linearPriorityNone (line 339) | linearPriorityNone = float64(0) constant linearPriorityCritical (line 340) | linearPriorityCritical = float64(1) constant linearPriorityHigh (line 341) | linearPriorityHigh = float64(2) constant linearPriorityMedium (line 342) | linearPriorityMedium = float64(3) constant linearPriorityLow (line 343) | linearPriorityLow = float64(4) type errorsGraphql (line 350) | type errorsGraphql method Error (line 359) | func (e errorsGraphql) Error() string { FILE: pkg/scan/charts/charts.go type ScanEventsCharts (line 15) | type ScanEventsCharts struct method PrintInfo (line 21) | func (sc *ScanEventsCharts) PrintInfo() { method Start (line 80) | func (sc *ScanEventsCharts) Start(addr string) { function NewScanEventsCharts (line 34) | func NewScanEventsCharts(eventsDir string) (*ScanEventsCharts, error) { FILE: pkg/scan/charts/echarts.go constant TopK (line 18) | TopK = 50 constant SpacerHeight (line 19) | SpacerHeight = "50px" method AllCharts (line 22) | func (s *ScanEventsCharts) AllCharts(c echo.Context) error { method GenerateHTML (line 27) | func (s *ScanEventsCharts) GenerateHTML(filePath string) error { method allCharts (line 40) | func (s *ScanEventsCharts) allCharts(c echo.Context) *components.Page { method TotalRequestsOverTime (line 59) | func (s *ScanEventsCharts) TotalRequestsOverTime(c echo.Context) error { method totalRequestsOverTime (line 65) | func (s *ScanEventsCharts) totalRequestsOverTime(c echo.Context) *charts... method TopSlowTemplates (line 125) | func (s *ScanEventsCharts) TopSlowTemplates(c echo.Context) error { method topSlowTemplates (line 131) | func (s *ScanEventsCharts) topSlowTemplates(c echo.Context) *charts.Kline { method RequestsVSInterval (line 215) | func (s *ScanEventsCharts) RequestsVSInterval(c echo.Context) error { method requestsVSInterval (line 221) | func (s *ScanEventsCharts) requestsVSInterval(c echo.Context) *charts.Li... method ConcurrencyVsTime (line 287) | func (s *ScanEventsCharts) ConcurrencyVsTime(c echo.Context) error { method concurrencyVsTime (line 293) | func (s *ScanEventsCharts) concurrencyVsTime(c echo.Context) *charts.Line { function getCategoryRequestCount (line 375) | func getCategoryRequestCount(values []events.ScanEvent) map[string][]eve... FILE: pkg/scan/events/scan_noop.go function AddScanEvent (line 6) | func AddScanEvent(event ScanEvent) { function InitWithConfig (line 9) | func InitWithConfig(config *ScanConfig, statsDirectory string) { function Close (line 12) | func Close() { FILE: pkg/scan/events/stats_build.go type ScanStatsWorker (line 22) | type ScanStatsWorker struct method initEventsFile (line 55) | func (s *ScanStatsWorker) initEventsFile() error { method AddScanEvent (line 66) | func (s *ScanStatsWorker) AddScanEvent(event ScanEvent) { method Close (line 85) | func (s *ScanStatsWorker) Close() { function InitWithConfig (line 31) | func InitWithConfig(config *ScanConfig, statsDirectory string) { function AddScanEvent (line 77) | func AddScanEvent(event ScanEvent) { function Close (line 96) | func Close() { FILE: pkg/scan/events/utils.go type ScanEventWorker (line 7) | type ScanEventWorker interface type ScanStatus (line 13) | type ScanStatus constant ScanStarted (line 16) | ScanStarted ScanStatus = "scan_start" constant ScanFinished (line 17) | ScanFinished ScanStatus = "scan_end" constant ConfigFile (line 21) | ConfigFile = "config.json" constant EventsFile (line 22) | EventsFile = "events.jsonl" type ScanEvent (line 26) | type ScanEvent struct type ScanConfig (line 37) | type ScanConfig struct FILE: pkg/scan/scan_context.go type ScanContextOption (line 14) | type ScanContextOption function WithEvents (line 16) | func WithEvents() ScanContextOption { type ScanContext (line 22) | type ScanContext struct method Context (line 52) | func (s *ScanContext) Context() context.Context { method GenerateErrorMessage (line 56) | func (s *ScanContext) GenerateErrorMessage() error { method GenerateResult (line 61) | func (s *ScanContext) GenerateResult() []*output.ResultEvent { method LogEvent (line 69) | func (s *ScanContext) LogEvent(e *output.InternalWrappedEvent) { method LogError (line 92) | func (s *ScanContext) LogError(err error) { method LogWarning (line 119) | func (s *ScanContext) LogWarning(format string, args ...any) { function NewScanContext (line 47) | func NewScanContext(ctx context.Context, input *contextargs.Context) *Sc... FILE: pkg/templates/cache.go type Cache (line 12) | type Cache struct method Has (line 55) | func (t *Cache) Has(template string) (*Template, []byte, error) { method Store (line 71) | func (t *Cache) Store(id string, tpl *Template, raw []byte, err error) { method StoreWithoutRaw (line 84) | func (t *Cache) StoreWithoutRaw(id string, tpl *Template, err error) { method Get (line 97) | func (t *Cache) Get(id string) (*Template, error) { method Purge (line 106) | func (t *Cache) Purge() { function NewCache (line 17) | func NewCache() *Cache { type parsedTemplate (line 23) | type parsedTemplate struct method setModTime (line 32) | func (p *parsedTemplate) setModTime(id string) { method isValid (line 40) | func (p *parsedTemplate) isValid(templatePath string) bool { FILE: pkg/templates/cache_test.go function TestCache (line 13) | func TestCache(t *testing.T) { function TestCacheFileBased (line 29) | func TestCacheFileBased(t *testing.T) { function TestCacheFileDeletion (line 65) | func TestCacheFileDeletion(t *testing.T) { function TestCacheStoreWithoutRaw (line 100) | func TestCacheStoreWithoutRaw(t *testing.T) { function TestCacheGet (line 115) | func TestCacheGet(t *testing.T) { function TestCachePurge (line 134) | func TestCachePurge(t *testing.T) { function TestCacheNonFileTemplates (line 158) | func TestCacheNonFileTemplates(t *testing.T) { function TestCacheFileBasedStoreWithoutRaw (line 173) | func TestCacheFileBasedStoreWithoutRaw(t *testing.T) { FILE: pkg/templates/cluster.go function Cluster (line 46) | func Cluster(list []*Template) [][]*Template { function ClusterID (line 113) | func ClusterID(templates []*Template) string { function ClusterTemplates (line 127) | func ClusterTemplates(templatesList []*Template, options *protocols.Exec... type ClusterExecuter (line 178) | type ClusterExecuter struct method Compile (line 238) | func (e *ClusterExecuter) Compile() error { method Requests (line 243) | func (e *ClusterExecuter) Requests() int { method Execute (line 250) | func (e *ClusterExecuter) Execute(ctx *scan.ScanContext) (bool, error) { method ExecuteWithResults (line 338) | func (e *ClusterExecuter) ExecuteWithResults(ctx *scan.ScanContext) ([... type clusteredOperator (line 185) | type clusteredOperator struct function NewClusterExecuter (line 195) | func NewClusterExecuter(requests []*Template, options *protocols.Executo... FILE: pkg/templates/cluster_test.go function TestClusterTemplates (line 14) | func TestClusterTemplates(t *testing.T) { FILE: pkg/templates/compile.go constant Unsigned (line 39) | Unsigned = "unsigned" function init (line 42) | func init() { function updateRequestOptions (line 50) | func updateRequestOptions(template *Template) { function parseFromSource (line 104) | func parseFromSource(filePath string, preprocessor Preprocessor, options... function getParser (line 156) | func getParser(options *protocols.ExecutorOptions) *Parser { function Parse (line 167) | func Parse(filePath string, preprocessor Preprocessor, options *protocol... method isGlobalMatchersEnabled (line 252) | func (template *Template) isGlobalMatchersEnabled() bool { method parseSelfContainedRequests (line 266) | func (template *Template) parseSelfContainedRequests() { method Requests (line 287) | func (template *Template) Requests() int { method compileProtocolRequests (line 302) | func (template *Template) compileProtocolRequests(options *protocols.Exe... method convertRequestToProtocolsRequest (line 362) | func (template *Template) convertRequestToProtocolsRequest(requests inte... method compileOfflineHTTPRequest (line 381) | func (template *Template) compileOfflineHTTPRequest(options *protocols.E... function ParseTemplateFromReader (line 414) | func ParseTemplateFromReader(reader io.Reader, preprocessor Preprocessor... function parseTemplate (line 481) | func parseTemplate(data []byte, srcOptions *protocols.ExecutorOptions) (... function parseTemplateNoVerify (line 492) | func parseTemplateNoVerify(data []byte, srcOptions *protocols.ExecutorOp... function applyTemplateVerification (line 592) | func applyTemplateVerification(template *Template, data []byte) { function isCachedTemplateValid (line 634) | func isCachedTemplateValid(template *Template) bool { function GetJsCompiler (line 683) | func GetJsCompiler() *compiler.Compiler { FILE: pkg/templates/compile_bench_test.go function BenchmarkParse (line 12) | func BenchmarkParse(b *testing.B) { function BenchmarkParseTemplateFromReader (line 27) | func BenchmarkParseTemplateFromReader(b *testing.B) { FILE: pkg/templates/compile_test.go function setup (line 37) | func setup() { function Test_ParseFromURL (line 60) | func Test_ParseFromURL(t *testing.T) { function Test_ParseFromFile (line 110) | func Test_ParseFromFile(t *testing.T) { function Test_ParseWorkflow (line 155) | func Test_ParseWorkflow(t *testing.T) { function Test_ParseWorkflowWithGlobalMatchers (line 188) | func Test_ParseWorkflowWithGlobalMatchers(t *testing.T) { function Test_WrongTemplate (line 208) | func Test_WrongTemplate(t *testing.T) { function TestWrongWorkflow (line 222) | func TestWrongWorkflow(t *testing.T) { FILE: pkg/templates/extensions/extensions.go constant JSON (line 4) | JSON = ".json" constant YAML (line 5) | YAML = ".yaml" constant YML (line 6) | YML = ".yml" FILE: pkg/templates/log.go function TemplateLogMessage (line 21) | func TemplateLogMessage(id, name string, authors []string, templateSever... function appendAtSignToAuthors (line 34) | func appendAtSignToAuthors(authors []string) string { function PrintDeprecatedProtocolNameMsgIfApplicable (line 52) | func PrintDeprecatedProtocolNameMsgIfApplicable(isSilent bool, verbose b... FILE: pkg/templates/log_test.go function Test_appendAtSignToAuthors (line 9) | func Test_appendAtSignToAuthors(t *testing.T) { function Test_appendAtSignToMissingAuthors (line 14) | func Test_appendAtSignToMissingAuthors(t *testing.T) { function Test_appendAtSignToOneAuthor (line 22) | func Test_appendAtSignToOneAuthor(t *testing.T) { FILE: pkg/templates/parser.go type Parser (line 21) | type Parser struct method Cache (line 57) | func (p *Parser) Cache() *Cache { method CompiledCache (line 62) | func (p *Parser) CompiledCache() *Cache { method ParsedCount (line 66) | func (p *Parser) ParsedCount() int { method CompiledCount (line 72) | func (p *Parser) CompiledCount() int { method LoadTemplate (line 86) | func (p *Parser) LoadTemplate(templatePath string, t any, extraTags []... method ParseTemplate (line 129) | func (p *Parser) ParseTemplate(templatePath string, catalog catalog.Ca... method LoadWorkflow (line 196) | func (p *Parser) LoadWorkflow(templatePath string, catalog catalog.Cat... function NewParser (line 40) | func NewParser() *Parser { function NewParserWithParsedCache (line 49) | func NewParserWithParsedCache(cache *Cache) *Parser { function checkOpenFileError (line 78) | func checkOpenFileError(err error) bool { FILE: pkg/templates/parser_stats.go constant SyntaxWarningStats (line 4) | SyntaxWarningStats = "syntax-warnings" constant SyntaxErrorStats (line 5) | SyntaxErrorStats = "syntax-errors" constant RuntimeWarningsStats (line 6) | RuntimeWarningsStats = "runtime-warnings" constant SkippedCodeTmplTamperedStats (line 7) | SkippedCodeTmplTamperedStats = "unsigned-warnings" constant ExcludedHeadlessTmplStats (line 8) | ExcludedHeadlessTmplStats = "headless-flag-missing-warnings" constant TemplatesExcludedStats (line 9) | TemplatesExcludedStats = "templates-executed" constant ExcludedCodeTmplStats (line 10) | ExcludedCodeTmplStats = "code-flag-missing-warnings" constant ExcludedDastTmplStats (line 11) | ExcludedDastTmplStats = "fuzz-flag-missing-warnings" constant SkippedUnsignedStats (line 12) | SkippedUnsignedStats = "skipped-unsigned-stats" constant ExcludedSelfContainedStats (line 13) | ExcludedSelfContainedStats = "excluded-self-contained-stats" constant ExcludedFileStats (line 14) | ExcludedFileStats = "excluded-file-stats" constant SkippedRequestSignatureStats (line 15) | SkippedRequestSignatureStats = "skipped-request-signature-stats" constant ExludedDastTmplStats (line 19) | ExludedDastTmplStats = ExcludedDastTmplStats FILE: pkg/templates/parser_test.go function TestLoadTemplate (line 15) | func TestLoadTemplate(t *testing.T) { FILE: pkg/templates/parser_validate.go function validateTemplateMandatoryFields (line 13) | func validateTemplateMandatoryFields(template *Template) error { function isTemplateInfoMetadataMatch (line 39) | func isTemplateInfoMetadataMatch(tagFilter *TagFilter, template *Templat... function validateTemplateOptionalFields (line 51) | func validateTemplateOptionalFields(template *Template) error { FILE: pkg/templates/preprocessors.go type Preprocessor (line 12) | type Preprocessor interface function getPreprocessors (line 26) | func getPreprocessors(preprocessor Preprocessor) []Preprocessor { type randStrPreprocessor (line 41) | type randStrPreprocessor struct method ProcessNReturnData (line 44) | func (r *randStrPreprocessor) ProcessNReturnData(data []byte) ([]byte,... method Exists (line 70) | func (r *randStrPreprocessor) Exists(data []byte) bool { FILE: pkg/templates/signer/default.go function init (line 13) | func init() { function AddSignerToDefault (line 35) | func AddSignerToDefault(s *TemplateSigner) error { FILE: pkg/templates/signer/handler.go constant CertType (line 24) | CertType = "PD NUCLEI USER CERTIFICATE" constant PrivateKeyType (line 25) | PrivateKeyType = "PD NUCLEI USER PRIVATE KEY" constant CertFilename (line 26) | CertFilename = "nuclei-user.crt" constant PrivateKeyFilename (line 27) | PrivateKeyFilename = "nuclei-user-private-key.pem" constant CertEnvVarName (line 28) | CertEnvVarName = "NUCLEI_USER_CERTIFICATE" constant PrivateKeyEnvName (line 29) | PrivateKeyEnvName = "NUCLEI_USER_PRIVATE_KEY" type KeyHandler (line 41) | type KeyHandler struct method ReadCert (line 50) | func (k *KeyHandler) ReadCert(envName, dir string) error { method ReadPrivateKey (line 65) | func (k *KeyHandler) ReadPrivateKey(envName, dir string) error { method ParseUserCert (line 80) | func (k *KeyHandler) ParseUserCert() error { method ParsePrivateKey (line 102) | func (k *KeyHandler) ParsePrivateKey() error { method GenerateKeyPair (line 133) | func (k *KeyHandler) GenerateKeyPair() { method SaveToDisk (line 173) | func (k *KeyHandler) SaveToDisk(dir string) error { method getEnvContent (line 186) | func (k *KeyHandler) getEnvContent(name string) []byte { method generateCertWithKey (line 202) | func (k *KeyHandler) generateCertWithKey(identifier string, privateKey... method marshalPrivateKey (line 239) | func (k *KeyHandler) marshalPrivateKey(privateKey *ecdsa.PrivateKey) (... function getPassphrase (line 271) | func getPassphrase() []byte { FILE: pkg/templates/signer/handler_test.go function TestKeyHandler (line 16) | func TestKeyHandler(t *testing.T) { FILE: pkg/templates/signer/tmpl_signer.go function ExtractSignatureAndContent (line 29) | func ExtractSignatureAndContent(data []byte) (signature, content []byte) { type SignableTemplate (line 42) | type SignableTemplate interface type TemplateSigner (line 49) | type TemplateSigner struct method Identifier (line 56) | func (t *TemplateSigner) Identifier() string { method GetUserFragment (line 62) | func (t *TemplateSigner) GetUserFragment() string { method Sign (line 74) | func (t *TemplateSigner) Sign(data []byte, tmpl SignableTemplate) (str... method sign (line 117) | func (t *TemplateSigner) sign(data []byte) (string, error) { method Verify (line 131) | func (t *TemplateSigner) Verify(data []byte, tmpl SignableTemplate) (b... method verify (line 170) | func (t *TemplateSigner) verify(data, signatureData []byte) (bool, err... function NewTemplateSigner (line 181) | func NewTemplateSigner(cert, privateKey []byte) (*TemplateSigner, error) { function NewTemplateSignerFromFiles (line 220) | func NewTemplateSignerFromFiles(cert, privKey string) (*TemplateSigner, ... function NewTemplateSigVerifier (line 233) | func NewTemplateSigVerifier(cert []byte) (*TemplateSigner, error) { FILE: pkg/templates/signer/tmpl_signer_test.go constant testCertFile (line 14) | testCertFile = "../../../integration_tests/protocols/keys/ci.crt" constant testKeyFile (line 15) | testKeyFile = "../../../integration_tests/protocols/keys/ci-private-key... type mockSignableTemplate (line 18) | type mockSignableTemplate struct method GetFileImports (line 23) | func (m *mockSignableTemplate) GetFileImports() []string { method HasCodeProtocol (line 27) | func (m *mockSignableTemplate) HasCodeProtocol() bool { function TestTemplateSignerSignAndVerify (line 33) | func TestTemplateSignerSignAndVerify(t *testing.T) { FILE: pkg/templates/stats.go function init (line 5) | func init() { FILE: pkg/templates/tag_filter.go type TagFilter (line 22) | type TagFilter struct method Match (line 44) | func (tagFilter *TagFilter) Match(template *Template, extraTags []stri... function isSeverityMatch (line 86) | func isSeverityMatch(tagFilter *TagFilter, templateSeverity severity.Sev... function isAuthorMatch (line 104) | func isAuthorMatch(tagFilter *TagFilter, templateAuthors []string) bool { function isExtraTagMatch (line 119) | func isExtraTagMatch(extraTags []string, templateTags []string) bool { function isTagMatch (line 134) | func isTagMatch(tagFilter *TagFilter, templateTags []string) bool { function isTemplateTypeMatch (line 148) | func isTemplateTypeMatch(tagFilter *TagFilter, templateType types.Protoc... function isIdMatch (line 169) | func isIdMatch(tagFilter *TagFilter, templateId string) bool { function tryCollectConditionsMatchinfo (line 195) | func tryCollectConditionsMatchinfo(template *Template) map[string]interf... function collectMatcherTypes (line 305) | func collectMatcherTypes(matchers []*matchers.Matcher) []string { function collectExtractorTypes (line 313) | func collectExtractorTypes(extractors []*extractors.Extractor) []string { function isConditionMatch (line 321) | func isConditionMatch(tagFilter *TagFilter, template *Template) bool { type TagFilterConfig (line 350) | type TagFilterConfig struct function NewTagFilter (line 367) | func NewTagFilter(config *TagFilterConfig) (*TagFilter, error) { function splitCommaTrim (line 462) | func splitCommaTrim(value string) []string { function toMap (line 474) | func toMap(slice []string) map[string]struct{} { FILE: pkg/templates/tag_filter_test.go function TestTagBasedFilter (line 15) | func TestTagBasedFilter(t *testing.T) { function testAdvancedFiltering (line 269) | func testAdvancedFiltering(t *testing.T, includeConditions []string, tem... FILE: pkg/templates/template_sign.go function UseOptionsForSigner (line 36) | func UseOptionsForSigner(opts *types.Options) { function TemplateSignerLFA (line 44) | func TemplateSignerLFA() { function VerifyTemplateSignature (line 50) | func VerifyTemplateSignature(templatePath string) (bool, error) { function SignTemplate (line 59) | func SignTemplate(templateSigner *signer.TemplateSigner, templatePath st... function getTemplate (line 90) | func getTemplate(templatePath string) (*Template, []byte, error) { FILE: pkg/templates/templates.go type Template (line 35) | type Template struct method HasCodeProtocol (line 169) | func (template *Template) HasCodeProtocol() bool { method HasFileProtocol (line 176) | func (template *Template) HasFileProtocol() bool { method Type (line 181) | func (template *Template) Type() types.ProtocolType { method IsFuzzing (line 213) | func (template *Template) IsFuzzing() bool { method UsesRequestSignature (line 236) | func (template *Template) UsesRequestSignature() bool { method validateAllRequestIDs (line 242) | func (template *Template) validateAllRequestIDs() { method MarshalYAML (line 328) | func (template *Template) MarshalYAML() ([]byte, error) { method UnmarshalYAML (line 336) | func (template *Template) UnmarshalYAML(unmarshal func(interface{}) er... method ImportFileRefs (line 412) | func (template *Template) ImportFileRefs(options *protocols.ExecutorOp... method GetFileImports (line 506) | func (template *Template) GetFileImports() []string { method addRequestsToQueue (line 511) | func (template *Template) addRequestsToQueue(keys ...string) { method hasMultipleRequests (line 545) | func (template *Template) hasMultipleRequests() bool { method MarshalJSON (line 555) | func (template *Template) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 563) | func (template *Template) UnmarshalJSON(data []byte) error { method Requirements (line 602) | func (template *Template) Requirements() Requirements { method IsEnabledFor (line 623) | func (template *Template) IsEnabledFor(caps Capabilities) bool { type Requirements (line 593) | type Requirements struct type Capabilities (line 613) | type Capabilities struct FILE: pkg/templates/templates_doc.go function init (line 47) | func init() { function GetTemplateDoc (line 2144) | func GetTemplateDoc() *encoder.FileDoc { FILE: pkg/templates/templates_test.go function TestCachePoolZeroing (line 12) | func TestCachePoolZeroing(t *testing.T) { function TestTemplateStruct (line 38) | func TestTemplateStruct(t *testing.T) { FILE: pkg/templates/templates_utils.go function HasRequest (line 8) | func HasRequest[T protocols.Request](requests []T, n ...int) bool { method HasDNSRequest (line 19) | func (t *Template) HasDNSRequest(n ...int) bool { method HasFileRequest (line 26) | func (t *Template) HasFileRequest(n ...int) bool { method HasHTTPRequest (line 33) | func (t *Template) HasHTTPRequest(n ...int) bool { method HasHeadlessRequest (line 41) | func (t *Template) HasHeadlessRequest(n ...int) bool { method HasNetworkRequest (line 49) | func (t *Template) HasNetworkRequest(n ...int) bool { method HasSSLRequest (line 56) | func (t *Template) HasSSLRequest(n ...int) bool { method HasWebsocketRequest (line 64) | func (t *Template) HasWebsocketRequest(n ...int) bool { method HasWHOISRequest (line 71) | func (t *Template) HasWHOISRequest(n ...int) bool { method HasCodeRequest (line 78) | func (t *Template) HasCodeRequest(n ...int) bool { method HasJavascriptRequest (line 86) | func (t *Template) HasJavascriptRequest(n ...int) bool { method HasQueueRequests (line 96) | func (t *Template) HasQueueRequests(n ...int) bool { method HasWorkflows (line 101) | func (t *Template) HasWorkflows() bool { method IsFuzzableRequest (line 109) | func (t *Template) IsFuzzableRequest() bool { method IsFlowTemplate (line 130) | func (template *Template) IsFlowTemplate() bool { method IsGlobalMatchersTemplate (line 136) | func (template *Template) IsGlobalMatchersTemplate() bool { FILE: pkg/templates/types/cluster_mappings.go type ClusterMappingsMap (line 4) | type ClusterMappingsMap struct method Get (line 14) | func (c *ClusterMappingsMap) Get(clusterID string) ([]string, bool) { method GetAll (line 23) | func (c *ClusterMappingsMap) GetAll() map[string][]string { method Copy (line 35) | func (c *ClusterMappingsMap) Copy() *ClusterMappingsMap { function NewClusterMappingsMap (line 9) | func NewClusterMappingsMap(m map[string][]string) *ClusterMappingsMap { FILE: pkg/templates/types/types.go type ProtocolType (line 15) | type ProtocolType method String (line 98) | func (t ProtocolType) String() string { constant DNSProtocol (line 21) | DNSProtocol ProtocolType = iota + 1 constant FileProtocol (line 23) | FileProtocol constant HTTPProtocol (line 25) | HTTPProtocol constant OfflineHTTPProtocol (line 27) | OfflineHTTPProtocol constant HeadlessProtocol (line 29) | HeadlessProtocol constant NetworkProtocol (line 31) | NetworkProtocol constant WorkflowProtocol (line 33) | WorkflowProtocol constant SSLProtocol (line 35) | SSLProtocol constant WebsocketProtocol (line 37) | WebsocketProtocol constant WHOISProtocol (line 39) | WHOISProtocol constant CodeProtocol (line 41) | CodeProtocol constant JavascriptProtocol (line 43) | JavascriptProtocol constant limit (line 44) | limit constant InvalidProtocol (line 45) | InvalidProtocol function GetSupportedProtocolTypes (line 64) | func GetSupportedProtocolTypes() ProtocolTypes { function SupportedProtocolsStrings (line 73) | func SupportedProtocolsStrings() []string { function toProtocolType (line 84) | func toProtocolType(valueToMap string) (ProtocolType, error) { function normalizeValue (line 94) | func normalizeValue(value string) string { type TypeHolder (line 103) | type TypeHolder struct method JSONSchema (line 107) | func (holder TypeHolder) JSONSchema() *jsonschema.Schema { method UnmarshalYAML (line 119) | func (holder *TypeHolder) UnmarshalYAML(unmarshal func(interface{}) er... method MarshalJSON (line 134) | func (holder *TypeHolder) MarshalJSON() ([]byte, error) { method MarshalYAML (line 138) | func (holder TypeHolder) MarshalYAML() (interface{}, error) { type ProtocolTypes (line 142) | type ProtocolTypes method Set (line 144) | func (protocolTypes *ProtocolTypes) Set(values string) error { method UnmarshalYAML (line 158) | func (protocolTypes *ProtocolTypes) UnmarshalYAML(unmarshal func(inter... method MarshalJSON (line 175) | func (protocolTypes ProtocolTypes) MarshalJSON() ([]byte, error) { method String (line 183) | func (protocolTypes ProtocolTypes) String() string { function setProtocolType (line 195) | func setProtocolType(protocolTypes *ProtocolTypes, value string) error { FILE: pkg/templates/workflows.go function compileWorkflow (line 15) | func compileWorkflow(path string, preprocessor Preprocessor, options *pr... function parseWorkflow (line 25) | func parseWorkflow(preprocessor Preprocessor, workflow *workflows.Workfl... function parseWorkflowTemplate (line 60) | func parseWorkflowTemplate(workflow *workflows.WorkflowTemplate, preproc... FILE: pkg/testutils/fuzzplayground/db.go function init (line 19) | func init() { function Cleanup (line 35) | func Cleanup() { type User (line 44) | type User struct function addDummyUsers (line 52) | func addDummyUsers(db *sql.DB) { function patchUnsanitizedUser (line 67) | func patchUnsanitizedUser(db *sql.DB, user User) error { function getUnsanitizedUser (line 93) | func getUnsanitizedUser(db *sql.DB, id string) (User, error) { type Posts (line 102) | type Posts struct function addDummyPosts (line 109) | func addDummyPosts(db *sql.DB) { function getUnsanitizedPostsByLang (line 130) | func getUnsanitizedPostsByLang(db *sql.DB, lang string) ([]Posts, error) { FILE: pkg/testutils/fuzzplayground/server.go function GetPlaygroundServer (line 19) | func GetPlaygroundServer() *echo.Echo { function indexHandler (line 49) | func indexHandler(ctx echo.Context) error { function infoHandler (line 68) | func infoHandler(ctx echo.Context) error { function redirectHandler (line 72) | func redirectHandler(ctx echo.Context) error { function requestHandler (line 77) | func requestHandler(ctx echo.Context) error { function emailHandler (line 91) | func emailHandler(ctx echo.Context) error { function permissionsHandler (line 105) | func permissionsHandler(ctx echo.Context) error { function numIdorHandler (line 114) | func numIdorHandler(ctx echo.Context) error { function patchUnsanitizedUserHandler (line 125) | func patchUnsanitizedUserHandler(ctx echo.Context) error { function resetPasswordHandler (line 163) | func resetPasswordHandler(c echo.Context) error { function hostHeaderLabHandler (line 183) | func hostHeaderLabHandler(c echo.Context) error { function userProfileHandler (line 204) | func userProfileHandler(ctx echo.Context) error { function getPostsHandler (line 214) | func getPostsHandler(c echo.Context) error { FILE: pkg/testutils/fuzzplayground/sqli_test.go function TestSQLInjectionBehavior (line 12) | func TestSQLInjectionBehavior(t *testing.T) { FILE: pkg/testutils/integration.go function RunNucleiTemplateAndGetResults (line 30) | func RunNucleiTemplateAndGetResults(template, url string, debug bool, ex... function RunNucleiWorkflowAndGetResults (line 35) | func RunNucleiWorkflowAndGetResults(template, url string, debug bool, ex... function RunNucleiAndGetResults (line 39) | func RunNucleiAndGetResults(isTemplate bool, template, url string, debug... function RunNucleiBareArgsAndGetResults (line 55) | func RunNucleiBareArgsAndGetResults(debug bool, env []string, extra ...s... function RunNucleiWithArgsAndGetResults (line 98) | func RunNucleiWithArgsAndGetResults(debug bool, args ...string) ([]strin... function RunNucleiArgsAndGetErrors (line 131) | func RunNucleiArgsAndGetErrors(debug bool, env []string, extra ...string... function RunNucleiArgsWithEnvAndGetResults (line 166) | func RunNucleiArgsWithEnvAndGetResults(debug bool, env []string, extra .... function RunNucleiBinaryAndGetLoadedTemplates (line 207) | func RunNucleiBinaryAndGetLoadedTemplates(nucleiBinary string, debug boo... function RunNucleiBinaryAndGetCombinedOutput (line 228) | func RunNucleiBinaryAndGetCombinedOutput(debug bool, args []string) (str... type TestCase (line 247) | type TestCase interface type TCPServer (line 253) | type TCPServer struct method Close (line 325) | func (s *TCPServer) Close() { constant serverKey (line 259) | serverKey = `-----BEGIN EC PARAMETERS----- constant serverCert (line 270) | serverCert = `-----BEGIN CERTIFICATE----- function NewTCPServer (line 287) | func NewTCPServer(tlsConfig *tls.Config, port int, handler func(conn net... function NewWebsocketServer (line 330) | func NewWebsocketServer(path string, handler func(conn net.Conn), origin... FILE: pkg/testutils/testheadless/headless_local.go constant HeadlessLocal (line 6) | HeadlessLocal = true FILE: pkg/testutils/testheadless/headless_runtime.go constant HeadlessLocal (line 6) | HeadlessLocal = false FILE: pkg/testutils/testutils.go function Init (line 31) | func Init(options *types.Options) { function Cleanup (line 37) | func Cleanup(options *types.Options) { type TemplateInfo (line 87) | type TemplateInfo struct function NewMockExecuterOptions (line 94) | func NewMockExecuterOptions(options *types.Options, info *TemplateInfo) ... type NoopWriter (line 119) | type NoopWriter struct method Write (line 122) | func (n *NoopWriter) Write(data []byte, level levels.Level) {} type MockOutputWriter (line 125) | type MockOutputWriter struct method Close (line 139) | func (m *MockOutputWriter) Close() {} method Colorizer (line 142) | func (m *MockOutputWriter) Colorizer() aurora.Aurora { method ResultCount (line 146) | func (m *MockOutputWriter) ResultCount() int { method Write (line 151) | func (m *MockOutputWriter) Write(result *output.ResultEvent) error { method Request (line 159) | func (m *MockOutputWriter) Request(templateID, url, requestType string... method WriteFailure (line 166) | func (m *MockOutputWriter) WriteFailure(wrappedEvent *output.InternalW... method RequestStatsLog (line 220) | func (m *MockOutputWriter) RequestStatsLog(statusCode, response string... method encodeTemplate (line 224) | func (w *MockOutputWriter) encodeTemplate(templatePath string) string { method WriteStoreDebugData (line 232) | func (m *MockOutputWriter) WriteStoreDebugData(host, templateID, event... function NewMockOutputWriter (line 134) | func NewMockOutputWriter(omomitTemplate bool) *MockOutputWriter { type MockProgressClient (line 234) | type MockProgressClient struct method Stop (line 237) | func (m *MockProgressClient) Stop() {} method Init (line 240) | func (m *MockProgressClient) Init(hostCount int64, rulesCount int, req... method AddToTotal (line 243) | func (m *MockProgressClient) AddToTotal(delta int64) {} method IncrementRequests (line 246) | func (m *MockProgressClient) IncrementRequests() {} method SetRequests (line 249) | func (m *MockProgressClient) SetRequests(count uint64) {} method IncrementMatched (line 252) | func (m *MockProgressClient) IncrementMatched() {} method IncrementErrorsBy (line 255) | func (m *MockProgressClient) IncrementErrorsBy(count int64) {} method IncrementFailedRequestsBy (line 259) | func (m *MockProgressClient) IncrementFailedRequestsBy(count int64) {} FILE: pkg/tmplexec/exec.go type TemplateExecuter (line 28) | type TemplateExecuter struct method Compile (line 64) | func (e *TemplateExecuter) Compile() error { method Requests (line 92) | func (e *TemplateExecuter) Requests() int { method Execute (line 101) | func (e *TemplateExecuter) Execute(ctx *scan.ScanContext) (bool, error) { method ExecuteWithResults (line 285) | func (e *TemplateExecuter) ExecuteWithResults(ctx *scan.ScanContext) (... method getTemplateType (line 308) | func (e *TemplateExecuter) getTemplateType() string { function NewTemplateExecuter (line 41) | func NewTemplateExecuter(requests []protocols.Request, options *protocol... function getErrorCause (line 264) | func getErrorCause(err error) string { FILE: pkg/tmplexec/flow/builtin/dedupe.go type Dedupe (line 12) | type Dedupe struct method Add (line 18) | func (d *Dedupe) Add(call goja.FunctionCall) goja.Value { method Values (line 46) | func (d *Dedupe) Values(call goja.FunctionCall) goja.Value { function NewDedupe (line 55) | func NewDedupe(vm *goja.Runtime) *Dedupe { function hashValue (line 63) | func hashValue(value interface{}) string { FILE: pkg/tmplexec/flow/flow_executor.go type ProtoOptions (line 32) | type ProtoOptions struct type FlowExecutor (line 38) | type FlowExecutor struct method Compile (line 110) | func (f *FlowExecutor) Compile() error { method ExecuteWithResults (line 181) | func (f *FlowExecutor) ExecuteWithResults(ctx *scan.ScanContext) error { method reconcileProgress (line 270) | func (f *FlowExecutor) reconcileProgress() { method GetRuntimeErrors (line 283) | func (f *FlowExecutor) GetRuntimeErrors() error { method ReadDataFromFile (line 292) | func (f *FlowExecutor) ReadDataFromFile(payload string) ([]string, err... method Name (line 316) | func (f *FlowExecutor) Name() string { function NewFlowExecutor (line 62) | func NewFlowExecutor(requests []protocols.Request, ctx *scan.ScanContext... FILE: pkg/tmplexec/flow/flow_executor_test.go function setup (line 24) | func setup() { function TestFlowTemplateWithIndex (line 47) | func TestFlowTemplateWithIndex(t *testing.T) { function TestFlowTemplateWithID (line 65) | func TestFlowTemplateWithID(t *testing.T) { function TestFlowWithProtoPrefix (line 84) | func TestFlowWithProtoPrefix(t *testing.T) { function TestFlowWithConditionNegative (line 106) | func TestFlowWithConditionNegative(t *testing.T) { function TestFlowWithConditionPositive (line 127) | func TestFlowWithConditionPositive(t *testing.T) { function TestFlowWithNoMatchers (line 148) | func TestFlowWithNoMatchers(t *testing.T) { FILE: pkg/tmplexec/flow/flow_internal.go method requestExecutor (line 17) | func (f *FlowExecutor) requestExecutor(runtime *goja.Runtime, reqMap map... function requestKey (line 92) | func requestKey(proto string, req protocols.Request, id string) string { method protocolResultCallback (line 101) | func (f *FlowExecutor) protocolResultCallback(req protocols.Request, mat... FILE: pkg/tmplexec/flow/util.go function hasMatchers (line 6) | func hasMatchers(all []*operators.Operators) bool { function hasOperators (line 16) | func hasOperators(all []*operators.Operators) bool { function flatten (line 25) | func flatten(v interface{}) interface{} { FILE: pkg/tmplexec/flow/util_test.go function TestHasMatchersPanicRegression (line 10) | func TestHasMatchersPanicRegression(t *testing.T) { function TestHasOperatorsPanicRegression (line 27) | func TestHasOperatorsPanicRegression(t *testing.T) { FILE: pkg/tmplexec/flow/vm.go function GetJSRuntime (line 33) | func GetJSRuntime(opts *types.Options) *goja.Runtime { function PutJSRuntime (line 48) | func PutJSRuntime(runtime *goja.Runtime, reuse bool) { function registerBuiltins (line 56) | func registerBuiltins(runtime *goja.Runtime) { FILE: pkg/tmplexec/generic/exec.go type Generic (line 17) | type Generic struct method Compile (line 32) | func (g *Generic) Compile() error { method ExecuteWithResults (line 38) | func (g *Generic) ExecuteWithResults(ctx *scan.ScanContext) error { method Name (line 93) | func (g *Generic) Name() string { function NewGenericEngine (line 24) | func NewGenericEngine(requests []protocols.Request, options *protocols.E... FILE: pkg/tmplexec/interface.go type TemplateEngine (line 26) | type TemplateEngine interface function parseScanError (line 47) | func parseScanError(msg string) string { FILE: pkg/tmplexec/multiproto/multi.go type MultiProtocol (line 19) | type MultiProtocol struct method Compile (line 35) | func (m *MultiProtocol) Compile() error { method ExecuteWithResults (line 50) | func (m *MultiProtocol) ExecuteWithResults(ctx *scan.ScanContext) error { method Name (line 142) | func (m *MultiProtocol) Name() string { function NewMultiProtocol (line 27) | func NewMultiProtocol(requests []protocols.Request, options *protocols.E... FILE: pkg/tmplexec/multiproto/multi_test.go function setup (line 26) | func setup() { function TestMultiProtoWithDynamicExtractor (line 50) | func TestMultiProtoWithDynamicExtractor(t *testing.T) { function TestMultiProtoWithProtoPrefix (line 66) | func TestMultiProtoWithProtoPrefix(t *testing.T) { function TestMain (line 82) | func TestMain(m *testing.M) { FILE: pkg/tmplexec/utils/utils.go function FillPreviousEvent (line 12) | func FillPreviousEvent(reqID string, event *output.InternalWrappedEvent,... FILE: pkg/types/interfaces.go function JSONScalarToString (line 18) | func JSONScalarToString(input interface{}) (string, error) { function ToString (line 34) | func ToString(data interface{}) string { function ToStringNSlice (line 83) | func ToStringNSlice(data interface{}) interface{} { function ToHexOrString (line 96) | func ToHexOrString(data interface{}) string { function ToStringSlice (line 111) | func ToStringSlice(i interface{}) []string { function ToByteSlice (line 130) | func ToByteSlice(i interface{}) []byte { function ToStringMap (line 151) | func ToStringMap(i interface{}) map[string]interface{} { FILE: pkg/types/nucleierr/kinds.go function isTemplateLogicKind (line 16) | func isTemplateLogicKind(err *errkit.ErrorX) bool { FILE: pkg/types/resume.go constant DefaultResumeFileName (line 14) | DefaultResumeFileName = "resume-%s.cfg" function DefaultResumeFilePath (line 16) | func DefaultResumeFilePath() string { type ResumeCfg (line 23) | type ResumeCfg struct method Clone (line 103) | func (resumeCfg *ResumeCfg) Clone() *ResumeCfg { method Compile (line 123) | func (resumeCfg *ResumeCfg) Compile() { type ResumeInfo (line 29) | type ResumeInfo struct method IsCompleted (line 38) | func (resumeInfo *ResumeInfo) IsCompleted() bool { method GetSkipUnder (line 44) | func (resumeInfo *ResumeInfo) GetSkipUnder() uint32 { method GetDoAbove (line 50) | func (resumeInfo *ResumeInfo) GetDoAbove() uint32 { method InitInFlight (line 56) | func (resumeInfo *ResumeInfo) InitInFlight() { method IsInFlight (line 64) | func (resumeInfo *ResumeInfo) IsInFlight(index uint32) bool { method Clone (line 72) | func (resumeInfo *ResumeInfo) Clone() *ResumeInfo { function NewResumeCfg (line 95) | func NewResumeCfg() *ResumeCfg { FILE: pkg/types/scanstrategy/scan_strategy.go type ScanStrategy (line 8) | type ScanStrategy method String (line 26) | func (s ScanStrategy) String() string { constant Auto (line 11) | Auto ScanStrategy = iota constant HostSpray (line 12) | HostSpray constant TemplateSpray (line 13) | TemplateSpray function init (line 18) | func init() { FILE: pkg/types/types.go constant DefaultTemplateLoadingConcurrency (line 24) | DefaultTemplateLoadingConcurrency = 50 type LoadHelperFileFunction (line 32) | type LoadHelperFileFunction type Options (line 35) | type Options struct method Copy (line 479) | func (options *Options) Copy() *Options { method SetTimeouts (line 696) | func (opts *Options) SetTimeouts(t *Timeouts) { method GetTimeouts (line 701) | func (eo *Options) GetTimeouts() *Timeouts { method ShouldLoadResume (line 766) | func (options *Options) ShouldLoadResume() bool { method ShouldSaveResume (line 771) | func (options *Options) ShouldSaveResume() bool { method ShouldFollowHTTPRedirects (line 776) | func (options *Options) ShouldFollowHTTPRedirects() bool { method HasClientCertificates (line 781) | func (options *Options) HasClientCertificates() bool { method ShouldUseHostError (line 807) | func (options *Options) ShouldUseHostError() bool { method ParseHeadlessOptionalArguments (line 811) | func (options *Options) ParseHeadlessOptionalArguments() map[string]st... method LoadHelperFile (line 829) | func (options *Options) LoadHelperFile(helperFile, templatePath string... method defaultLoadHelperFile (line 839) | func (options *Options) defaultLoadHelperFile(helperFile, templatePath... method GetValidAbsPath (line 857) | func (o *Options) GetValidAbsPath(helperFilePath, templatePath string)... method SetExecutionID (line 895) | func (options *Options) SetExecutionID(id string) { method GetExecutionID (line 902) | func (options *Options) GetExecutionID() string { type Timeouts (line 717) | type Timeouts struct method ApplyDefaults (line 744) | func (tv *Timeouts) ApplyDefaults() { function NewTimeoutVariant (line 735) | func NewTimeoutVariant(dialTimeoutSec int) *Timeouts { function DefaultOptions (line 786) | func DefaultOptions() *Options { function isHomeDir (line 909) | func isHomeDir(path string) bool { FILE: pkg/utils/capture_writer.go type CaptureWriter (line 10) | type CaptureWriter struct method Write (line 14) | func (w *CaptureWriter) Write(data []byte, level levels.Level) { FILE: pkg/utils/expand/expand.go function CIDR (line 9) | func CIDR(value string) []string { function ASN (line 19) | func ASN(value string) []string { FILE: pkg/utils/http_probe.go function determineSchemeOrder (line 31) | func determineSchemeOrder(input string) []string { function ProbeURL (line 52) | func ProbeURL(input string, httpxclient *httpx.HTTPX) string { function normalizeProbeInput (line 74) | func normalizeProbeInput(input string) string { type inputLivenessChecker (line 85) | type inputLivenessChecker struct method ProbeURL (line 90) | func (i *inputLivenessChecker) ProbeURL(input string) (string, error) { method Close (line 94) | func (i *inputLivenessChecker) Close() error { function GetInputLivenessChecker (line 102) | func GetInputLivenessChecker(client *httpx.HTTPX) types.InputLivenessPro... FILE: pkg/utils/http_probe_test.go function TestDetermineSchemeOrder (line 9) | func TestDetermineSchemeOrder(t *testing.T) { function TestDetermineSchemeOrderWithHighPorts (line 39) | func TestDetermineSchemeOrderWithHighPorts(t *testing.T) { function TestDetermineSchemeOrderAmbiguousIPv6Literal (line 61) | func TestDetermineSchemeOrderAmbiguousIPv6Literal(t *testing.T) { function TestNormalizeProbeInput (line 78) | func TestNormalizeProbeInput(t *testing.T) { FILE: pkg/utils/index.go function TransformIndex (line 5) | func TransformIndex[T any](arr []T, index int) int { FILE: pkg/utils/insertion_ordered_map.go type InsertionOrderedStringMap (line 11) | type InsertionOrderedStringMap struct method Len (line 32) | func (insertionOrderedStringMap *InsertionOrderedStringMap) Len() int { method UnmarshalYAML (line 36) | func (insertionOrderedStringMap *InsertionOrderedStringMap) UnmarshalY... method UnmarshalJSON (line 51) | func (insertionOrderedStringMap *InsertionOrderedStringMap) UnmarshalJ... method ForEach (line 105) | func (insertionOrderedStringMap *InsertionOrderedStringMap) ForEach(fn... method Set (line 111) | func (insertionOrderedStringMap *InsertionOrderedStringMap) Set(key st... function NewEmptyInsertionOrderedStringMap (line 16) | func NewEmptyInsertionOrderedStringMap(size int) *InsertionOrderedString... function NewInsertionOrderedStringMap (line 23) | func NewInsertionOrderedStringMap(stringMap map[string]interface{}) *Ins... function toString (line 64) | func toString(data interface{}) interface{} { FILE: pkg/utils/insertion_ordered_map_test.go function TestUnmarshalInsertionOrderedMapYAML (line 10) | func TestUnmarshalInsertionOrderedMapYAML(t *testing.T) { FILE: pkg/utils/json/json.go function SetConfig (line 25) | func SetConfig(config *sonic.Config) { FILE: pkg/utils/json/jsoncodec.go type Marshaler (line 5) | type Marshaler interface type Unmarshaler (line 17) | type Unmarshaler interface type JSONCodec (line 23) | type JSONCodec interface FILE: pkg/utils/json/message.go type Message (line 10) | type Message method MarshalJSON (line 15) | func (m Message) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 25) | func (m *Message) UnmarshalJSON(data []byte) error { FILE: pkg/utils/monitor/monitor.go type Agent (line 24) | type Agent struct method RegisterCallback (line 45) | func (s *Agent) RegisterCallback(callback Callback) { method Start (line 52) | func (s *Agent) Start(interval time.Duration) context.CancelFunc { method monitorWorker (line 72) | func (s *Agent) monitorWorker(cancel context.CancelFunc) { constant defaultMonitorIteration (line 34) | defaultMonitorIteration = 6 function NewStackMonitor (line 37) | func NewStackMonitor() *Agent { type Callback (line 42) | type Callback function generateStackTraceSlice (line 131) | func generateStackTraceSlice(stack []byte) []string { function compareStringSliceEqual (line 151) | func compareStringSliceEqual(first, second []string) bool { FILE: pkg/utils/monitor/monitor_test.go function TestMonitorCompareStringSliceEqual (line 9) | func TestMonitorCompareStringSliceEqual(t *testing.T) { FILE: pkg/utils/stats/stats.go type Storage (line 14) | type Storage struct method NewEntry (line 66) | func (s *Storage) NewEntry(name, description string) { method Increment (line 71) | func (s *Storage) Increment(name string) { method Display (line 80) | func (s *Storage) Display(name string) { method DisplayAsWarning (line 93) | func (s *Storage) DisplayAsWarning(name string) { method ForceDisplayWarning (line 108) | func (s *Storage) ForceDisplayWarning(name string) { method GetValue (line 122) | func (s *Storage) GetValue(name string) int64 { type storageDataItem (line 18) | type storageDataItem struct function init (line 25) | func init() { function NewEntry (line 30) | func NewEntry(name, description string) { function Increment (line 35) | func Increment(name string) { function Display (line 40) | func Display(name string) { function DisplayAsWarning (line 44) | func DisplayAsWarning(name string) { function ForceDisplayWarning (line 50) | func ForceDisplayWarning(name string) { function GetValue (line 55) | func GetValue(name string) int64 { function New (line 60) | func New() *Storage { FILE: pkg/utils/telnetmini/ntlm.go type NTLMInfoResponse (line 11) | type NTLMInfoResponse struct function ParseNTLMResponse (line 24) | func ParseNTLMResponse(data []byte) (*NTLMInfoResponse, error) { function CalculateTimestampSkew (line 88) | func CalculateTimestampSkew(ntlmTimestamp uint64) int64 { function parseTargetInfo (line 100) | func parseTargetInfo(data []byte, info *NTLMInfoResponse) { function CreateNTLMNegotiateBlob (line 168) | func CreateNTLMNegotiateBlob() []byte { function CreateTNAPLoginPacket (line 227) | func CreateTNAPLoginPacket() []byte { FILE: pkg/utils/telnetmini/smb.go constant SMB_COM_NEGOTIATE_PROTOCOL (line 14) | SMB_COM_NEGOTIATE_PROTOCOL = 0x72 constant SMB_COM_SESSION_SETUP_ANDX (line 15) | SMB_COM_SESSION_SETUP_ANDX = 0x73 constant SMB_COM_TREE_CONNECT_ANDX (line 16) | SMB_COM_TREE_CONNECT_ANDX = 0x75 constant SMB_COM_NT_CREATE_ANDX (line 17) | SMB_COM_NT_CREATE_ANDX = 0xA2 constant SMB_COM_READ_ANDX (line 18) | SMB_COM_READ_ANDX = 0x2E constant SMB_COM_WRITE_ANDX (line 19) | SMB_COM_WRITE_ANDX = 0x2F constant SMB_COM_CLOSE (line 20) | SMB_COM_CLOSE = 0x04 constant SMB_COM_TREE_DISCONNECT (line 21) | SMB_COM_TREE_DISCONNECT = 0x71 constant SMB_COM_LOGOFF_ANDX (line 22) | SMB_COM_LOGOFF_ANDX = 0x74 constant SMB_FLAGS_CANONICAL_PATHNAMES (line 25) | SMB_FLAGS_CANONICAL_PATHNAMES = 0x10 constant SMB_FLAGS_CASELESS_PATHNAMES (line 26) | SMB_FLAGS_CASELESS_PATHNAMES = 0x08 constant SMB_FLAGS2_UNICODE_STRINGS (line 27) | SMB_FLAGS2_UNICODE_STRINGS = 0x8000 constant SMB_FLAGS2_ERRSTATUS (line 28) | SMB_FLAGS2_ERRSTATUS = 0x4000 constant SMB_FLAGS2_READ_IF_EXECUTE (line 29) | SMB_FLAGS2_READ_IF_EXECUTE = 0x2000 constant SMB_FLAGS2_32_BIT_ERRORS (line 30) | SMB_FLAGS2_32_BIT_ERRORS = 0x1000 constant SMB_FLAGS2_DFS (line 31) | SMB_FLAGS2_DFS = 0x0800 constant SMB_FLAGS2_EXTENDED_SECURITY (line 32) | SMB_FLAGS2_EXTENDED_SECURITY = 0x0400 constant SMB_FLAGS2_REPARSE_PATH (line 33) | SMB_FLAGS2_REPARSE_PATH = 0x0200 constant SMB_FLAGS2_SMB_SECURITY_SIGNATURE (line 34) | SMB_FLAGS2_SMB_SECURITY_SIGNATURE = 0x0100 constant SMB_FLAGS2_SMB_SECURITY_SIGNATURE_REQUIRED (line 35) | SMB_FLAGS2_SMB_SECURITY_SIGNATURE_REQUIRED = 0x0080 constant SMB_SECURITY_SHARE (line 38) | SMB_SECURITY_SHARE = 0x00 constant SMB_SECURITY_USER (line 39) | SMB_SECURITY_USER = 0x01 constant SMB_SECURITY_DOMAIN (line 40) | SMB_SECURITY_DOMAIN = 0x02 constant SMB_CAP_EXTENDED_SECURITY (line 43) | SMB_CAP_EXTENDED_SECURITY = 0x80000000 constant SMB_CAP_COMPRESSED_DATA (line 44) | SMB_CAP_COMPRESSED_DATA = 0x40000000 constant SMB_CAP_BULK_TRANSFER (line 45) | SMB_CAP_BULK_TRANSFER = 0x20000000 constant SMB_CAP_UNIX (line 46) | SMB_CAP_UNIX = 0x00800000 constant SMB_CAP_LARGE_READX (line 47) | SMB_CAP_LARGE_READX = 0x00400000 constant SMB_CAP_LARGE_WRITEX (line 48) | SMB_CAP_LARGE_WRITEX = 0x00200000 constant SMB_CAP_INFOLEVEL_PASSTHRU (line 49) | SMB_CAP_INFOLEVEL_PASSTHRU = 0x00100000 constant SMB_CAP_DFS (line 50) | SMB_CAP_DFS = 0x00080000 constant SMB_CAP_NT_FIND (line 51) | SMB_CAP_NT_FIND = 0x00040000 constant SMB_CAP_LOCK_AND_READ (line 52) | SMB_CAP_LOCK_AND_READ = 0x00020000 constant SMB_CAP_LEVEL_II_OPLOCKS (line 53) | SMB_CAP_LEVEL_II_OPLOCKS = 0x00010000 constant SMB_CAP_STATUS32 (line 54) | SMB_CAP_STATUS32 = 0x00008000 constant SMB_CAP_RPC_REMOTE_APIS (line 55) | SMB_CAP_RPC_REMOTE_APIS = 0x00004000 constant SMB_CAP_NT_SMBS (line 56) | SMB_CAP_NT_SMBS = 0x00002000 constant NTLMSSP_NEGOTIATE_56 (line 59) | NTLMSSP_NEGOTIATE_56 = 0x80000000 constant NTLMSSP_NEGOTIATE_KEY_EXCH (line 60) | NTLMSSP_NEGOTIATE_KEY_EXCH = 0x40000000 constant NTLMSSP_NEGOTIATE_128 (line 61) | NTLMSSP_NEGOTIATE_128 = 0x20000000 constant NTLMSSP_NEGOTIATE_VERSION (line 62) | NTLMSSP_NEGOTIATE_VERSION = 0x02000000 constant NTLMSSP_NEGOTIATE_TARGET_INFO (line 63) | NTLMSSP_NEGOTIATE_TARGET_INFO = 0x00800000 constant NTLMSSP_REQUEST_NON_NT_SESSION_KEY (line 64) | NTLMSSP_REQUEST_NON_NT_SESSION_KEY = 0x00400000 constant NTLMSSP_NEGOTIATE_IDENTIFY (line 65) | NTLMSSP_NEGOTIATE_IDENTIFY = 0x00100000 constant NTLMSSP_NEGOTIATE_EXTENDED_SESSION_SECURITY (line 66) | NTLMSSP_NEGOTIATE_EXTENDED_SESSION_SECURITY = 0x00080000 constant NTLMSSP_TARGET_TYPE_SERVER (line 67) | NTLMSSP_TARGET_TYPE_SERVER = 0x00020000 constant NTLMSSP_NEGOTIATE_ALWAYS_SIGN (line 68) | NTLMSSP_NEGOTIATE_ALWAYS_SIGN = 0x00008000 constant NTLMSSP_NEGOTIATE_NTLM (line 69) | NTLMSSP_NEGOTIATE_NTLM = 0x00000200 constant NTLMSSP_NEGOTIATE_LM_KEY (line 70) | NTLMSSP_NEGOTIATE_LM_KEY = 0x00000080 constant NTLMSSP_NEGOTIATE_DATAGRAM (line 71) | NTLMSSP_NEGOTIATE_DATAGRAM = 0x00000040 constant NTLMSSP_NEGOTIATE_SEAL (line 72) | NTLMSSP_NEGOTIATE_SEAL = 0x00000020 constant NTLMSSP_NEGOTIATE_SIGN (line 73) | NTLMSSP_NEGOTIATE_SIGN = 0x00000010 constant NTLMSSP_REQUEST_TARGET (line 74) | NTLMSSP_REQUEST_TARGET = 0x00000004 constant NTLMSSP_NEGOTIATE_UNICODE (line 75) | NTLMSSP_NEGOTIATE_UNICODE = 0x00000001 type SMBPacket (line 79) | type SMBPacket struct method Bytes (line 443) | func (p *SMBPacket) Bytes() []byte { type SMBHeader (line 86) | type SMBHeader struct function CreateSMBPacket (line 102) | func CreateSMBPacket(smbData []byte) *SMBPacket { function createSMBHeader (line 121) | func createSMBHeader() []byte { function CreateNegotiateProtocolPacket (line 156) | func CreateNegotiateProtocolPacket() []byte { function createNegotiateProtocolData (line 174) | func createNegotiateProtocolData() []byte { function CreateSessionSetupPacket (line 204) | func CreateSessionSetupPacket(username, password, domain string, session... function createSessionSetupData (line 222) | func createSessionSetupData(username, password, domain string, sessionKe... function CreateTreeConnectPacket (line 294) | func CreateTreeConnectPacket(shareName string, password string) []byte { function createTreeConnectData (line 312) | func createTreeConnectData(shareName, password string) []byte { function CreateNTCreatePacket (line 356) | func CreateNTCreatePacket(fileName string) []byte { function createNTCreateData (line 374) | func createNTCreateData(fileName string) []byte { function CreateNTLMNegotiatePacket (line 452) | func CreateNTLMNegotiatePacket() []byte { function CreateNTLMChallengePacket (line 495) | func CreateNTLMChallengePacket(challenge []byte, targetInfo []byte) []by... function CreateNTLMAuthPacket (line 547) | func CreateNTLMAuthPacket(username, password, domain, workstation string... function CreateLMResponse (line 635) | func CreateLMResponse(challenge []byte, password string) []byte { function CreateNTResponse (line 664) | func CreateNTResponse(challenge []byte, password string) []byte { function CreateSMBv2NegotiatePacket (line 692) | func CreateSMBv2NegotiatePacket() []byte { function ParseSMBResponse (line 755) | func ParseSMBResponse(data []byte) (*SMBHeader, error) { FILE: pkg/utils/telnetmini/telnet.go constant IAC (line 19) | IAC = 255 constant WILL (line 20) | WILL = 251 constant WONT (line 21) | WONT = 252 constant DO (line 22) | DO = 253 constant DONT (line 23) | DONT = 254 constant SB (line 24) | SB = 250 constant SE (line 25) | SE = 240 constant ENCRYPT (line 26) | ENCRYPT = 38 type EncryptionInfo (line 30) | type EncryptionInfo struct type Client (line 37) | type Client struct method Defaults (line 50) | func (c *Client) Defaults() { method Close (line 83) | func (c *Client) Close() error { method Auth (line 208) | func (c *Client) Auth(ctx context.Context, username, password string) ... method Exec (line 244) | func (c *Client) Exec(ctx context.Context, command string, until ...st... method writeLine (line 255) | func (c *Client) writeLine(ctx context.Context, s string) error { method readUntil (line 264) | func (c *Client) readUntil(ctx context.Context, needles ...string) (ma... method setDeadlineFromCtx (line 355) | func (c *Client) setDeadlineFromCtx(ctx context.Context, write bool) { function New (line 72) | func New(conn net.Conn) *Client { function DetectEncryption (line 91) | func DetectEncryption(conn net.Conn, timeout time.Duration) (*Encryption... function processTelnetOptions (line 165) | func processTelnetOptions(data []byte) (bool, map[int][]int) { function preview (line 367) | func preview(s string, n int) string { FILE: pkg/utils/template_path.go constant TemplatesRepoURL (line 12) | TemplatesRepoURL = "https://cloud.projectdiscovery.io/public/" function TemplatePathURL (line 16) | func TemplatePathURL(fullPath, templateId, templateVerifier string) (pat... FILE: pkg/utils/utils.go function IsBlank (line 20) | func IsBlank(value string) bool { function UnwrapError (line 24) | func UnwrapError(err error) error { function IsURL (line 36) | func IsURL(input string) bool { function ReaderFromPathOrURL (line 42) | func ReaderFromPathOrURL(templatePath string, catalog catalog.Catalog) (... function StringSliceContains (line 59) | func StringSliceContains(slice []string, item string) bool { function MapHash (line 69) | func MapHash[K constraints.Ordered, V any](m map[K]V) uint64 { function GetRateLimiter (line 80) | func GetRateLimiter(ctx context.Context, maxTokens int, duration time.Du... FILE: pkg/utils/utils_test.go function TestUnwrapError (line 10) | func TestUnwrapError(t *testing.T) { FILE: pkg/utils/yaml/preprocess.go function PreProcess (line 21) | func PreProcess(data []byte) ([]byte, error) { FILE: pkg/utils/yaml/yaml_decode_wrapper.go function DecodeAndValidate (line 15) | func DecodeAndValidate(r io.Reader, v interface{}) error { FILE: pkg/workflows/workflows.go type Workflow (line 13) | type Workflow struct type WorkflowTemplate (line 22) | type WorkflowTemplate struct type ProtocolExecuterPair (line 45) | type ProtocolExecuterPair struct type Matcher (line 52) | type Matcher struct method Compile (line 87) | func (matcher *Matcher) Compile() error { method Match (line 101) | func (matcher *Matcher) Match(result *operators.Result) bool { type ConditionType (line 71) | type ConditionType constant ANDCondition (line 75) | ANDCondition ConditionType = iota + 1 constant ORCondition (line 77) | ORCondition FILE: pkg/workflows/workflows_test.go function TestWorkflowMatchAndCompile (line 11) | func TestWorkflowMatchAndCompile(t *testing.T) {