{"record":{"id":"3515021e5b3756e6","repo":"shadow1ng/fscan","slug":"param-local-multi-plugin","errorCode":"param_local_multi_plugin","errorMessage":"%s","messagePattern":"%s","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"common/flag.go","lineNumber":394,"sourceCode":"\tfv := flagVars\n\n\t// -debug 等价于 -log debug\n\tif fv.Debug {\n\t\tfv.LogLevel = LogLevelDebug\n\t}\n\n\t// 检查 -ao 和 -m icmp 同时指定的情况（向后兼容提示）\n\tif fv.AliveOnly && fv.ScanMode == \"icmp\" {\n\t\tLogInfo(i18n.GetText(\"param_conflict_ao_icmp_both\"))\n\t}\n\n\t// 检查本地插件参数\n\tif fv.LocalPlugin != \"\" {\n\t\t// 检查是否包含分隔符（确保只能指定单个插件）\n\t\tinvalidChars := []string{\",\", \";\", \" \", \"|\", \"&\"}\n\t\tfor _, char := range invalidChars {\n\t\t\tif strings.Contains(fv.LocalPlugin, char) {\n\t\t\t\treturn fmt.Errorf(\"%s\", i18n.Tr(\"param_local_multi_plugin\", char))\n\t\t\t}\n\t\t}\n\t}\n\n\treturn nil\n}\n","sourceCodeStart":376,"sourceCodeEnd":401,"githubUrl":"https://github.com/shadow1ng/fscan/blob/95cc12e753bf43de7004e5aef42a9ffba3934303/common/flag.go#L376-L401","documentation":"Raised in checkParameterConflicts when -local (local plugin execution) contains a separator character (comma, semicolon, space, pipe, or ampersand): only a single plugin path/name is allowed for local plugin mode.","triggerScenarios":"Thrown at common/flag.go:394 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Specify exactly one plugin with -local, no separators","Run multiple invocations if several local plugins are needed","Quote the value if the shell is splitting on spaces"],"exampleFix":null,"handlingStrategy":"validation","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"}