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

Some Asian language encoding not showing correctly #14

Open
Rob1nHust opened this issue Nov 20, 2024 · 3 comments
Open

Some Asian language encoding not showing correctly #14

Rob1nHust opened this issue Nov 20, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Rob1nHust
Copy link

Rob1nHust commented Nov 20, 2024

Describe the bug
I got some troubles when using PyCript to encode and decode requests/responses that contain Vietnamese encoding

Screenshots
PyCript Log result
image

iTerm2 result
image

@Rob1nHust Rob1nHust added the bug Something isn't working label Nov 20, 2024
@Anof-cyber
Copy link
Owner

Could you please share a few details?

  1. What version of PyCript are you using?
  2. Can you provide the request/response from BurpSuite (from a message editor like Repeater)?
  3. Does the request/response body include any Vietnamese encoded data?

@Rob1nHust
Copy link
Author

  1. PyCript version 0.4
  2. The response looks like this when decrypt
    Poc
    As you can see, there are some character showed correctly but some doesn't.
  3. The encoded data looks like this before being decrypted
    image

@Anof-cyber
Copy link
Owner

What I assume, is the request body is encoded like A47A... After decoding it, data have JSON with some data in JSON objects having Vietnamese text.

like {"name": "tiếng chào"}

and output from PyCript is not able to print or replace data in burp properly ?

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