Post
Topic
Board Service Announcements
Merits 11 from 3 users
Re: 💠 [ANN] SmartMixer.io | Crypto Mixer | Be Smart, Be Anonymous ❗❗✅
by
AdolfinWolf
on 07/02/2020, 18:48:43 UTC
⭐ Merited by LoyceV (8) ,TryNinja (2) ,DroomieChikito (1)
I've observed the SmartMixer.io website for a couple minutes now, and something strange is happening.

These "mixing" alerts don't pop up at the same time, or anywhere near the same time.



In three different browsers i observed the notifications. They were all different.

I came to the conclusion that they were either fake, or either only sending out notifications of the most recent transaction x seconds.

I unplugged my internet to make sure... and... They kept coming. I figured they were generated client-side.

And.... they are..

Wow... Explain this...

Code:
 const getRandomInt = (min,max)=>{
            min = Math.ceil(min);
            max = Math.floor(max);
            return Math.floor(Math.random() * (max - min)) + min;
        }
        ;
        const socialProof = $(".fixed-social-proof");
        const socialProofCurrency = $(".fixed-social-proof .currency");
        const socialProofPool = $(".fixed-social-proof .pool");
        const socialProofCloseIcon = $(".fixed-social-proof .close-icon");
        let socialProofTimeOut;
        function showSocialProof(currencyVal, poolVal, hideAfter=6000) {
            socialProofCurrency.text(currencyVal);
            socialProofPool.text(poolVal);
            socialProof.removeClass("fadeOutLeft").addClass("fadeInLeft");
            socialProofTimeOut && clearTimeout(socialProofTimeOut);
            socialProofTimeOut = setTimeout(()=>{
                socialProof.removeClass("fadeInLeft").addClass("fadeOutLeft");
            }
            , hideAfter);
        }
        socialProofCloseIcon.on("click", ()=>{
            socialProofTimeOut && clearTimeout(socialProofTimeOut);
            socialProof.removeClass("fadeInLeft").addClass("fadeOutLeft");
        }
        );
        (function loop() {
            const rand = getRandomInt(30000, 50000);
            const poolRandom = getRandomInt(1, 4);
            let poolName = "Standard Pool";
            if (poolRandom === 2) {
                poolName = "Smart Pool";
            }
            if (poolRandom >= 3) {
                poolName = "Stealth Pool";
            }
            let currency = "Bitcoin";
            let currencyRandom = getRandomInt(1, 5);
            if (currencyRandom === 1) {
                currency = "Litecoin";
            }
            if (currencyRandom === 2) {
                currency = "Bitcoin Cash";
            }
            setTimeout(function() {
                showSocialProof(currency, poolName, 4000);
                loop();
            }, rand);
        }
        )();
    });
}
https://www.smartmixer.io/bundles/frontend/assets/js/main.js?v=1581085334

Why would you do this?