develsoftware / GMinerRelease

Ethash, ProgPoW, Equihash, CuckooCycle GPU Miner
https://bitcointalk.org/index.php?topic=5034735.0
1.96k stars 330 forks source link

"Anti-hacking system detected" when started from Node.js #23

Closed o2genum closed 5 years ago

o2genum commented 5 years ago

GMiner refuses to start when run by Node.js, emitting "Anti-hacking system detected". This is similar to bugs #12, #6. This prevents the miner from being integrated into mining solutions.

node run.js

run.js:

const { exec } = require("child_process")

exec('miner.exe --api 8888 --algo 150_5 --server beam-eu.leafpool.com --port 3333 --ssl 1 --user 18bdda8a95fa392e58ba67c72d642086715a8d0fc0fc4519442d77bddef9e3045c4.worker0 --logFile log.txt')
holyr00d commented 5 years ago

i am too getting this error. exe has all the permissions it needs.

fegauthier commented 5 years ago

I have the same problem too. I use the spawn command. The miner work well without NodeJS, but when I want to integrate it into my mining solution, I get this error...

UselessGuru commented 5 years ago

Same happens when started by powershell script within Visual Studio Code.

fegauthier commented 5 years ago

I hope that the developers will fix this problem soon...

A workaround would be to add a Scheduled Task that run the miner and in your code you can start/stop the schedule task...

holyr00d commented 5 years ago

this error is still present in latest release... can the dev give some insight as to why this is happening? I have given the exe all the permissions it needs and excluded from comodo security features... there is literally nothing left to give the exe access to, yet this error persists

fegauthier commented 5 years ago

I have the impression that developers don't tracks issue on GitHub or at least they don't care... I think we will wait for a long time....

holyr00d commented 5 years ago

which telegram group? i have joined https://t.me/gminer_equihash yet cannot chat or see members...

develsoftware commented 5 years ago

You can reach me in beta test group t.me/gminer_beta

fegauthier commented 5 years ago

@develsoftware add an exception for NodeJS and it works with the build that he send me. He will include the fix in the next release. Thank you!

holyr00d commented 5 years ago

Users who use comodo have to turn off "apply the selected action to unrecognised autorun entries related to new/modified registry items" in advanced protection - miscellaneous

develsoftware commented 5 years ago

fixed in GMiner v1.52

RockZhaoL commented 5 years ago

I tried 1.52, or not. I use python to start gminer

interbiznw commented 5 years ago

Can you add electron as an exception to start the miner?

dsarfati commented 4 years ago

We are also getting the same exception when trying to run GMiner from a C# application. Any help would be greatly appreciated, have have a few thousand users waiting on a fix.

fegauthier commented 4 years ago

We are also getting the same exception when trying to run GMiner from a C# application. Any help would be greatly appreciated, have have a few thousand users waiting on a fix.

You will have to ask the dev to add an exception in the code like they did for NodeJS

dsarfati commented 4 years ago

@develsoftware What do we need to do to get an exception added. I even tried running it from a .bat file and still no luck. Like I said, we have thousands of users that run our application and we would like to move them from ethminer to GMiner but are unable to because of this error.

fegauthier commented 4 years ago

@develsoftware What do we need to do to get an exception added. I even tried running it from a .bat file and still no luck. Like I said, we have thousands of users that run our application and we would like to move them from ethminer to GMiner but are unable to because of this error.

I contacted @develsoftware on Telegram to get the exception added into the GMiner code.

Look at this comment.

https://github.com/develsoftware/GMinerRelease/issues/23#issuecomment-512882387

RockZhaoL commented 4 years ago

@develsoftware I was in the test group t.m /gminer_beta, I sent a message, no one replied.

lucasjinreal commented 3 years ago

Same error:

+----------------------------------------------------------------+
|                          GMiner v2.45                          |
+----------------------------------------------------------------+
Algorithm:          Ethash
DevFee:             0.65%
Stratum server:     
  host:             eth.2miners.com:2020
  user:             0x90AcA10AD238e54F727add281Db1cF2E7a09
  password:         x
Power calculator:   on
Color output:       on
Watchdog:           on
API:                off
Log to file:        off
Selected devices:   GPU0
Intensity:          100 
Temperature limits: 90C 
------------------------------------------------------------------
21:31:12 Anti-hacking system detected modification of the miner memory. If you using an antivirus, add miner to antivirus exceptions
21:31:12 Miner terminated, watchdog will restart process after 10 seconds