Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coin-Hive analysis #9

Open
KBPsystem777 opened this issue May 17, 2018 · 3 comments
Open

Coin-Hive analysis #9

KBPsystem777 opened this issue May 17, 2018 · 3 comments

Comments

@KBPsystem777
Copy link

Hi there! What particular analysis is the Coin-Hive doing after clicking the "High CPU usage. Click, for us to see what's happening"?
Thanks in advance

@AMoldskred
Copy link
Owner

Hi, @KBPsystem777 . There currently isn't much that happens when the user clicks the notification. It takes the url of the current tab open and posts it to this spreadsheet: Potential Miners .

chrome.notifications.onClicked.addListener(function(res){ if(res == "HIGHCPU"){ chrome.notifications.clear('HIGHCPU') console.log('Reported: '+site) var xhr = new XMLHttpRequest(); xhr.open('POST', 'https://docs.google.com/forms/d/1cB1urxRqau67pWoN5s1oSfUyi9t0G5T3dMT_txc-o3Q/formResponse', true); xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); var data = 'entry.2146017821='+site; xhr.send(data); } })

My idea was to go through each url manually, however this takes too much time now that the amount of users has increased. I am currently working on a better solution using Puppeteer and headless chrome, where I will automatically scrape the website for miners.

I hope this answered your question :)

@KBPsystem777
Copy link
Author

@adreas0607 that's great!
Also one thing I noticed is that the notification is still popping even though I don't have a browser open. It usually happens when I'm overloading the CPU while gaming. :)

@AMoldskred
Copy link
Owner

@KBPsystem777 , what I recommend is to open the pop-up by clicking the icon in the top right of your browser and disable the notifications by clicking the little checkbox. That is if you don't want to get notifications, you can easily turn it on and off whenever you need to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants