Patch burp.js #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When using your tool, I ran into some issues. I've managed to find a dirty patch that resolved these issues for me. There were two problems, as listed below:
Issue 1
Description
When running
node ./ehf.js confusertargets -b ~/Documents/Projects/project.burp > confuser.json, I got the error messagePatch
I use pages.push() instead of pages.append().
Issue 2
After applying that patch, I get
The issue seems to be that
msgStringsalso includes messages like"POST /sockjs/[redacted]/xhr_send HTTP/2\r\nHost: [...], which then yields teh JSON parse error.Patch
I filter any non-websocket message before applying the map function:
Note
I am not an experienced developer and my patches are really just quick and dirty solutions to help me use your tool for my project. I don't claim that these are fool proof or elegant solutions, but hopefully they provide some inspiration 😄
Thanks for your work!