From ec0612460c535fba8807813c27f0b2381c8a31b6 Mon Sep 17 00:00:00 2001 From: NSEcho Date: Thu, 14 Sep 2023 18:14:35 +0200 Subject: [PATCH] fix: pass string to fuzz --- cmd/fuzz.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/fuzz.go b/cmd/fuzz.go index 2fb5d2d..c8cfad4 100644 --- a/cmd/fuzz.go +++ b/cmd/fuzz.go @@ -153,9 +153,9 @@ var fuzzCmd = &cobra.Command{ ch := m.Mutate() for mutated := range ch { - //lastInput = mutated.Input + lastInput = mutated.Input l.Infof("[%s] %s\n", color.New(color.FgCyan).Sprintf("%s", mutated.Mutation), mutated.Input) - //_ = script.ExportsCall("fuzz", method, mutated.Input) + _ = script.ExportsCall("fuzz", method, string(mutated.Input)) if timeout > 0 { time.Sleep(time.Duration(timeout) * time.Second) }