Skip to content
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

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

Open
UknowHui opened this issue Apr 12, 2024 · 3 comments
Open

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

UknowHui opened this issue Apr 12, 2024 · 3 comments
Labels
question Further information is requested

Comments

@UknowHui
Copy link

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 UknowHui added the question Further information is requested label Apr 12, 2024
@NghiaTranUIT
Copy link
Member

@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

@UknowHui
Copy link
Author

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

@NghiaTranUIT
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants