-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Adding a script to encrypt requests using RSA #437
Conversation
Signed-off-by: Michał Walkowski <[email protected]>
|
||
def responseReceived(msg, initiator, helper): | ||
body = msg.getNote() | ||
msg.setRequestBody(body) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not keep the body sent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this makes modifying requests more difficult, please take a look at the attached video, hopefully it will explain everything. ZAP.mp4
ZAP.mp4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment to the script summarising why you are doing this?
…pts/pull/437/files#r1494288665 Signed-off-by: Michał Walkowski <[email protected]>
Thank you! |
Signed-off-by: Michał Walkowski <[email protected]>
Head branch was pushed to by a user without write access
Hi All,
I've prepared a script for ZAP that allows encrypting the message body using RSA. I decided to reuse httpsender because I wanted this script to run in every possible mode (whether we're using proxy/requester, etc). This way, I also have the option for manual inspection of what I'm sending to the server. I've also prepared a similar solution for Burp and described everything under this link.