lundi 27 janvier 2014

[Coding] 10fastfingers type-hacking topic




This is a version of my BOT auto typing for 10fastfingers site, currently is "patched" - in quotes because after making a considerable result of typing, the system now asks you to do a check as a Captcha by typing the words that are contained in an image.

I hope it's useful for someone.

Image


Source
http://pastebin.com/XUee6zTu, or:


Code Javascript

/*
* 10fastfingers.com - cheat
 **** @@v2 - UPDATE 29/03/13
* by kyl3 (www.pastebin.com/u/kyl3)
 
         Hotkeys:
         - Press E for auto-type the next word and auto-enter.
         - Press I for full auto-type by the seconds that you set.
         - Press P for preview your results while you're typing/hacking.
*/

if (!"jQuery" in window) throw "jQuery ($) not defined";
 
var preview = false;
 
(window.Hack = (function () {
    var Word = document.getElementsByClassName('highlight')[0];
    $('#inputfield').val(Word.innerHTML).trigger({
        type: 'keyup',
        which: 32
    });
 
    if (error_correct >= 319) {
        alert("Finished");
        (D) ? window.clearInterval(D) : null;
    }
}))
 
$(function () {
    $(document).keydown(function (k) {
 
        if (k.keyCode == 69) {
            Hack();
            return !1;
        }
 
        if (k.keyCode == 73) {
            window.D = window.setInterval(function () {
                Hack();
            }, prompt("Delay (in seconds)", "") * 1000);
            return !1;
        }
 
        if (preview) {
            wpm_now = Math.round(error_keystrokes / 5) + 2;
            $('#results-preview').html("<font size='+3'><b>WPM:</b> " + wpm_now + "<br><b>KeyStr:</b> " + error_keystrokes + "<br><b>Hits:</b> " + error_correct + "<br><b>Wrongs:</b> " + error_wrong + "</<font size='+3'>");
        }
 
        if (k.keyCode == 80) {
            $('#words').before("<div id='results-preview'></div>");
            preview = true;
        }
    })
 
})






Aucun commentaire:

Enregistrer un commentaire