All Projects → 1lastBr3ath → Drmine

1lastBr3ath / Drmine

Dr. Mine is a node script written to aid automatic detection of in-browser cryptojacking.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Drmine

Capture Website Cli
Capture screenshots of websites from the command-line
Stars: ✭ 545 (+1457.14%)
Mutual labels:  puppeteer
Browserless
A browser driver on top of puppeteer, ready for production scenarios.
Stars: ✭ 664 (+1797.14%)
Mutual labels:  puppeteer
Url To Pdf Api
Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
Stars: ✭ 6,544 (+18597.14%)
Mutual labels:  puppeteer
Puppeteer Lambda Starter Kit
Starter Kit for running Headless-Chrome by Puppeteer on AWS Lambda.
Stars: ✭ 563 (+1508.57%)
Mutual labels:  puppeteer
Try Puppeteer
Run Puppeteer code in the cloud
Stars: ✭ 642 (+1734.29%)
Mutual labels:  puppeteer
Socialmanagertools Igbot
🤖 📷 Instagram Bot made with love and nodejs
Stars: ✭ 699 (+1897.14%)
Mutual labels:  puppeteer
Chromda
λ 🖼️ Chromda is an AWS Lambda function for capturing screenshots of websites.
Stars: ✭ 481 (+1274.29%)
Mutual labels:  puppeteer
Singlefilez
Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a self-extracting HTML/ZIP polyglot file
Stars: ✭ 882 (+2420%)
Mutual labels:  puppeteer
Docker Puppeteer
A minimal Docker image for Puppeteer
Stars: ✭ 656 (+1774.29%)
Mutual labels:  puppeteer
Ui Testing Best Practices
The largest UI testing best practices list (last update: January 2021)
Stars: ✭ 783 (+2137.14%)
Mutual labels:  puppeteer
Differencify
Differencify is a library for visual regression testing
Stars: ✭ 572 (+1534.29%)
Mutual labels:  puppeteer
Wbot
A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 14th, 2020
Stars: ✭ 638 (+1722.86%)
Mutual labels:  puppeteer
Dps
🍊 a way to make skeleton screen, 一种自动生成网页骨架屏的方式
Stars: ✭ 780 (+2128.57%)
Mutual labels:  puppeteer
Headless Chrome Crawler
Distributed crawler powered by Headless Chrome
Stars: ✭ 5,129 (+14554.29%)
Mutual labels:  puppeteer
Repng
React component to PNG converter
Stars: ✭ 856 (+2345.71%)
Mutual labels:  puppeteer
Sms Boom
利用chrome的headless模式,模拟用户注册进行短信轰炸机
Stars: ✭ 507 (+1348.57%)
Mutual labels:  puppeteer
Puppeteer Api Zh cn
📖 Puppeteer中文文档(官方指定的中文文档)
Stars: ✭ 697 (+1891.43%)
Mutual labels:  puppeteer
Devtools Protocol Demos
Demos of the Chrome DevTools Protocol for various testing/automation techniques
Stars: ✭ 21 (-40%)
Mutual labels:  puppeteer
Blazar
Pre-Render Pages on the Fly in Laravel
Stars: ✭ 14 (-60%)
Mutual labels:  puppeteer
Foxr
🦊 Node.js API to control Firefox
Stars: ✭ 783 (+2137.14%)
Mutual labels:  puppeteer

Dr. Mine

Dr. Mine is a node script written to aid automatic detection of in-browser cryptojacking. The most accurate way to detect things that happen in a browser is via browser itself. Thus, Dr. Mine uses puppeteer to automate browser thingy and catches any requests to online cryptominers. When a request to any online cryptominers is detected, it flags the corresponding URL and cryptominer being in use. Therefore, however the code is written or obfuscated, Dr. Mine will catch it (as long as the miners are in the list). The list of online cryptominers are fetched from CoinBlockerLists. The result is also saved on file for later use.

  • Can also process single URL passed directly via command line
  • All links found on the first (requested) page are also processed, if same-origin
  • All configurable options are stored in config.js allowing easier modifications
  • To reduce extra bandwidth and processing, all requests to resources like fonts, images, media, stylesheets are aborted

Dr. Mine, now, uses bluebird- making it much faster and more efficient.

Pre-requisites & Installation

The following 3 lines of commands should set everything up and running on Arch distros;

pacman -S nodejs npm
git clone https://github.com/1lastBr3ath/drmine.git && cd drmine
npm install

Please make sure your version of node is 7.6.0 or greater. For any installation assistance or instructions on specific distros, please refer to respective documentations;
https://nodejs.org/en/download/package-manager/
https://docs.npmjs.com/getting-started/installing-node
https://github.com/puppeteer/puppeteer#puppeteer-core

Usage

Dr. Mine accepts either a URL or a file which is expected to contain valid URLs. Usage is as simple as;

node drmine.js list.txt

A sample list.txt looks like;

http://cm2.pw
http://cm2.pw/xmr/
https://example.com/

An example of passing URL directly via command line;

node drmine.js http://cm2.pw/xmr/

Screenshot

Screenshot

Contribution

Dr. Mine can still be improved in a lot of ways. Any feedback and/or contributions are highly appreciated.

To-do

  • Proper Error Handling
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].