Skip to content

Commit

Permalink
Fixing issue #1444: making User Agent a string literal in generation …
Browse files Browse the repository at this point in the history
…code
  • Loading branch information
RafBishopFox committed Nov 1, 2023
1 parent 9894d79 commit 070bac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implant/sliver/transports/httpclient/httpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import (
var (
goHTTPDriver = "go"

userAgent = "{{GenerateUserAgent}}"
userAgent = `{{GenerateUserAgent}}`
nonceQueryArgs = "{{.HTTPC2ImplantConfig.NonceQueryArgs}}" // "abcdefghijklmnopqrstuvwxyz"

ErrClosed = errors.New("http session closed")
Expand Down

0 comments on commit 070bac1

Please sign in to comment.