Closed roman-soft closed 7 months ago
Hi,
Thank you for your feedback.
I'm a bit busy at the moment, I'll update with more documents and examples in the next few days.
Thanks. Is it possible to reference an HTTPParameter class from js? How?-rEl 24 oct 2023 18:59, NGUYEN DUY QUOC KHANH @.***> escribió: Hi, Thank you for your feedback. I'm a bit busy at the moment, I'll update with more documents and examples in the next few days.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Currently you cannot access HTTPParameter directly. i could edit the source code to make that possible, but i won't because we can use other functions to get and update the parameters like:
The documentation will be updated soon
Hello, Documentation has been updated. You can see it in Wiki
I'll try to review new doc and provide deeper feedback but at a first glance:
codigo = decodeURIComponent( jsrequest.parameters()[0].value() ); email = decodeURIComponent( jsrequest.parameters()[1].value() ); api = decodeURIComponent( jsrequest.parameters()[2].value() ); api = decodeURIComponent(api); // Double encoding due to URI nesting
hash = cc(codigo + email + api);
body = jsrequest.bodyToString(); body = body.replace("FIXME", hash); jsrequest.withBody(body);
(in Repeater I set up the target parameter with a "FIXME" value).
Cheers, -r
Thank you. I will update README later.
Hi,
Currently, doc is very limited and should be expanded (imho). I think you are assuming the user of the extension knows about Burp's MontoyaAPI and the general inner workings of Burp from an extension-maker's point of view but this is not always the case.
Some concrete examples that a regular user of the extension would like to know:
The point here is not to assume that the user of the extension is an extensions' developper :)
Thank you for the extension!