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
710 stars 176 forks source link

Unpacked Linux Binaries are always owned by root #251

Closed Morsmalleo closed 11 months ago

Morsmalleo commented 1 year ago

A big issue I've noticed with the Linux *.deb binaries for AhMyth, when they've been unpacked & installed using either apt install or dpkg -i, the Application is always owned by root which prevents regular non-root users from using some of the applications features such as the Building Feature.

Launching AhMyth via a Linux Desktop shortcut, or from the Linux Applications Menu

If AhMyth is launched by a regular non-root user using the Application Launcher from a Linux Applications Menu such as Kali Linux's "Whisker Menu" or from a manually created Linux Desktop Shortcut, it's not possible to use the building functions and possibly some other functions as well because there are no root privileges being escalated with the Application Launchers internal system command!

Root privileges should not have to be invoked, users should be able to use AhMyth regardless of their privilege status after unpacking and installing AhMyth from Binary (i.e regardless if they're root or non-root)



Launching AhMyth via the Linux Terminal

Regular non-root users need to invoke the use of sudo with the ahmyth System Shortcut Command , otherwise the only other way to use AhMyth via the ahmyth System Shortcut Command without problems, would be to invoke the su command in order for the user to switch to their root account, which in turn would allow the user to invoke the ahmyth System Shortcut Command without the use of sudo.

This should not be the case, any user should be able to Launch AhMyth from the terminal via the ahmyth System Shortcut Command without having to force root privileges with sudo or by a using their root account altogether!

They should just able to call the ahmyth System Shortcut Command and be able to use the application without any problems regardless of their privilege status (i.e regardless if they're root or non-root)

Morsmalleo commented 11 months ago

Fixed with the latest Linux Packages.