Запускаю imacros через прокси...Вот код...
function antiCaptcha(encodeBase64) {
    var Cc = Components.classes, Ci = Components.interfaces;
    var id = sendCaptcha();
    var getUrl = ''
http://127.0.0.3/res.php?key=&action=get&id='+id;
    for ( var i = 1; i <= 20; i++ ) {
        log('Ждем разгадки каптчи\nЗапрос ' +i);
        iimPlayCode('wait seconds=5');
        var xhr = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
        xhr.open('GET', getUrl , false);
        xhr.send();
        if (~xhr.responseText.indexOf('OK|')) {
            var response = id + '|' + xhr.responseText.split('|')[1];
            log('Ответ получен ' +response);
            return response;
        } else if (~xhr.responseText.indexOf('CAPCHA_NOT_READY')) {
            log('Каптча еще не разгадана');
        } else {
            log('Ошибка '+xhr.responseText);
            return;
        };
    };
    function sendCaptcha() {
        var data = 'method=base64' + '&key='  + encodeURIComponent(key) + '&body=' + encodeURIComponent(encodeBase64);
        var xhr = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
        xhr.open('POST', '
http://127.0.0.3/in.php' , false);
        xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
        xhr.send(data);
        alert(xhr.responseText);
        if (~xhr.responseText.indexOf('OK|')) {
            return xhr.responseText.split('|')[1];
        };
    };
    function log(txt) {
        iimDisplay(txt + '\n\n(с) 2016 by Hamzat >> 
https://vk.com/id242333072 <<\nПродажа запрещена');
    };
};
antiCaptcha(encodeBase64,key);