{"record":{"id":"6c5db55853bcd710","repo":"projectdiscovery/nuclei","slug":"dialers-not-initialized-for-s-6c5db5","errorCode":null,"errorMessage":"dialers not initialized for %s","messagePattern":"dialers not initialized for (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/js/libs/rdp/rdp.go","lineNumber":51,"sourceCode":"// The Name of the OS is also returned if the connection is successful.\n// @example\n// ```javascript\n// const rdp = require('nuclei/rdp');\n// const isRDP = rdp.IsRDP('acme.com', 3389);\n// log(toJSON(isRDP));\n// ```\nfunc IsRDP(ctx context.Context, host string, port int) (IsRDPResponse, error) {\n\texecutionId := ctx.Value(\"executionId\").(string)\n\treturn memoizedisRDP(ctx, executionId, host, port)\n}\n\n// @memo\nfunc isRDP(ctx context.Context, executionId string, host string, port int) (IsRDPResponse, error) {\n\tresp := IsRDPResponse{}\n\n\tdialer := protocolstate.GetDialersWithId(executionId)\n\tif dialer == nil {\n\t\treturn IsRDPResponse{}, fmt.Errorf(\"dialers not initialized for %s\", executionId)\n\t}\n\n\ttimeout := 5 * time.Second\n\tconn, err := dialer.Fastdialer.Dial(ctx, \"tcp\", fmt.Sprintf(\"%s:%d\", host, port))\n\tif err != nil {\n\t\treturn resp, err\n\t}\n\tdefer func() {\n\t\t_ = conn.Close()\n\t}()\n\n\tserver, isRDP, err := rdp.DetectRDP(conn, timeout)\n\tif err != nil {\n\t\treturn resp, err\n\t}\n\tif !isRDP {\n\t\treturn resp, nil\n\t}","sourceCodeStart":33,"sourceCodeEnd":69,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/js/libs/rdp/rdp.go#L33-L69","documentation":"Error \"dialers not initialized for %s\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/js/libs/rdp/rdp.go:51 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"265b3a3dec374741614e342f813c10f8b38d2bb7","analyzedAt":"2026-08-15T20:05:51.855Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}