shadow1ng/fscan · error
param_exclusive
param_exclusive
Error message
%s
What it means
Mutual-exclusion guard in ValidateExclusiveParams: more than one mutually exclusive flag was set on the command line (e.g. -u together with -local). activeParam accumulates the names of the conflicting flags (joined with the param_join_and message) and param_exclusive reports that they cannot be combined; only a single target-source flag is allowed.
Source
Thrown at common/initialize.go:85
if fv.TargetURL != "" {
paramCount++
if activeParam != "" {
activeParam = i18n.Tr("param_join_and", activeParam, "-u")
} else {
activeParam = "-u"
}
}
if fv.LocalPlugin != "" {
paramCount++
if activeParam != "" {
activeParam = i18n.Tr("param_join_and", activeParam, "-local")
} else {
activeParam = "-local"
}
}
if paramCount > 1 {
return fmt.Errorf("%s", i18n.Tr("param_exclusive", activeParam))
}
return nil
}
// Cleanup 清理资源
func Cleanup() error {
return CloseOutput()
}
View on GitHub (pinned to 95cc12e753)
Solutions
- Keep only one target source: -h/-hf, -u/-uf, or -local
- Remove the redundant flag reported in the error text
- Check the printed usage help for valid flag combinations
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at common/initialize.go:85 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/61ab3f28883f0622.
Report an issue: GitHub.