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

v3.20.0 - Bug: Large Har file exports get mis-formated json data #196

Closed
BaronSam3di opened this issue Nov 8, 2023 · 0 comments
Closed
Assignees
Labels

Comments

@BaronSam3di
Copy link

BaronSam3di commented Nov 8, 2023

Description:
If I export a har file of around 4000 requests/responses, the formatting brakes, and I am unable to parse the data in at all such as Jq.

Steps To Reproduce:

  1. Walk around your product via burp suite, generating traffic.
  2. Import these items into logger++ .
  3. Check that the import has completed and then export the data as a half file.
  4. Saves a file somewhere and then run a basic jq command. jq '.' YOURHAR.har

Expected behavior:

It's expected that the Jason will be prettified with the basic Jq command, instead; the formatting reports and error with the data ,and it is unusable.

Screenshots:

~:$ jq '.' small.har
{
  "log": {
    "version": "1.2",
    "creator": {
      "name": "LoggerPlusPlus",
      "version": "3.20.0"
    },
    "pages": [],
    "entries": []
  }
}
~:$ jq '.' Large.har
jq: parse error: Unfinished JSON term at EOF at line 1, column 76552398
~:$ file Large.har
Large.har: ASCII text, with very long lines (65536), with no line terminators
~:$ du Large.har
163848	Large.har
~:$ stat Large.har
16777230 21724716 -rw-r--r-- 1 geoff staff 0 76552398 "Nov  8 11:43:12 2023" "Nov  8 11:43:11 2023" "Nov  8 11:43:11 2023" "Nov  8 11:38:53 2023" 4096 163848 0 Large.har
~:$ ls -l Large.har
-rw-r--r--  1 geoff  staff  76552398  8 Nov 11:43 Large.har

Version:
v3.20.0

Thank you very much for a great tool! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants