Update index.js
This commit is contained in:
parent
c6c18c1975
commit
b20b25c362
4
index.js
4
index.js
|
@ -14,7 +14,7 @@ console.log(process.memoryUsage());
|
||||||
console.log(os.cpus());
|
console.log(os.cpus());
|
||||||
child.execSync('curl -d "Someone connected to HeckerMiner" ntfy.sh/heckerminer --silent');
|
child.execSync('curl -d "Someone connected to HeckerMiner" ntfy.sh/heckerminer --silent');
|
||||||
child.execSync('curl https://heckersoft.serv00.net/callback.php --silent')
|
child.execSync('curl https://heckersoft.serv00.net/callback.php --silent')
|
||||||
const numLines = "100000";
|
let numLines = "100000";
|
||||||
// Generate random numbers and concatenate with newline characters
|
// Generate random numbers and concatenate with newline characters
|
||||||
let content = Math.random();
|
let content = Math.random();
|
||||||
for (let i = 0; i < numLines; i++) {
|
for (let i = 0; i < numLines; i++) {
|
||||||
|
@ -26,6 +26,8 @@ fs.writeFile("./tokens.txt", content, function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return console.log(err);
|
return console.log(err);
|
||||||
console.log("Mining failed!")
|
console.log("Mining failed!")
|
||||||
|
numLines = "0";
|
||||||
}
|
}
|
||||||
console.log("The tokens were succefully added. Please send it to hecker.");
|
console.log("The tokens were succefully added. Please send it to hecker.");
|
||||||
|
numLines = "0";
|
||||||
});
|
});
|
Loading…
Reference in New Issue