-
Notifications
You must be signed in to change notification settings - Fork 120
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
json requests do not parse correctly #12
Comments
This is what causing issues to you ...... as Burp doesn't provide any interface for JSON parameter update like normal POST/GET parameter update so have written a manual parser that is parsing JSON as highlight below where I am getting indexes on the basis of " body = {"data":"abc", "key":"123"} and the above code is parsing like below
int _fi = body.indexof("data"); and after this getting the closure of the data variable's value by checking the next occurrence of " in the string So when you will change ' to " it will only parse till the first occurrence of " (DQ) and hence no solution as you have to customize it according to this special case. |
a quick solution for this
But it might disturb your flow ... where your parameter is at the end / last and the code will not be able to find the next ", so need to add both cases here for such cases |
replace the highlighted line with this snippet and compile again .....
|
When configured:
It decrypts but does not parse correctly causing requests not to be processed.
Double quotation marks cause problems:
If I modify with single quotes it works fine:
Is there any way to make this pair up correctly?
I really appreciate the creation of the extension it's great.
The text was updated successfully, but these errors were encountered: