Closed Anon-Exploiter closed 10 months ago
Ciao @Anon-Exploiter thanks for the detailed explanation of the bug. Do you have time to work on this? Paolo
Hey mate,
I've created PR #128 for this. The resolution of this issue was simple. Ideally, RMS should natively load the frida scripts off of the disk but that would require a lot of rewriting of the code.
This works best for now.
Describe the bug When a big frida script with a lot of code is attached to an application, rms throws an exception
PayloadTooLargeError: request entity too large
. Possibly due to the HTTP request body being too large and it maybe a npm error. A good fix for this would be to read the files on the native file storage and execute them instead of showing them and passing them to the HTTP request.To Reproduce [Required] Steps to reproduce the behavior:
https://github.com/GoSecure/frida-xamarin-unpin/blob/master/dist/com.test.sample.apk
https://github.com/GoSecure/frida-xamarin-unpin/blob/master/dist/xamarin-unpin.js
custom_scripts
folderExpected behavior [Optional] The frida script should attach with the application without any issues regardless of how big it is.
Desktop (please complete the following information): [Required]
Smartphone (please complete the following information): [Required]
Console Logs [Required]