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

Fix (#293): correct a problem making the app unusable in latests versions of electron

Open chalbin73 opened this issue 2 years ago • 4 comments

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)

chalbin73 avatar Aug 04 '21 11:08 chalbin73

where do i find enable remote module to true, so I can fix it.

amosmarleym avatar Aug 04 '21 20:08 amosmarleym

Dosent work

amosmarleym avatar Aug 04 '21 20:08 amosmarleym

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
    }
  });```

chalbin73 avatar Aug 06 '21 09:08 chalbin73

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.

amosmarleym avatar Aug 11 '21 13:08 amosmarleym