Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Unicode escape sequence causing fail #138

Closed
MaxwellDPS opened this issue Aug 10, 2020 · 2 comments
Closed

Unsupported Unicode escape sequence causing fail #138

MaxwellDPS opened this issue Aug 10, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@MaxwellDPS
Copy link

This is the error below, Censys causes one via IP.. Ubuntu 20.04

Linux intelowl 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

[
  "unsupported Unicode escape sequence\nLINE 1: UPDATE \"api_app_job\" SET \"analysis_reports\" = '[{\"name\": \"Cy...\n                                                      ^\nDETAIL:  \\u0000 cannot be converted to text.\nCONTEXT:  JSON data, line 1: ...: \"Mimikatz_Strings\", \"strings\": [[770880, \"$x2\",...\n"
]
@mlodic mlodic added the bug Something isn't working label Aug 11, 2020
@mlodic
Copy link
Member

mlodic commented Aug 11, 2020

Thank you for your report!

This is a known problem that could happen with each analyzer, depending on the data that the analyzer gives back to the user. This is the issue explained: https://stackoverflow.com/questions/31671634/handling-unicode-sequences-in-postgresql

We should create a sanitizer at the database level to avoid this problem. We will update this issue once we have news about how to solve it. Any suggestions are welcome.

@mlodic
Copy link
Member

mlodic commented Oct 13, 2020

fixed here #223 and available in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants