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

AhMyth no longer working with electron-nightly #252

Open
Morsmalleo opened this issue Nov 28, 2020 · 2 comments
Open

AhMyth no longer working with electron-nightly #252

Morsmalleo opened this issue Nov 28, 2020 · 2 comments

Comments

@Morsmalleo
Copy link

Morsmalleo commented Nov 28, 2020

I've setup AhMyth over 1,000 times and fixed the errors i ran into by install electron@9.0.0 (which doesn't exist anymore apparently), electron-rebuild, and electron@nightly however electron@nightly has changed to electron-nightly, upon installing the new electron-nightly, nothing works, AhMyth opens but i cant use the apk builder, i cant close unless i close the terminal that started it, i cant minimize it, i cant even use the port listener.

but without electron-nightly installed, and the usual electron & electron-rebuild installed to allow it to build standalone apk's, it works fine however it doesnt allow me to select an apk to bind with, it builds standalone apks fine, but it doesnt even let me choose one, the window to choose an apk to bind with opens, but upon selecting the apk to bind with, it doesnt work, nothing happens. I am running Kali Linux 2020.4. all installation and fix processes i followed are below, but nothing works as of electron@nightly becoming electron-nightly there have obviously been some changes made somewhere that i can't seem to find can someone help please help? I have pasted the error stuff below as well

kali@kali:~ ┌──(kali㉿kali)-[~/AhMyth-Android-RAT/AhMyth-Server]
└─$ npm install electron

kali@kali:~ ┌──(kali㉿kali)-[~/AhMyth-Android-RAT/AhMyth-Server]
└─$ npm install electron-rebuild

kali@kali:~ ┌──(kali㉿kali)-[~/AhMyth-Android-RAT/AhMyth-Server]
└─$ npm install electron-nightly

┌──(kali㉿kali)-[~]
└─$ cd AhMyth-Android-RAT/AhMyth-Server/node_modules/electron/dist

┌──(kali㉿kali)-[~] /AhMyth-Android-RAT/AhMyth-Server/node_modules/electron/dist/
└─$ sudo chown root chrome-sandbox

┌──(kali㉿kali)-[~] /AhMyth-Android-RAT/AhMyth-Server/node_modules/electron/dist/
└─$ sudo chmod 4755 chrome-sandbox

┌──(kali㉿kali)-[~] /AhMyth-Android-RAT/AhMyth-Server/node_modules/electron-nightly/dist/
└─$ sudo chown root chrome-sandbox

┌──(kali㉿kali)-[~] /AhMyth-Android-RAT/AhMyth-Server/node_modules/electron-nightly/dist/
└─$ sudo chmod 4755 chrome-sandbox

THEN WHEN I START IT
this pop up in the terminal and nothing on ahmyth works at all

┌──(kali㉿kali)-[~/AhMyth-Android-RAT/AhMyth-Server]
└─$ npm start

start
npx electron ./app

(node:64649) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
(Use electron --trace-warnings ... to show where the warning was created)
(node:64649) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

@Morsmalleo Morsmalleo changed the title AhMyth not working - Openjdk-8-jdk no longer supported for Kali Linux 2020.4 AhMyth not working - Openjdk-8-jdk no longer supported for Debian 10 Nov 28, 2020
@Morsmalleo Morsmalleo changed the title AhMyth not working - Openjdk-8-jdk no longer supported for Debian 10 AhMyth no longer working with electron-nightly Nov 29, 2020
@phishpy
Copy link

phishpy commented Apr 18, 2021

Yarn is strongly recommended instead of npm.

yarn add electron-builder --dev

@Morsmalleo
Copy link
Author

Well I've mostly fixed AhMyth on my fork located at my github, but I will also try this method as well thank you for the info

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

2 participants