From 80a029e63061ed8b1d1d71cfca138029001e06d3 Mon Sep 17 00:00:00 2001 From: Yevgeny Pats Date: Fri, 4 Oct 2019 22:55:52 +0300 Subject: [PATCH] don't print output of crash for go-fuzz engine --- client/client.go | 2 +- client/gofuzz.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/client.go b/client/client.go index 95061f1..aabd9de 100644 --- a/client/client.go +++ b/client/client.go @@ -11,7 +11,7 @@ import ( ) const FuzzitEndpoint = "https://app.fuzzit.dev" -const Version = "v2.4.68" +const Version = "v2.4.69" type Target struct { Name string `firestore:"target_name"` diff --git a/client/gofuzz.go b/client/gofuzz.go index 0c49ce1..8d57202 100644 --- a/client/gofuzz.go +++ b/client/gofuzz.go @@ -202,10 +202,10 @@ func (c *FuzzitClient) runGoFuzzFuzzing() error { if !strings.Contains(fileName, ".") && !uniqueCrashes[fileName] && fileName != "crashers" { uniqueCrashes[fileName] = true log.Println("found new crash") - err := catLastBytes(fmt.Sprintf("workdir/crashers/%s.output", fileName), 1000) - if err != nil { - return err - } + //err := catLastBytes(fmt.Sprintf("workdir/crashers/%s.output", fileName), 1000) + //if err != nil { + // return err + //} err = c.uploadGoFuzzCrash("workdir/crashers/" + fileName) if err != nil {