RMS-Runtime-Mobile-Security icon indicating copy to clipboard operation
RMS-Runtime-Mobile-Security copied to clipboard

When loading a script, an error occurs if the script is long.

Open daeinlee opened this issue 2 years ago β€’ 2 comments

Hello. Thanks for making such a great tool. In AOS, when the load script is long, an error occurs. μ•„λž˜λŠ” μ—λŸ¬ λ©”μ„Έμ§€μž…λ‹ˆλ‹€.


PayloadTooLargeError: request entity too large at readStream (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\raw-body\index.js:155:17) at getRawBody (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\raw-body\index.js:108:12) at read (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\body-parser\lib\read.js:77:3) at urlencodedParser (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\body-parser\lib\types\urlencoded.js:116:5) at Layer.handle [as handle_request] (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\express\lib\router\layer.js:95:5) at trim_prefix (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\express\lib\router\index.js:317:13) at F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\express\lib\router\index.js:284:7 at Function.process_params (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\express\lib\router\index.js:335:12) at next (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\express\lib\router\index.js:275:10) at expressInit (F:\rms\RMS-Runtime-Mobile-Security-master\node_modules\express\lib\middleware\init.js:40:5)

daeinlee avatar Mar 29 '22 08:03 daeinlee

Ciao @daeinlee, is the same script working via the frida cli?

m0bilesecurity avatar Mar 30 '22 15:03 m0bilesecurity

Ciao @daeinlee, is the same script working via the frida cli?

Yep. The script works fine. The script tested is the il2cpp dump script obtained from the frida il2cpp bridge. Script obtained by fridacompile index.ts from https://github.com/vfsfitvnm/frida-il2cpp-bridge. The script is very long 4435 line
line

daeinlee avatar Mar 31 '22 07:03 daeinlee

Hey @daeinlee can you kindly try again with the new RMS version (1.5.12)?

m0bilesecurity avatar Nov 20 '22 16:11 m0bilesecurity

Thank you for caring me. It seems to be difficult right now, but I will test it later and tell you if there is anything wrong.

daeinlee avatar Nov 21 '22 01:11 daeinlee

@m0bilesecurity not fixed, last version (1.5.14). The script is ~1850 lines long

Numenorean avatar Jan 08 '23 19:01 Numenorean