Morsmalleo / AhMyth

Cross-Platform Android Remote Administration Tool | Official maintained repository for the AhMyth R.A.T Project | A dedicated revival of the original repository at https://GitHub.com/AhMyth/AhMyth-Android-RAT
GNU General Public License v3.0
709 stars 175 forks source link

Broken Binding Features #362

Closed Morsmalleo closed 10 months ago

Morsmalleo commented 10 months ago

This is an issue with the

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Template an original application using either one of the Binding methods.
  2. Install the bound payload on the victim device.
  3. See the application crash if using the Activity method, or see that the payload won't connect back after restart when using the Boot method

Expected behavior

OS Information

  1. OS: All

  2. OS Version: N/A

  3. OS Architecture:
    • [x] 32bit
    • [x] 64bit

Checklist

Morsmalleo commented 10 months ago

This is a repost of an issue that was present in the release of 1.0-beta.5.

The reason the Binding features were broken were because of the following reasons.

Unfortunately I've had to reopen some issues about specific APK's that failed to be bound to because of this, only certain ones were able to remain closed, this is because moving the android and androidx payload folders for AhMyth into the original apps smali directory sometimes ends up surpassing the 64K Dalvik Method, a lot of users will find that [x] Building Failed errors with Binding, come from Unsigned short value out of range errors with Apktool , this means the 64k Dalvik Method has been surpassed and the application can't be built, I will be continuing to work on these Dalvik Method surpassed errors by continuing to update the function responsible for creating the payload directory and spiting the payload files