m0bilesecurity / RMS-Runtime-Mobile-Security

Runtime Mobile Security (RMS) 📱🔥 - is a powerful web interface that helps you to manipulate Android and iOS Apps at Runtime
https://twitter.com/mobilesecurity_
GNU General Public License v3.0
2.62k stars 376 forks source link

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

Closed daeinlee closed 1 year ago

daeinlee commented 2 years ago

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)

m0bilesecurity commented 2 years ago

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

daeinlee commented 2 years ago

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

m0bilesecurity commented 1 year ago

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

daeinlee commented 1 year ago

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.

Numenorean commented 1 year ago

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