AhMyth-Android-RAT icon indicating copy to clipboard operation
AhMyth-Android-RAT copied to clipboard

AhMyth no longer working with electron-nightly

Open Morsmalleo opened this issue 3 years ago • 2 comments

I've setup AhMyth over 1,000 times and fixed the errors i ran into by install [email protected] (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 https://github.com/electron/electron/issues/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 https://github.com/electron/electron/issues/23506 for more information libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

Morsmalleo avatar Nov 28 '20 02:11 Morsmalleo

Yarn is strongly recommended instead of npm.

yarn add electron-builder --dev

phishpy avatar Apr 18 '21 12:04 phishpy

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

Morsmalleo avatar Apr 22 '21 01:04 Morsmalleo