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

Remote connection fix #48

Closed b1gb1t closed 3 years ago

b1gb1t commented 3 years ago

https://github.com/m0bilesecurity/RMS-Runtime-Mobile-Security/issues/47#issue-758398201

m0bilesecurity commented 3 years ago

Many thanks for this PR 🙏🏻 I've just uploaded the new npm package containing your fix 😉

NPM

b1gb1t commented 3 years ago

nice @m0bilesecurity !

But I am working on new PR. The addRemoteDevice() function is called incorrectly in the following line. https://github.com/m0bilesecurity/RMS-Runtime-Mobile-Security/blob/7090a9152870a3f365c96e1fdc4f7432c59f9623/app.js#L489

Also I have other kind of errors, for example:

Exception: ReferenceError: device is not defined com.android.systemui is NOT available on your device or a wrong OS has been selected. For a better RE experience, change it via the Config TAB! Excpetion: TypeError: device.spawn is not a function

So I try to PR asap when I fix it. If you wish, you can update line 489.

m0bilesecurity commented 3 years ago

Hey @b1gb1t thanks! 🎉 Let me know once done 🙏

m0bilesecurity commented 3 years ago

Also I have other kind of errors, for example:

Exception: ReferenceError: device is not defined com.android.systemui is NOT available on your device or a wrong OS has been selected. For a better RE experience, change it via the Config TAB! Excpetion: TypeError: device.spawn is not a function

Are they happening when a remote device is connected or also with USB device?

m0bilesecurity commented 3 years ago

Hey @b1gb1t I fixed the call at line 489 (commit 1e86a1c) If there are other issues with remote device please let me know. When everything is OK I'll create another npm package ;) Thanks

b1gb1t commented 3 years ago

Also I have other kind of errors, for example:

Exception: ReferenceError: device is not defined com.android.systemui is NOT available on your device or a wrong OS has been selected. For a better RE experience, change it via the Config TAB! Excpetion: TypeError: device.spawn is not a function

Are they happening when a remote device is connected or also with USB device?

Only with remote devices. USB connection seems to be working fine!