Hook JSEncrypt RSA
# Hook JSEncrypt RSA โ Extract RSA parameters
# Description
Hooks the RSA algorithm in JSEncrypt. During encryption, it prints the public key, original data, and resulting ciphertext in the Console. During decryption, it prints the private key, original data, and resulting plaintext.
# When to use it
If a website's requests or responses contain encrypted parameters, enable this script to help analyze the encryption quickly. Example output:

# Frequently asked questions
# Why is there no console output after enabling the script?
console.logmay have been disabled
Try enabling hook log to prevent JavaScript from overwriting the logging method.
- The website does not use JSEncrypt for encryption
This script only logs cryptographic operations performed by JSEncrypt. If the website uses another library for encryption or decryption, it will produce no output. If you have confirmed that the website uses JSEncrypt but still see no output, contact me (WeChat: I-0xsdeo).