AhMyth/AhMyth-Android-RAT

Interface not working

zymus123 opened this issue · 3 comments

I can only write in the port when I click liste nothing happens actually when I click anything nothing happens any ideas why this is happening

I believe it is because they bumped the electron-nightly version up and I dont think anything that AhMyth uses is supported with the current version of electron-nighly, for me after i install everything EXCEPT electron-nightly, everything worked the only problem was that it couldn't build apks or bind with them (like the window to choose the apk to bind with opens, but when you choose the apk you want to bind with nothing happens) THEN when I installed electron-nightly the interface completely wouldn't work I could only type in the listener box.

So I do believe the problem is with electron-nightly

You can run this tool in docker (in case if you have no time to install exact electron version)

Dockerfile(put in root of project):

FROM ubuntu
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -yq npm xorg gradle
RUN npm install
RUN npm install electron --save-dev
EXPOSE 55555
ADD . /data
ENTRYPOINT ["sh", "-c", "cd /data/AhMyth-Server/ && npx electron ./app --no-sandbox"]

Allow X11 network connections: xhost +local:
Build docker image: docker build -t ahmyth .
Run docker image: docker run -P --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY ahmyth
The server will be accessible at 55555 port

BUT

this way you can't build an apk
Got Signing Failed while trying to build raw APK and Browse the apk which you want to bind while trying to bind with exciting apk (already selected APK from UI, really small app)

NEED HELP

Logs of empty build:

1/9/2021, 10:39:09 PM Reading (ip:port) file from Ahmyth.apk...
1/9/2021, 10:39:09 PM Adding source ip:port to Ahmyth.apk...
1/9/2021, 10:39:09 PM Adding source ip:port to /data/AhMyth-Server/app/app/Factory/Ahmyth/smali/ahmyth/mine/king/ahmyth/IOSocket.smali...
1/9/2021, 10:39:09 PM Building Ahmyth.apk...
1/9/2021, 10:39:12 PM Signing Ahmyth.apk...
1/9/2021, 10:39:12 PM Signing Failed

Logs of bind:

1/9/2021, 10:28:01 PM Reading (ip:port) file from Ahmyth.apk...
1/9/2021, 10:28:01 PM Adding source ip:port to Ahmyth.apk...
1/9/2021, 10:28:01 PM Adding source ip:port to /data/AhMyth-Server/app/app/Factory/Ahmyth/smali/ahmyth/mine/king/ahmyth/IOSocket.smali...
1/9/2021, 10:28:01 PM Browse the apk which you want to bind