From dc8829eccac86d65635ee26377768a3ca1a45c42 Mon Sep 17 00:00:00 2001 From: M09Ic Date: Tue, 6 Aug 2024 02:43:38 +0800 Subject: [PATCH] fix word not work https://github.com/chainreactors/spray/issues/53 --- internal/option.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/option.go b/internal/option.go index 5a33e3d..48abb75 100644 --- a/internal/option.go +++ b/internal/option.go @@ -521,7 +521,8 @@ func (opt *Option) BuildWords(r *Runner) error { logs.Log.Logf(pkg.LogVerbose, "Loaded %d word from %s", len(dicts[i]), f) } - if len(dicts) == 0 { + + if len(dicts) == 0 && opt.Word == "" { r.IsCheck = true }