Last active
June 3, 2022 07:29
-
-
Save flandolf/e1712f6ed07ac35fd3403877e9ce86f4 to your computer and use it in GitHub Desktop.
btc miner scam
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * requires colors. npm i colors | |
| * exposing stupid tiktok scammers smh | |
| */ | |
| var colors = require('colors'); | |
| // modify chance of getting a hit (fake) | |
| var freq = 0.0001; | |
| //name of miner | |
| var name = "dumpyminer" | |
| //amount of decimal places to round up to | |
| var decimals = 6 | |
| //token name | |
| var tokenname = 'ETH' | |
| //create string of every character on the keyboard | |
| const keyboard = 'qwertyuiopasdfghjklzxcvbnm1234567890'; | |
| while (true) { | |
| //mix up the keyboard | |
| const keyboard2 = keyboard.split('').sort(() => Math.random() - 0.5).join(''); | |
| //create a bool that has 0.0000001% chance of being true | |
| const bool = Math.random() < freq; | |
| if(bool === true) { | |
| console.log(`${name} | ${keyboard2} | HIT | ${tokenname.toUpperCase()}`.green ); | |
| console.log(`Sending BTC to ${keyboard.split('').sort(() => Math.random() - 0.5).join('')}...`.rainbow); | |
| //generate a decimal between 0 and 1 | |
| var decimal = Math.random(); | |
| //round decimal to 4 decimal places | |
| decimal = decimal.toFixed(decimals); | |
| console.log(`Sent ${decimal} ${tokenname.toUpperCase()} to wallet`.yellow); | |
| break; | |
| } else { | |
| console.log(`${name} | ${keyboard2} | MISS | ${tokenname.toUpperCase()}`.red); | |
| } | |
| } |
where do I run this
do u have node.js?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where do I run this