trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Create basic escaped unicode decoder

Open rgmz opened this issue 5 months ago • 0 comments

Description:

This creates a decoder to handle basic unicode escaped sequences (\u1234).

TODO:

  • [ ] Handle other formats like \u12 or U+1234
  • [ ] Restrict which characters get changed (e.g. it's advantageous to handle [[:graph:]] but not emojis)
  • [ ] Test "in the field" to see whether this generates false-positives

Checklist:

  • [ ] Tests passing (make test-community)?
  • [ ] Lint passing (make lint this requires golangci-lint)?

rgmz avatar Feb 14 '24 14:02 rgmz