Discussions » Creation Requests

Looking for script can input captcha NUMBER

§
Posted: 2015.04.19.
Edited: 2015.04.19.

Looking for script can input captcha NUMBER

I looking any sourse can check and detect number on HTML code

Link : http://www.rziz.net/myt5fp4uykw9/Comment.txt.html

Screen Shot : https://qsnapnet.com/snaps/wfir3qpf3qflayv

Source code :

<span style="position:absolute;padding-left:42px;padding-top:4px;">
    3

</span>
<span style="position:absolute;padding-left:28px;padding-top:4px;">
    1

</span>
<span style="position:absolute;padding-left:8px;padding-top:6px;">
    9

</span>
<span style="position:absolute;padding-left:61px;padding-top:4px;">
    2

</span>
woxxomMod
§
Posted: 2015.04.19.
Edited: 2015.04.19.

rziz.net captcha userscript.

This script solves the captcha, waits for the download button to be enabled and clicks it. It doesn't click the "Slow download" button which can also be easily done if needed, thus fully automating the download process.

I tried to remove the 15 sec countdown, but apparently the remote server checks it too and returns a page with an error "Skipped countdown" on premature form.submit()

§
Posted: 2015.04.19.

Thanks alot i will trying to test

§
Posted: 2015.04.19.

Amazing it work !!!!!!!

Thanks alot again !!!!!!

§
Posted: 2015.04.20.

Did not realize you(@wOxxOm) have created a script for that :<, I'll post my solution here anyway ..

It does not use xpath (Not familiar with it), and a simple update can break it.

var code = document.querySelector('input.captcha_code');

var digits;
function getLeft (d) {
    return parseInt(d.style.paddingLeft);
}

if (code) {
    digits = code.parentElement.previousElementSibling.children[0].children;

    code.value = [].slice.call(digits).sort(function (d1, d2) {
        return getLeft(d1) - getLeft(d2);
    }).map(function(d){
        return d.textContent;
    }).join('');
}
§
Posted: 2015.04.21.

Ha! Nice "captcha"!

Post reply

Sign in to post a reply.