{"record":{"id":"a885ae1afac1602d","repo":"shadow1ng/fscan","slug":"netbios-info-not-found","errorCode":null,"errorMessage":"netbios_info_not_found","messagePattern":"netbios_info_not_found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugins/services/netbios.go","lineNumber":71,"sourceCode":"\t\tnetbiosInfo, err = p.queryNetBIOSNames(info.Host, config, state)\n\t} else {\n\t\t// TCP端口139 - NetBIOS会话服务\n\t\tnetbiosInfo, err = p.queryNetBIOSSession(ctx, info.Host, session)\n\t}\n\n\tif err != nil {\n\t\treturn &ScanResult{\n\t\t\tSuccess: false,\n\t\t\tService: \"netbios\",\n\t\t\tError:   err,\n\t\t}\n\t}\n\n\tif !netbiosInfo.Valid {\n\t\treturn &ScanResult{\n\t\t\tSuccess: false,\n\t\t\tService: \"netbios\",\n\t\t\tError:   fmt.Errorf(\"%s\", i18n.GetText(\"netbios_info_not_found\")),\n\t\t}\n\t}\n\n\t// 记录NetBIOS发现信息\n\tmsg := fmt.Sprintf(\"NetBios %s\", target)\n\tif netbiosInfo.Summary() != \"\" {\n\t\tmsg += fmt.Sprintf(\" %s\", netbiosInfo.Summary())\n\t}\n\tsession.LogSuccess(msg)\n\n\treturn &ScanResult{\n\t\tSuccess: true,\n\t\tType:    plugins.ResultTypeService,\n\t\tService: \"netbios\",\n\t\tBanner:  netbiosInfo.Summary(),\n\t}\n}\n","sourceCodeStart":53,"sourceCodeEnd":89,"githubUrl":"https://github.com/shadow1ng/fscan/blob/95cc12e753bf43de7004e5aef42a9ffba3934303/plugins/services/netbios.go#L53-L89","documentation":"Guard in NetBIOSPlugin.Scan: the query completed but the returned NetBIOSInfo has Valid=false, meaning the response could not be parsed into usable names (empty or unparseable payload). The scan reports the lookup as unsuccessful rather than partial data.","triggerScenarios":"Thrown at plugins/services/netbios.go:71 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the host actually runs NetBIOS services","Capture the raw UDP/TCP response to see why parsing marked it invalid","Retry: name-service responses are occasionally lost or truncated over UDP"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"95cc12e753bf43de7004e5aef42a9ffba3934303","analyzedAt":"2026-09-06T17:07:30.094Z","contentChangedAt":"2026-09-06T17:07:30.094Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}