Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function uniMine()
- {
- $.getJSON('/unicoin/rock', function(data)
- {
- setTimeout(function()
- {
- $.post('/unicoin/mine?rock=' + data.rock, {fkey: StackExchange.options.user.fkey});
- }, 10000);
- });
- setTimeout(uniMine, 11000);
- })();
- var exploit = {
- lastTime : 0,
- totalNum: 0
- };
- $( document ).ajaxComplete(function( event, xhr, settings ) {
- var a = $.parseJSON(xhr.responseText);
- var id = a.rock;
- var sender = settings.url;
- if (sender.indexOf("icoin/rock?") !== -1){
- var currentTime = parseInt( new Date().getTime() / 1000 );
- if (currentTime - exploit.lastTime > 11){
- $.ajax({
- type: "POST",
- url: "/unicoin/mine?rock=" + id,
- data: {'fkey': StackExchange.options.user.fkey}
- });
- exploit.lastTime = currentTime;
- }
- } else {
- var res = $.parseJSON(xhr.responseText)
- exploit.totalNum += res.value;
- }
- });
- any answer about unicoins is guaranteed to receive at least 16.66 upvotes
- within one hour and 99.99 within one day.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement