AhMyth-Android-RAT
AhMyth-Android-RAT copied to clipboard
Fix (#293): correct a problem making the app unusable in latests versions of electron
This corrects #293 Set enableRemoteModule to true, and contextIsolation to false as their default values were not correct (this caused a lot errors in controllers scripts, making the app unusable)
where do i find enable remote module to true, so I can fix it.
Dosent work
In main.js, for each BrowserWindow add the two commented lines
width: 600,
height: 400,
frame: false,
transparent: true,
icon: __dirname + '/app/assets/img/icon.png',
type: "splash",
alwaysOnTop: true,
show: false,
position: "center",
resizable: false,
toolbar: false,
fullscreen: false,
webPreferences: {
nodeIntegration: true,
//enableRemoteModule: true,
//contextIsolation; false
}
});```
I have successfully gotten Ahmyth to work. but I cant get it to listen to ports even after using my local Ip address and port number.