shadow1ng/fscan · error

param_local_multi_plugin

param_local_multi_plugin

Error message

%s

What it means

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.

Source

Thrown at common/flag.go:394

	fv := flagVars

	// -debug 等价于 -log debug
	if fv.Debug {
		fv.LogLevel = LogLevelDebug
	}

	// 检查 -ao 和 -m icmp 同时指定的情况(向后兼容提示)
	if fv.AliveOnly && fv.ScanMode == "icmp" {
		LogInfo(i18n.GetText("param_conflict_ao_icmp_both"))
	}

	// 检查本地插件参数
	if fv.LocalPlugin != "" {
		// 检查是否包含分隔符(确保只能指定单个插件)
		invalidChars := []string{",", ";", " ", "|", "&"}
		for _, char := range invalidChars {
			if strings.Contains(fv.LocalPlugin, char) {
				return fmt.Errorf("%s", i18n.Tr("param_local_multi_plugin", char))
			}
		}
	}

	return nil
}

View on GitHub (pinned to 95cc12e753)

Solutions

  1. Specify exactly one plugin with -local, no separators
  2. Run multiple invocations if several local plugins are needed
  3. Quote the value if the shell is splitting on spaces
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at common/flag.go:394 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of shadow1ng/fscan@95cc12e753 (2026-09-06). Data as JSON: /api/errors/3515021e5b3756e6. Report an issue: GitHub.