Some antivirus are blocking "var miner = new CoinHive.Anonymous"
kixgkqir opened this issue · 3 comments
Hello,
Please, is it possible to change like this?
var miner = new Something.Anonymous(....
Best!
Change all the occurrences of "CoinHive" from the file "miner.min.js" to something less suspicious. I would also recommend renaming the file "miner.min.js".
Hello @juazki , thank you for replying.
I had tried to do this, but it didn't work. I didn't find any declared class "CoinHive" in "miner.min.js".
I think that this class is declared in a compiled javascript "cryptonight.wasm".
Do you have any idea?
Best!
Using a text processor of your choice (or via command line in Linux) you have to change all the occurrences of "CoinHive" (case sensitive) in "miner.min.js", methods such as "window.CoinHive.x" (x being for example the "Anonymous" method) can also be renamed. There is no need to modify the WebAssembly document (it is not really possible to do so easily because it is already compiled).