Skip to content
This repository was archived by the owner on Dec 27, 2019. It is now read-only.

Commit 8b901f6

Browse files
committed
Added pre-compiled lists for adblock-filter and pre-compiled hosts file.
+ Added adblock.txt: Adblock-fitler list, this can be used with ublock orgin, adblock plus etc etc. + Added hostfile.txt: pre-compiled hosts file that can be used as applications such as adaway, DNS66 and every application that supports hostfile format. * Edited README.md: to documentate the change which has been made. and a apology from me for the last commit: 9d53811 my rage went too far after the drama happend on linux mailinglists. Sorry about that. but that doesnt mean that COC will be returned. programming is not a politcal game. Signed-off-by: marfjeh <[email protected]>
1 parent 9d53811 commit 8b901f6

File tree

3 files changed

+9357
-11
lines changed

3 files changed

+9357
-11
lines changed

README.md

+25-11
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@ In September 2017, The PirateBay secretly added the JS miner without any user di
1919

2020
While it may seem like a great solution for the dying ads market, it's sad that the webmasters implemented it like a malware, without considering the end-user.
2121

22+
## How to use:
23+
24+
* Program's that supports hostfile format such as `adaway`, `ublock orgin`, `DNS66` you can use: `https://raw.githubusercontent.com/Marfjeh/coinhive-block/master/hostfile.txt`
25+
* Or you prefer to use a adblock-filter list: `https://raw.githubusercontent.com/Marfjeh/coinhive-block/master/adblock.txt`
26+
27+
Those lists gets updated on every commit, so you dont need to change them anymore after release.
28+
29+
## My domain is in this list. What now?
30+
If you beleaive this is a false-positive which can happen, please make an `issue` about this.
31+
and we will resolve this ASAP.
32+
33+
Make also sure that your webhost isnt compromised.
34+
35+
2236
## I'm using CoinHive on my site. What now?
2337
We suggest asking the end-user for opt-in before operation. It's the user's choice whether they wish to participate.
2438
If they don't, please respect their decision.
@@ -39,41 +53,41 @@ AntiMalwareBytes has also taken steps to block JS Miners stating:
3953
Some of the domains in this repo are from [ZeroDot1/CoinBlockerLists][8]
4054
Big shoutout to these guys. They're not just blocking JS miners, but every crypto-pool to make mining inside your network impossible. Very neat stuff for SysAdmins!
4155

42-
## How to install pre-compiled hostfile (ALL OS, Windows, Linux, Mac OSX, etc.)
43-
[On this wiki page][7] there's a tutorial on installation for Windows, Linux and Mac OSX etc.
4456

45-
There are multiple options for compiling the hostfile. Several are listed below:
57+
# Compiling
58+
To compile the files yourself: Several ways are listed below:
4659

47-
## How to compile (Linux)
60+
### How to compile (Linux)
4861
```BASH
49-
git clone https://github.com/Marfjeh/coinhive-block.git or git clone [email protected]:Marfjeh/coinhive-block.git
62+
git clone https://github.com/Marfjeh/coinhive-block.git
5063
cd coinhive-block
5164
sudo make
5265
sudo make install
5366
```
5467

55-
## How to install (Windows Python)
68+
### How to install (Windows Python) (as admin)
5669
```BASH
57-
git clone https://github.com/Marfjeh/coinhive-block.git or git clone [email protected]:Marfjeh/coinhive-block.git
70+
git clone https://github.com/Marfjeh/coinhive-block.git
5871
cd coinhive-block/compilers/src
5972
python make.py
6073
cd ../../
61-
copy /b %windir%/drivers/etc/hosts + hostfile %windir%/drivers/etc/hosts (as admin)
74+
copy /b %windir%/drivers/etc/hosts + hostfile %windir%/drivers/etc/hosts
6275
```
6376

64-
## How to install (Windows Binary)
77+
### How to install (Windows Binary) (as admin)
6578
```BASH
6679
git clone https://github.com/Marfjeh/coinhive-block.git or git clone [email protected]:Marfjeh/coinhive-block.git
6780
cd coinhive-block/compilers/bin
6881
compile.exe
6982
cd ../../
70-
copy /b %windir%/drivers/etc/hosts + hostfile %windir%/drivers/etc/hosts (as admin)
83+
copy /b %windir%/drivers/etc/hosts + hostfile %windir%/drivers/etc/hosts
7184
```
7285

73-
## Contributing
86+
### Contributing
7487
1. Clone the repository `[email protected]:Marfjeh/coinhive-block.git`
7588
2. Change directory to the coin-hice block folder `cd coinhive-block`
7689
3. Add new domains to the `domains` and start contributing!
90+
4. Make a pull-request.
7791

7892

7993
## License

0 commit comments

Comments
 (0)