dsl
dsl copied to clipboard
Function to supports RSA encryption
From https://github.com/projectdiscovery/nuclei-templates/discussions/7493
I encountered a vulnerability in the system, which uses rsa encryption to encrypt the parameters during the login phase. During the vulnerability mining process, I already knew the public key used for encryption, but when I wrote the nuclei template, I couldn't find the calculation function related to rsa encryption. Is there any way i can implement this encryption process through the nuclei template The encryption process is implemented using JSEncrypt,and encryption scheme is RSAES-PKCS1-V1_5