Comments (3)
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 "
like
body = {"data":"abc", "key":"123"}
and the above code is parsing like below
int _fi = messageBody.indexOf(_params[i]);
if(_fi < 0) { continue; }
_fi = _fi + _params[i].length() + 3;
int _si = messageBody.indexOf("\"", _fi);
int _fi = body.indexof("data");
_fi = _fi + _fi.length + 3 // which is the index of data variable's value abc
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.
from aes-killer.
a quick solution for this
parse it by searching the next occurrence of
",
instead of"
so in this way you can work with double quote too
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
from aes-killer.
replace the highlighted line with this snippet and compile again .....
int _si = messageBody.indexOf("]\",", _fi);
if(_si < 0){
_si = messageBody.indexOf("\"", _fi);
}
from aes-killer.
Related Issues (14)
- How to use itοΌ HOT 2
- PKCS7Padding support
- Invalid AES key length HOT 3
- PKCS7padding support HOT 1
- SecretKeySpec changing HOT 1
- Automatically encrypt not working on the repeater
- device connect issue
- Other situation HOT 5
- Can this tool encrypt and decrypt packets in json format? HOT 9
- AES ECB mode HOT 1
- how can find IV if application secure coding HOT 1
- Base64 Support HOT 2
- Hex encoding support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aes-killer.