Skip to content

Commit

Permalink
fix: pass string to fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
NSEcho committed Sep 14, 2023
1 parent 7434fa3 commit ec06124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit ec06124

Please sign in to comment.