Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Interface not working #255

Open
zymus123 opened this issue Dec 15, 2020 · 3 comments
Open

Interface not working #255

zymus123 opened this issue Dec 15, 2020 · 3 comments

Comments

@zymus123
Copy link

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

@Morsmalleo
Copy link

Morsmalleo commented Dec 16, 2020

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

@Morsmalleo
Copy link

Download AhMyth from here https://github.com/zlocate/AhMyth-Rat-Modern/releases

@nikto-b
Copy link

nikto-b commented Jan 9, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants