Mining Monero in your web browser arrives (even with your GPU)steemCreated with Sketch.

in #mining7 years ago


A couple weeks ago ThePirateBay users’ browsers started to stutter. It made users suspicious, finally after static page being loaded, processor shouldn’t be overloaded. All scripts are loaded, content is downloaded and displayed, processor hasn’t got much to do.

Here comes suprise!


After content being loaded processor usage significantly increased! Some of the users, even report that after ThePirateBay page being loaded on the computer with eight core processor, processor usage was increasing to 100%!*
As a programmer I would laugh hard in the first moment, that somebody released such a bad code.
Programmers started to read code executed on the web page. After a while turned out, it hides a shocking surprise. The page was hiding this script:
https://coin-hive.com/lib/coinhive.min.js
It comes from webpage: coin-hive.com
Script was using processor resources and simply was mining Monero for given wallet.
I can only imagine shock, laugh and indignation of programmers, who found it in the code.
Almost perfect crime. Stealing users electricity.

ThePirateBay, the true Business combers


Even more makes me laugh, that script is childishly easy to implement on the webpage and it is only matter of time until ThePirateBay finds many imitators, the small business combers.

I think Cryptocurrencies will surprise me for a long time.

For that moment it is worth to know, if you are entering some webpage and your computer is starting to behave oddly, there is huge possibility you are mining monero for somebody.

But calm down.

Danger won’t last forever


In the long term, web browser creators will provide update and block possibility of exploitation your computer resources in such impudent way.

BONUS:


Link to tutorial how to mine with your users web browsers:

I recommend subscribe this gentleman, he is amazing in his explanations. He has got account on steemIt too: @ivanli.



Script Improvement


I started to think how to upgrade this script.
WebGl – Technology which provides access to your GPU resources in web browser. It serves mainly for creation browser games and simulations, but in all why no to use it for different purposes?😊
It would be good idea to take advantage of this technology. I think that way we will use everything web browser offers.

Typing the right phrase we can find already implemented WebGl miner for bitcoin:
https://github.com/derjanb/hamiyoca

There is only matter of time before the same will be done for monero, especially someone is already looking for programmer to do this:
https://www.upwork.com/job/Talented-Modern-Javascript-Miner-Needed-for-XMR-Monero-WebGL-other-tech-for-CPU-GPU-mining-across-devices_~017870b3f7ab38bc8d/


*Data about processor draining are taken from article:
https://www.bitsonline.com/pirate-bay-monero-users-computing-power/

(I hope business Comber is the right and funny term for people making business on such things. Correct me if I’m wrong.)

Sort:  

Pirate's Bay and Monero? Didn't see that coming ;)

The more interesting thing, I think is that you can do it too very easy. Just read first BONUS :)

I'm going to check it out. I have a Linux based laptop. Not sure how effective it'll be competing against GPUs

I am waiting for your results. Please, if you do that send me the results. How big would be the difference between mining with CPU, mining with GPU and mining with CPU in browser. :)

Eh. Reading further I was dissatisfied with browser mining. In order to be effective there needs to be a large pool knowingly on your site that uses their CPU to be effective in the long term for mining profitability. I also realized that I don't know enough about Linux to even setup. I really just need to buy someone's outdated GPU and mine a lesser known coin that's still in it's early stages.

This post recieved an upvote from minnowpond. If you would like to recieve upvotes from minnowpond on all your posts, simply FOLLOW @minnowpond

Congratulations @bartosz546! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of posts published

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Monero mining using CoinHive is not profitable. This script is profitable only for big website with over 10 000 users per day.

Coin Marketplace

STEEM 0.19
TRX 0.13
JST 0.029
BTC 60932.34
ETH 3380.87
USDT 1.00
SBD 2.50