עבור אל תוכן

כיצד לחסום כריית הביטקוין בדפדפן שלך



  • אנא התחבר בכדי להגיב
4 תגובות לנושא זה

#1
 Richi

Richi
  •  תורמים
  • 376 הודעות
    • מונה תודות: 175 תודות
100
מעולה
How to block Bitcoin Mining in your browser


Bitcoin mining can be profitable, and that is likely the reason why we have seen desktop miners and now also browser miners being pushed on to user devices.
The Piratebay experimented with running a Bitcoin miner instead of ads recently, and created quite the uproar as users started to notice that the new monetization method would yank up CPU usage to 100%.
An update of the Google Chrome extension SafeBrowse integrated a Javascript miner as well in the extension, and led to the removal of the extension from Google's Chrome Web Store.
Any site you visit in the browser, and any browser extension, may run Bitcoin mining operations. While it seems highly unlikely that popular or user respecting sites or extensions will do that, it seems likely that these first incidents were just the first wave of mining operations to come.
Computer users have a couple of options when it comes to protecting their devices against browser-based Bitcoin mining.
While it is certainly possible to use content blocking extensions to prevent mining scripts to run in first place on sites, these usually won't block extension-based mining.
Probably the best option right now is to block known Bitcoin mining domains. One of the better options to do that is to add these to the hosts file of the operating system so that these domains redirect to localhost.
The effect is that sites and extensions won't be able to contact these domains anymore because of the redirect. Downside is that you need to add new domains and modify existing ones if the need arises manually.

תמונה שפורסמה

Windows users need to do the following to add Bitcoin mining domains to the hosts file:
  • Open Explorer or another file manager on the system, and go to C:\Windows\System32\drivers\etc.
  • Open the file hosts in a plain text editor, for instance Notepad.
  • Add the line 0.0.0.0 coin-hive.com to the end of the document. Make sure you press the Tab-key after entering the IP address 0.0.0.0.
  • Save the document.
What this does is redirect any request to coin-hive.com to the IP address 0.0.0.0 (the local device).
As Ghacks reader Linuxfan mentioned, the line mentioned above blocks only coin-hive.com but not any subdomain such as www.coin-hive.com. So, you may need to add these variants if they are used as well to the hosts file.
Tip: On Linux, you can run sudo nano /etc/hosts, on Mac OS X, sudo nano /private/etc/hosts. Replace nano with whatever editor you favor.
This takes care of Bitcoin mining scripts hosted by coin-hive.com, the service that both the Pirate Bay and the Chrome extension used. Note that this won't take into account self-hosted scripts. You need to add those separately to the hosts file to block them as well.
Another option that you have is to disable Javascript on these sites. This may not be possible all the time, as sites may require Javascript for some or all of functionality, but Bitcoin miners based on Javascript cannot run if Javascript is disabled.

מקור: ghacks Martin Brinkmann

כפי שאתם קוראים בכתבה ,אפשר לערוך את קובץ ה HOSTS באופן ידני אבל החסרון הוא שאתה צריך להוסיף דומיניים חדשים ולשנות הקיימים אם מתעורר הצורך ו באופן ידני.


תוסף לכרום :

תוסף לפיירפוקס

קיבל תודות על-ידי 3 משתמשים:

#2
 moca

moca
  •  חברים רשומים
  • 54 הודעות
    • מונה תודות: 5 תודות
3
רגיל
תודה

#3
 eran405

eran405
  •  חברים רשומים
  • 9 הודעות
    • מונה תודות: 4 תודות
4
רגיל
תודה

#4
 tapt

tapt
  •  חברים רשומים
  • 148 הודעות
    • מונה תודות: 25 תודות
16
רגיל
תודה רבה

#5
 TalSh

TalSh
  •  חברים רשומים
  • 30 הודעות
    • מונה תודות: 0 תודות
0
רגיל
תודה





תויגו גם עם אחת או יותר ממילות המפתח הללו: מדריך כללי

0 משתמשים קוראים נושא זה

0 משתמשים, 0 אורחים, 0 משתמשים אנונימיים