Skip to content

Commit

Permalink
Simplify ByteSplit and update header.
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjza committed Oct 25, 2018
1 parent 56a4a00 commit d505d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/root.go
Expand Up @@ -22,7 +22,7 @@ var dnsProvider dnsclient.Client
var rootCmd = &cobra.Command{
Use: "godoh",
Short: "A DNS (over-HTTPS) C2",
Long: `A DNS (over-HTTPS) C2`,
Long: `A DNS (over-HTTPS) C2 by @leonjza from @sensepost`,
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand Down
2 changes: 1 addition & 1 deletion utils/utils.go
Expand Up @@ -90,7 +90,7 @@ func ByteSplit(buf []byte, lim int) [][]byte {
}

if len(buf) > 0 {
chunks = append(chunks, buf[:len(buf)])
chunks = append(chunks, buf[:])
}

return chunks
Expand Down

0 comments on commit d505d00

Please sign in to comment.