diff --git a/pkg/ffuf/const.go b/pkg/ffuf/const.go index 04702fb..90b88ca 100644 --- a/pkg/ffuf/const.go +++ b/pkg/ffuf/const.go @@ -2,5 +2,5 @@ package ffuf const ( //VERSION holds the current version number - VERSION = "0.1" + VERSION = "0.3" ) diff --git a/pkg/runner/simple.go b/pkg/runner/simple.go index b27923d..34c26e1 100644 --- a/pkg/runner/simple.go +++ b/pkg/runner/simple.go @@ -3,6 +3,7 @@ package runner import ( "bytes" "crypto/tls" + "fmt" "io/ioutil" "net/http" "strconv" @@ -61,7 +62,7 @@ func (r *SimpleRunner) Execute(req *ffuf.Request) (ffuf.Response, error) { } // Add user agent string if not defined if _, ok := req.Headers["User-Agent"]; !ok { - req.Headers["User-Agent"] = "Fuzz Faster You Fool" + req.Headers["User-Agent"] = fmt.Sprintf("%s v%s", "Fuzz Faster U Fool", ffuf.VERSION) } httpreq = httpreq.WithContext(r.config.Context) for k, v := range req.Headers {