Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Is there a way to decrypt the data response in the script with RSA?

Open UknowHui opened this issue 10 months ago • 3 comments

Description

I want to process the response, decrypt it, and can write a script or use other methods, such as sending the request again to process the data?

UknowHui avatar Apr 12 '24 11:04 UknowHui

@UknowHui it's what the Scripting Tool is built for:

  1. Right Click on your request -> Tools -> Scripting
  2. Learn to use Scripting with Addons, with CryptoJS.js . It has RSA encryption/decryption.

You can check out the Snippet code: https://docs.proxyman.io/scripting/snippet-code

NghiaTranUIT avatar Apr 12 '24 13:04 NghiaTranUIT

I see AES and DES, but there is no way to support RSA

UknowHui avatar Apr 15 '24 01:04 UknowHui

As I mentioned, you can build your own add-ons.

  1. find simple RSA npm packge
  2. Use webpack or Browserlify to build your addons with a single JS.
  3. Import to Proxyman to use.

NghiaTranUIT avatar Apr 15 '24 01:04 NghiaTranUIT