├── .gitignore ├── LICENSE ├── MCB_v520(EN).js ├── MCB_v520(RU).js └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Good Boy License 2 | 3 | Copyright (c) 2018 Alexander 4 | 5 | Please do whatever your mom would approve of. 6 | 7 | Permitted Use 8 | ☑ Download 9 | ☑ Change 10 | ☑ Fork on GitHub 11 | 12 | Prohibited Use 13 | ☒ No tattoos 14 | ☒ No touching with unwashed hands 15 | ☒ No exchanging for drugs -------------------------------------------------------------------------------- /MCB_v520(EN).js: -------------------------------------------------------------------------------- 1 | /** 2 | * @description freebitco.in / freedoge.co.in / freenem.com [ MultiCaptchaBot] 3 | * @since Sat May 19 2018 23:05:19 GMT+0300 (MSK) 4 | * @version 5.2.0 (EN) 5 | * @tutorial https://multicaptchabot.wixsite.com/multicaptchabot/instruction 6 | * @author AlexanderFSP 7 | * 8 | * [ Instruction ]: 9 | * ⑴ Download Mozilla Firefox, iMacros v8.9.7 and configure them according to README.md: https://github.com/AlexanderFSP/MultiCaptchaBot/blob/master/README.md 10 | * ⑵ Sign in for sites which you are going to use bot for 11 | * ⑶ Register and add funds to your captcha recognition service account using any payment method you prefer 12 | * ⑷ Attention, don't forget to do the following actions: 13 | * ▻ Create folder C:\MultiCaptcha_bot 14 | * ▻ Place your API KEY from ruCaptcha.com / 2Captcha.com instead of asterisks (Line №29) 15 | * ▻ Activate faucets you need and additional functions for them (Lines №31 - 44) 16 | * ▻ In order to use freenem.com you will need to install any extension to block ads. I suggest installing Adblock Plus 17 | * Download link: https://adblockplus.org/en/ 18 | * 19 | * [ Сontact with me ]: 20 | * ⑴ E-mail: multicaptchabot@ya.ru 21 | * ⑵ Website: https://multicaptchabot.wixsite.com/multicaptchabot 22 | * ⑶ ruCaptcha.com: https://rucaptcha.com/software/view/freebitcoin-multicaptcha-bot 23 | */ 24 | //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 25 | // [ Block №1 ]: User settings 26 | const captchaPath = 'C:\\MultiCaptcha_bot\\'; // Text captchas download path (Don't forget to use double backslashes) 27 | const logPath = 'C:\\MultiCaptcha_bot\\log.txt'; // Full log filename (Don't forget to use double backslashes) 28 | 29 | const apiKey = '******************************'; // Your ruCaptcha.com / 2Captcha.com API-KEY 30 | 31 | // [ Block №2 ]: https://freebitco.in/ 32 | const freeBITCOIN = 'OFF'; // [ON / OFF] - Use bot on https://freebitco.in/ 33 | const freeBITCOIN_RewardPoints = 'OFF'; // [ON / OFF] - Auto-apply Reward Points on https://freebitco.in/ (Full algorithm can be found here: https://github.com/AlexanderFSP/MultiCaptchaBot) 34 | const freeBITCOIN_RandomTimer = 'OFF'; // [ON / OFF] - Random delay for from 30 seconds to 2 minutes before next roll on https://freebitco.in/ 35 | 36 | // [ Block №3 ]: https://freedoge.co.in/ 37 | const freeDOGECOIN = 'OFF'; // [ON / OFF] - Use bot on https://freedoge.co.in/ 38 | const freeDOGECOIN_RandomTimer = 'OFF'; // [ON / OFF] - Random delay for from 30 seconds to 2 minutes before next roll on https://freedoge.co.in/ 39 | 40 | // [ Block №4 ]: https://freenem.com/ 41 | const freeNEM = 'OFF'; // [ON / OFF] - Use bot on https://freenem.com/ 42 | const freeNEM_Login = '*************'; // Login (Required, because session is valid for 3 hours only) 43 | const freeNEM_Password = '*************'; // Password (For the same reason) 44 | const freeNEM_RandomTimer = 'OFF'; // [ON / OFF] - Random delay for from 30 seconds to 2 minutes before next roll on https://freenem.com/ 45 | //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 46 | /** 47 | * @description Solving reCAPTCHA v2 via https://ruCaptcha.com (http://discount.ruCaptcha.com) / http://2Captcha.com (http://discount.2Captcha.com) 48 | * @since Wed Apr 11 2018 21:08:55 GMT+0300 (MSK) 49 | * @author AlexanderFSP 50 | * 51 | * @function solveReCaptcha_ruCaptcha 52 | * @param { String } data_sitekey Site key 53 | * @param { String } pageurl URL of the page on which reCAPTCHA v2 is recognized 54 | * @param { Number } invisble Request parametr needed to solve Invisible reCAPTCHA V2 55 | * @returns { JSON } An object that contains information about a successful / unsuccessful request to the server - https://ruCaptcha.com (http://discount.ruCaptcha.com) / http://2Captcha.com (http://discount.2Captcha.com) 56 | */ 57 | function solveReCaptcha_ruCaptcha(data_sitekey, pageurl, invisble) { 58 | var serverURL = 'http://discount.rucaptcha.com/'; 59 | while (true) { 60 | iimPlayCode('SET !TIMEOUT_PAGE 60\nTAB OPEN\nTAB T=2\nURL GOTO=' + serverURL + 'in.php?key=' + apiKey + '&method=userrecaptcha&googlekey=' + data_sitekey + '&pageurl=' + pageurl + '&invisible=' + invisble + '&json=1&soft_id=2004'); 61 | var answer = ""; 62 | if (window.content.document.getElementsByTagName('pre').length == 0) { 63 | answer = JSON.parse(window.content.document.getElementsByTagName('plaintext')[0].firstChild.data); 64 | } 65 | else { 66 | answer = JSON.parse(window.content.document.getElementsByTagName('pre')[0].firstChild.data); 67 | } 68 | if (!answer['status']) { 69 | if (answer['request'] === 'ERROR_NO_SLOT_AVAILABLE') { 70 | iimDisplay('[ ' + serverURL + ' ]: Error! Trying to solve again...'); 71 | log(pageurl, 'Error ' + serverURL + ' (' + answer['request'] + '). Changing priority of server and trying to solve again...'); 72 | serverURL = 'http://rucaptcha.com/'; // => Changing priority of server... 73 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 74 | continue; 75 | } 76 | iimDisplay('[ ' + serverURL + ' ]: Error! Trying to solve again...'); 77 | log(pageurl, 'Error ' + serverURL + ' (' + answer['request'] + '). Trying to solve again...'); 78 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 79 | return { 'status' : 0, 'taskId' : 0, 'hash' : answer['request'], 'server' : serverURL }; // => { status : 0, taskId : 0, hash : ERROR_CODE, server : SERVER_URL } 80 | } 81 | var taskId = answer['request']; 82 | break; 83 | } 84 | 85 | iimPlayCode('WAIT SECONDS=10'); 86 | 87 | var numberOfIterations = 1; 88 | while (numberOfIterations <= 30) { 89 | iimPlayCode('SET !TIMEOUT_PAGE 60\nURL GOTO=' + serverURL + 'res.php?key=' + apiKey + '&action=get&id=' + taskId + '&json=1'); 90 | if (window.content.document.getElementsByTagName('pre').length == 0) { 91 | answer = JSON.parse(window.content.document.getElementsByTagName('plaintext')[0].firstChild.data); 92 | } 93 | else { 94 | answer = JSON.parse(window.content.document.getElementsByTagName('pre')[0].firstChild.data); 95 | } 96 | if (answer['status']) { 97 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 98 | break; 99 | } else { 100 | if (answer['request'] !== 'CAPCHA_NOT_READY') { 101 | iimDisplay('[ ' + serverURL + ' ]: Error! Trying to solve again...'); 102 | log(pageurl, 'Error ' + serverURL + ' (' + answer['request'] + '). Trying to solve again...'); 103 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 104 | return { 'status' : 0, 'taskId' : taskId, 'hash' : answer['request'], 'server' : serverURL }; // => { status : 0, taskId : 0, hash : ERROR_CODE, server : SERVER_URL } 105 | } 106 | 107 | if (numberOfIterations == 30) { 108 | iimDisplay('[ ' + serverURL + ' ]: Response time is expired! Trying to solve again...'); 109 | log(pageurl, 'Response time is expired! Trying again...'); 110 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 111 | return { 'status' : 0, 'taskId' : taskId, 'hash' : answer['request'], 'server' : serverURL }; // => { status : 0, taskId : 0, hash : 'CAPCHA_NOT_READY', server : SERVER_URL } 112 | } 113 | 114 | iimDisplay('Iteration number : ' + numberOfIterations); 115 | iimPlayCode('WAIT SECONDS=5'); // => 10 + 30 * 5 = 160 secs. 116 | numberOfIterations++; 117 | } 118 | } 119 | return { 'status' : answer['status'], 'taskId' : taskId, 'hash' : answer['request'], 'server' : serverURL }; 120 | } 121 | 122 | /** 123 | * @description Solving text captchas via https://ruCaptcha.com / http://2Captcha.com 124 | * @since Wed Apr 11 2018 21:35:20 GMT+0300 (MSK) 125 | * @author AlexanderFSP 126 | * 127 | * @function solveTextCaptcha_ruCaptcha 128 | * @param { String } pageurl URL of the page on which text captcha is recognized 129 | * @param { String } captchaName The name of image with captcha 130 | * @param { Number } minLen Minimum number of characters in the response 131 | * @param { Number } maxLen Maximum number of characters in the response 132 | * @param { String } regsense Case sensitivity 133 | * @returns { JSON } An object that contains information about a successful / unsuccessful request to the server - http://ruCaptcha.com / http://2Captcha.com 134 | */ 135 | function solveTextCaptcha_ruCaptcha(pageurl, captchaName, minLen, maxLen, regsense) { 136 | iimPlayCode('SET !ERRORIGNORE YES' 137 | +n+ 'SET !TIMEOUT_PAGE 60' 138 | +n+ 'SET !TIMEOUT_STEP 10' 139 | +n+ 'TAB OPEN' 140 | +n+ 'TAB T=2' 141 | +n+ 'URL GOTO=http://imacros2.rucaptcha.com/new/' 142 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:key CONTENT=' + apiKey 143 | +n+ 'TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:getcapcha.php ATTR=NAME:file CONTENT=' + captchaPath + captchaName 144 | +n+ 'TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:getcapcha.php ATTR=NAME:get_id CONTENT=YES' 145 | +n+ 'TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:getcapcha.php ATTR=NAME:regsense CONTENT=' + regsense 146 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:min_len CONTENT=' + minLen 147 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:max_len CONTENT=' + maxLen 148 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:language CONTENT=2' 149 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:numeric CONTENT=2' 150 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:soft_id CONTENT=2004' 151 | +n+ 'SET !TIMEOUT_PAGE 100' 152 | +n+ 'TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:getcapcha.php ATTR=*'); 153 | var result = window.content.document.querySelector('body').innerHTML; 154 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE'); 155 | 156 | if (result.includes('OK')) 157 | return { 'status' : 1, 'taskId' : result.split('|')[1], 'hash' : result.split('|')[2], 'server' : 'http://rucaptcha.com/' }; 158 | iimDisplay('[ http://rucaptcha.com/ ] : Error! Trying to solve again...'); 159 | log(pageurl, 'Error http://rucaptcha.com/ (' + result + '). Trying to solve again...'); 160 | return { 'status' : 0, 'taskId' : 0, 'hash' : result, 'server' : 'http://rucaptcha.com/' }; // => { status : 0, taskId : 0, hash : ERROR_CODE, server : 'http://rucaptcha.com/' } 161 | } 162 | 163 | /** 164 | * @description Sending reports to wrong answers from http://discount.rucaptcha.com / https://rucaptcha.com 165 | * @since Wed Apr 11 2018 21:38:46 GMT+0300 (MSK) 166 | * @author AlexanderFSP 167 | * 168 | * @function reportCaptcha 169 | * @param { String } serverURL URL of captcha recognition server 170 | * @param { String } taskId ID of the incorrectly resolved captcha 171 | */ 172 | function reportCaptcha(serverURL, taskId) { 173 | iimPlayCode('SET !ERRORIGNORE YES' 174 | +n+ 'SET !TIMEOUT_PAGE 30' 175 | +n+ 'TAB OPEN' 176 | +n+ 'TAB T=2' 177 | +n+ 'URL GOTO=' + serverURL + 'res.php?key=' + apiKey + '&action=reportbad&id=' + taskId 178 | +n+ 'TAB CLOSE'); 179 | } 180 | 181 | /** 182 | * @description Waiting until the next gathering 183 | * @since Wed Apr 11 2018 21:41:17 GMT+0300 (MSK) 184 | * @author AlexanderFSP 185 | * 186 | * @function timeTillNextRoll 187 | * @param { String } pageurl URL of the page on which the timer was detected (for log.txt) 188 | * @param { String } pageurl_RandomTimer Random delay 189 | * @param { Number } seconds Time till next roll in seconds 190 | */ 191 | function timeTillNextRoll(pageurl, pageurl_RandomTimer, seconds) { 192 | if (pageurl_RandomTimer === 'ON') 193 | seconds += Math.floor(Math.random () * 90 + 20); 194 | seconds += 10; // => default waiting 195 | 196 | iimDisplay('Time till next roll: ' + seconds + ' secs.' 197 | +n+ 'Earnings during this session:' 198 | +n+ '[ freebitco.in ]' 199 | +n+ '\t# ' + Winnings_freeBITCOIN.toFixed(8) + ' BTC' 200 | +n+ '\t# ' + Rewards_freeBITCOIN + ' Reward Points' 201 | +n+ '\t# ' + Tickets_freeBITCOIN + ' Lottery Tickets' 202 | +n+ '[ freedoge.co.in ]' 203 | +n+ '\t# ' + Winnings_freeDOGECOIN.toFixed(8) + ' DOGE' 204 | +n+ '[ freenem.com ]' 205 | +n+ '\t# ' + Winnings_freeNEM.toFixed(8) + ' NEM'); 206 | log(pageurl, 'Waiting ' + seconds + ' till next roll...'); 207 | iimPlayCode('WAIT SECONDS=' + seconds); 208 | } 209 | 210 | /** 211 | * @description Generating a random name for the text file with text captcha 212 | * @since Wed Apr 11 2018 21:42:00 GMT+0300 (MSK) 213 | * @author AlexanderFSP 214 | * 215 | * @function timeTillNextRoll 216 | * @returns { String } The name of image with captcha 217 | */ 218 | function makeUniqueName() { 219 | var text = 'FreeCrypto_'; 220 | var possible = 'abcdefghijklmnopqrstuvwxyz0123456789'; 221 | 222 | for(let i = 0; i <= 10; i++) 223 | text += possible.charAt(Math.floor(Math.random() * possible.length)); 224 | return text + '.jpg'; 225 | } 226 | 227 | /** 228 | * @description Logging 229 | * @since Wed Apr 11 2018 21:43:38 GMT+0300 (MSK) 230 | * @author AlexanderFSP 231 | * 232 | * @function log 233 | * @param { String } pageurl URL of the page 234 | * @param { String } message New record 235 | */ 236 | function log(pageurl, message) { 237 | var text = '[ ' + new window.Date().toLocaleDateString() + ' ' + new window.Date().toLocaleTimeString() + ' ]: (' + pageurl + ') - ' + message + '\r\n'; 238 | var fileDescriptor = imns.FIO.openNode(logPath); 239 | imns.FIO.appendTextFile(fileDescriptor, text); 240 | } 241 | 242 | /** 243 | * @description Informing about the unsuccessful captcha solution 244 | * @since Wed Apr 11 2018 21:44:27 GMT+0300 (MSK) 245 | * @author AlexanderFSP 246 | * 247 | * @function notificationsBadCaptcha 248 | * @param { String } pageurl URL of the page 249 | */ 250 | function notificationsBadCaptcha(pageurl) { 251 | iimDisplay('Bot didn\'t decide captcha 5 times in a row. Come back a little later...'); 252 | log(pageurl, 'Bot didn\'t decide captcha 5 times in a row. Come back a little later...'); 253 | } 254 | 255 | /** 256 | * @description Informing of incomplete filling of initial data 257 | * @since Wed Apr 11 2018 21:45:44 GMT+0300 (MSK) 258 | * @author AlexanderFSP 259 | * 260 | * @function checkForInattention 261 | * @returns { Boolean } A flag indicating the incorrect filling of the initial data 262 | */ 263 | function checkForInattention() { 264 | if ((freeBITCOIN === 'OFF') && (freeDOGECOIN === 'OFF') && (freeNEM === 'OFF')) { 265 | alert('Before starting the bot in the text file \"MCB_v510(EN).js\" you must select at least one project to be used. Be careful!\n\nLine №32: const freeBITCOIN = \'OFF\';\nLine №37: const freeDOGECOIN = \'OFF\';\nLine №41: const freeNEM = \'OFF\';'); 266 | return true; 267 | } 268 | 269 | if (apiKey === '******************************') { 270 | alert('Before starting the bot in the text file \"MCB_v510(EN).js\" you must place your API KEY from ruCaptcha.com / 2Captcha.com instead of asterisks. Be careful!\n\nLine №29: const apiKey = \'******************************\';'); 271 | return true; 272 | } 273 | 274 | if ((freeNEM === 'ON') && ((freeNEM_Login === '*************') || (freeNEM_Password === '*************'))) { 275 | alert('You activated the bot on https://freenem.com/, but forgot to enter your login and password on this project. Be careful!\n\nLine №42: const freeNEM_Login = \'*************\';\n\nLine №43: const freeNEM_Password = \'*************\';'); 276 | return true; 277 | } 278 | 279 | return false; 280 | } 281 | //--------------------------------------------------------------------------------------------------------------------------------------------------- 282 | const n = '\n'; 283 | var Winnings_freeBITCOIN = 0, Rewards_freeBITCOIN = 0, Tickets_freeBITCOIN = 0, Winnings_freeDOGECOIN = 0, Winnings_freeNEM = 0; 284 | 285 | while (true) { 286 | if (checkForInattention()) break; 287 | 288 | try { 289 | while (true) { 290 | // https://freebitco.in/ - - - - - > 291 | if (freeBITCOIN === 'ON') { 292 | freeBitcoinBody : { 293 | do { 294 | iimDisplay('Connecting to the https://freebitco.in/...'); 295 | log('freebitco.in', 'Connecting to the site...'); 296 | iimPlayCode('SET !TIMEOUT_PAGE 30' 297 | +n+ 'TAB CLOSEALLOTHERS' 298 | +n+ 'TAB T=1' 299 | +n+ 'TAB CLOSE' 300 | +n+ 'URL GOTO=https://freebitco.in/?op=home' 301 | +n+ 'WAIT SECONDS=8'); 302 | if (!window.content.document.getElementById('free_play_form_button')) { 303 | iimDisplay('Cloudflare protection is detected...'); 304 | log('freebitco.in', 'Cloudflare protection is detected...'); 305 | iimPlayCode('WAIT SECONDS=20'); 306 | continue; 307 | } 308 | break; 309 | } while (!window.content.document.getElementById('free_play_form_button')); 310 | 311 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 312 | let timer = Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[1]) * 60 + Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[2]); 313 | timeTillNextRoll('freebitco.in', freeBITCOIN_RandomTimer, timer); 314 | } 315 | 316 | let solvingCaptchaCycles = 1, answer = null; 317 | freeBitcoinLabel: 318 | while (solvingCaptchaCycles <= 5) { 319 | do { 320 | iimDisplay('Refreshing page...'); 321 | log('freebitco.in', 'Refreshing page...'); 322 | iimPlayCode('SET !TIMEOUT_PAGE 60' 323 | +n+ 'TAB CLOSEALLOTHERS' 324 | +n+ 'TAB T=1' 325 | +n+ 'TAB CLOSE' 326 | +n+ 'URL GOTO=https://freebitco.in/?op=home' 327 | +n+ 'WAIT SECONDS=8'); 328 | if (!window.content.document.getElementById('free_play_form_button')) { 329 | iimDisplay('Cloudflare protection is detected...'); 330 | log('freebitco.in', 'Cloudflare protection is detected...'); 331 | iimPlayCode('WAIT SECONDS=20'); 332 | continue; 333 | } 334 | break; 335 | } while (!window.content.document.getElementById('free_play_form_button')); 336 | 337 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 338 | iimDisplay('There was an exception...'); 339 | log('freebitco.in', 'There was an exception...'); 340 | break; 341 | } 342 | 343 | if (freeBITCOIN_RewardPoints === 'ON') { 344 | let accountRewardPoints = Number(window.content.document.getElementsByClassName('user_reward_points')[0].innerHTML.replace(',', '')); 345 | 346 | if (!window.content.document.getElementById('bonus_container_free_points') && (accountRewardPoints >= 12)) { 347 | if (accountRewardPoints < 120) { 348 | iimDisplay('Activating 1 REWARD POINTS / ROLL...'); 349 | log('freebitco.in', 'Activating \'1 REWARD POINTS / ROLL\''); 350 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_1\')\nWAIT SECONDS=1'); 351 | accountRewardPoints -= 12; 352 | } else if ((accountRewardPoints >= 120) && (accountRewardPoints < 600)) { 353 | iimDisplay('Activating 10 REWARD POINTS / ROLL...'); 354 | log('freebitco.in', 'Activating \'10 REWARD POINTS / ROLL\''); 355 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_10\')\nWAIT SECONDS=1'); 356 | accountRewardPoints -= 120; 357 | } else if ((accountRewardPoints >= 600) && (accountRewardPoints < 1200)) { 358 | iimDisplay('Activating 50 REWARD POINTS / ROLL...'); 359 | log('freebitco.in', 'Activating \'50 REWARD POINTS / ROLL\''); 360 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_50\')\nWAIT SECONDS=1'); 361 | accountRewardPoints -= 600; 362 | } else { 363 | iimDisplay('Activating 100 REWARD POINTS / ROLL...'); 364 | log('freebitco.in', 'Activating \'100 REWARD POINTS / ROLL\''); 365 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_100\')\nWAIT SECONDS=1'); 366 | accountRewardPoints -= 1200; 367 | } 368 | } 369 | 370 | if (!window.content.document.getElementById('bonus_container_fp_bonus') && (accountRewardPoints >= 2800)) { 371 | if (accountRewardPoints < 4400) { 372 | iimDisplay('Activating 500% FREE BTC BONUS...'); 373 | log('freebitco.in', 'Activating \'500% FREE BTC BONUS\''); 374 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'fp_bonus_500\')\nWAIT SECONDS=1'); 375 | } else { 376 | iimDisplay('Activating 1000% FREE BTC BONUS...'); 377 | log('freebitco.in', 'Activating \'1000% FREE BTC BONUS\''); 378 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'fp_bonus_1000\')\nWAIT SECONDS=1'); 379 | } 380 | } 381 | } 382 | 383 | if (window.content.document.getElementsByClassName('cc_banner cc_container cc_container--open').length) { 384 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 1\nTAG POS=1 TYPE=A ATTR=TXT:Gotit!'); 385 | } 386 | 387 | iimDisplay('Determining type of captcha...'); 388 | log('freebitco.in', 'Determining type of captcha...'); 389 | window.scrollBy(0, 20000); 390 | 391 | // [ Sat May 19 2018 23:10:21 GMT+0300 (MSK) ] 392 | if (window.content.document.getElementById('switch_captchas_button') && ((window.content.document.getElementById('switch_captchas_button').onclick + ' ').split('\'')[1].split('\'')[0] === 'recaptcha')) { 393 | iimDisplay('\'SWITCH CAPTCHA BUTTON\' is detected. Choosing reCAPTCHA v2...'); 394 | log('freebitco.in', '\'SWITCH CAPTCHA BUTTON\' is detected. Choosing reCAPTCHA v2...'); 395 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=DIV ATTR=TXT:SWITCHCAPTCHA\nWAIT SECONDS=2.5'); 396 | } 397 | 398 | if (window.content.document.getElementById('g-recaptcha-response')) { 399 | iimDisplay('reCAPTCHA v2 is detected. Solving...'); 400 | log('freebitco.in', 'reCAPTCHA v2 is detected. Solving...'); 401 | 402 | window.content.document.getElementById('g-recaptcha-response').style.display = ''; 403 | iimPlayCode('SET !ERRORIGNORE YES' 404 | +n+ 'SET !TIMEOUT_STEP 10' 405 | +n+ 'FRAME F=1' 406 | +n+ 'TAG POS=1 TYPE=DIV ATTR=ROLE:presentation&&CLASS:recaptcha-checkbox-checkmark&&TXT:' 407 | +n+ 'WAIT SECONDS=8'); 408 | 409 | if (!window.content.document.getElementById('g-recaptcha-response').value.length) { 410 | let data_sitekey = window.content.document.getElementsByClassName('g-recaptcha')[0].getAttribute('data-sitekey'); 411 | answer = solveReCaptcha_ruCaptcha(data_sitekey, 'freebitco.in', 0); 412 | if (!answer['status']) { 413 | if (solvingCaptchaCycles == 5) { 414 | notificationsBadCaptcha('freebitco.in'); 415 | break; 416 | } 417 | solvingCaptchaCycles++; 418 | continue; 419 | } 420 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nWAIT SECONDS=2.5\nTAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"'); 421 | } 422 | } else if (window.content.document.getElementsByClassName('captchasnet_captcha_content').length) { 423 | iimDisplay('Captchas.net / Freebitco.in custom captcha is detected. Solving...'); 424 | log('freebitco.in', 'Captchas.net is detected. Solving...'); 425 | 426 | let captchasNet = window.content.document.getElementsByClassName('captchasnet_captcha_content'); 427 | for (let i = 1; i <= captchasNet.length; i++) { 428 | let regsense = (i == 1) ? 'NO' : 'YES'; 429 | let captchaName = makeUniqueName(); 430 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nONDOWNLOAD FOLDER=' + captchaPath + ' FILE=' + captchaName + ' WAIT=YES\nTAG POS=' + i + ' TYPE=DIV ATTR=CLASS:captchasnet_captcha_content CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT'); 431 | 432 | answer = solveTextCaptcha_ruCaptcha('freebitco.in', captchaName, 6, 6, regsense); 433 | if (!answer['status']) { 434 | if (solvingCaptchaCycles == 5) { 435 | notificationsBadCaptcha('freebitco.in'); 436 | break freeBitcoinBody; 437 | } 438 | solvingCaptchaCycles++; 439 | continue freeBitcoinLabel; 440 | } 441 | 442 | iimPlayCode('SET !ERRORIGNORE YES' 443 | +n+ 'SET !TIMEOUT_STEP 10' 444 | +n+ 'WAIT SECONDS=2.5' 445 | +n+ 'TAG POS=' + i + ' TYPE=INPUT:TEXT ATTR=CLASS:captchasnet_captcha_input_box CONTENT=\"' + answer['hash'] + '\"' 446 | +n+ 'FILEDELETE NAME=' + captchaPath + captchaName); 447 | } 448 | } else if (window.content.document.getElementById('adcopy-puzzle-image')) { 449 | iimDisplay('Solvemedia is detected. Solving...'); 450 | log('freebitco.in', 'Solvemedia is detected. Solving...'); 451 | 452 | let solveMedia = window.content.document.getElementById('adcopy-puzzle-image'); 453 | let captchaName = makeUniqueName(); 454 | iimPlayCode('SET !ERRORIGNORE YES' 455 | +n+ 'SET !TIMEOUT_STEP 10' 456 | +n+ 'TAG POS=1 TYPE=IMG ATTR=SRC:https://api-secure.solvemedia.com/media/reload-whV2.gif' 457 | +n+ 'WAIT SECONDS=10' 458 | +n+ 'ONDOWNLOAD FOLDER=' + captchaPath + ' FILE=' + captchaName + ' WAIT=YES' 459 | +n+ 'TAG POS=1 TYPE=DIV ATTR=ID:adcopy-puzzle-image CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT'); 460 | 461 | answer = solveTextCaptcha_ruCaptcha('freebitco.in', captchaName, 0, 0, 'NO'); 462 | if (!answer['status']) { 463 | if (solvingCaptchaCycles == 5) { 464 | notificationsBadCaptcha('freebitco.in'); 465 | break; 466 | } 467 | solvingCaptchaCycles++; 468 | continue; 469 | } 470 | 471 | iimPlayCode('SET !ERRORIGNORE YES' 472 | +n+ 'SET !TIMEOUT_PAGE 30' 473 | +n+ 'SET !TIMEOUT_STEP 10' 474 | +n+ 'WAIT SECONDS=2.5' 475 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:adcopy_response CONTENT=\"' + answer['hash'] + '\"' 476 | +n+ 'FILEDELETE NAME=' + captchaPath + captchaName); 477 | } 478 | 479 | iimDisplay('Claiming satoshis...'); 480 | log('freebitco.in', 'Claiming satoshis...'); 481 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:free_play_form_button\nWAIT SECONDS=8'); 482 | 483 | if (Number(window.content.document.getElementById('winnings').innerHTML) > 0) { 484 | iimDisplay('Successfully claimed!'); 485 | log('freebitco.in', 'Successfully claimed! Collected: ' + Number(window.content.document.getElementById('winnings').innerHTML).toFixed(8) + ' BTC; ' + Number(window.content.document.getElementById('fp_reward_points_won').innerHTML) + ' Reward Points; ' + Number(window.content.document.getElementById('fp_lottery_tickets_won').innerHTML) + ' Lottery Tickets'); 486 | Winnings_freeBITCOIN += Number(window.content.document.getElementById('winnings').innerHTML); 487 | Rewards_freeBITCOIN += Number(window.content.document.getElementById('fp_reward_points_won').innerHTML); 488 | Tickets_freeBITCOIN += Number(window.content.document.getElementById('fp_lottery_tickets_won').innerHTML); 489 | break; 490 | } else { 491 | if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('verify'))) { 492 | iimDisplay('Email verification is detected...'); 493 | log('freebitco.in', 'You must confirm email to continue collecting!'); 494 | break; 495 | } else if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('blocked'))) { 496 | iimDisplay('Account of the https://freebitco.in/ has been banned...'); 497 | log('freebitco.in', 'Account has been banned!'); 498 | break; 499 | } else { 500 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 501 | log('freebitco.in', 'Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 502 | reportCaptcha(answer['server'], answer['taskId']); 503 | 504 | if (solvingCaptchaCycles == 5) { 505 | notificationsBadCaptcha('freebitco.in'); 506 | break; 507 | } 508 | solvingCaptchaCycles++; 509 | continue; 510 | } 511 | } 512 | } 513 | } 514 | } 515 | 516 | // https://freedoge.co.in/ - - - - - > 517 | if (freeDOGECOIN === 'ON') { 518 | do { 519 | iimDisplay('Connecting to the https://freedoge.co.in/...'); 520 | log('freedoge.co.in', 'Connecting to the site...'); 521 | iimPlayCode('SET !TIMEOUT_PAGE 30' 522 | +n+ 'TAB CLOSEALLOTHERS' 523 | +n+ 'TAB T=1' 524 | +n+ 'TAB CLOSE' 525 | +n+ 'URL GOTO=https://freedoge.co.in/' 526 | +n+ 'WAIT SECONDS=8'); 527 | 528 | if (!window.content.document.getElementById('free_play_form_button')) { 529 | iimDisplay('Cloudflare protection is detected...'); 530 | log('freedoge.co.in', 'Cloudflare protection is detected...'); 531 | iimPlayCode('WAIT SECONDS=20'); 532 | continue; 533 | } 534 | break; 535 | } while (!window.content.document.getElementById('free_play_form_button')); 536 | 537 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 538 | let timer = Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[1]) * 60 + Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[2]); 539 | timeTillNextRoll('freedoge.co.in', freeDOGECOIN_RandomTimer, timer); 540 | } 541 | 542 | let solvingCaptchaCycles = 1, answer = null; 543 | while (solvingCaptchaCycles <= 5) { 544 | do { 545 | iimDisplay('Refreshing page...'); 546 | log('freedoge.co.in', 'Refreshing page...'); 547 | iimPlayCode('SET !TIMEOUT_PAGE 60' 548 | +n+ 'TAB CLOSEALLOTHERS' 549 | +n+ 'TAB T=1' 550 | +n+ 'TAB CLOSE' 551 | +n+ 'URL GOTO=https://freedoge.co.in/' 552 | +n+ 'WAIT SECONDS=8'); 553 | if (!window.content.document.getElementById('free_play_form_button')) { 554 | iimDisplay('Cloudflare protection is detected...'); 555 | log('freedoge.co.in', 'Cloudflare protection is detected...'); 556 | iimPlayCode('WAIT SECONDS=20'); 557 | continue; 558 | } 559 | break; 560 | } while (!window.content.document.getElementById('free_play_form_button')); 561 | 562 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 563 | iimDisplay('There was an exception...'); 564 | log('freedoge.co.in', 'There was an exception...'); 565 | break; 566 | } 567 | 568 | if (window.content.document.getElementById('free_play_captcha_types').value === 'solvemedia') { 569 | iimDisplay('Selecting reCAPTCHA v2...'); 570 | log('freedoge.co.in', 'Selecting reCAPTCHA v2...'); 571 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=SELECT ATTR=ID:free_play_captcha_types CONTENT=%recaptcha_v2\nWAIT SECONDS=2'); 572 | } 573 | 574 | if (window.content.document.getElementsByClassName('cc_banner cc_container cc_container--open').length) 575 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 1\nTAG POS=1 TYPE=A ATTR=TXT:Gotit!'); 576 | 577 | iimDisplay('reCAPTCHA v2 is detected. Solving...'); 578 | log('freedoge.co.in', 'reCAPTCHA v2 is detected. Solving...'); 579 | window.scrollBy(0, 20000); 580 | 581 | window.content.document.getElementById('g-recaptcha-response').style.display = ''; 582 | iimPlayCode('SET !ERRORIGNORE YES' 583 | +n+ 'SET !TIMEOUT_STEP 10' 584 | +n+ 'FRAME F=1' 585 | +n+ 'TAG POS=1 TYPE=DIV ATTR=ROLE:presentation&&CLASS:recaptcha-checkbox-checkmark&&TXT:' 586 | +n+ 'WAIT SECONDS=8'); 587 | 588 | if (!window.content.document.getElementById('g-recaptcha-response').value.length) { 589 | let data_sitekey = window.content.document.getElementsByClassName('g-recaptcha')[0].getAttribute('data-sitekey'); 590 | answer = solveReCaptcha_ruCaptcha(data_sitekey, 'freedoge.co.in', 0); 591 | if (!answer['status']) { 592 | if (solvingCaptchaCycles == 5) { 593 | notificationsBadCaptcha('freedoge.co.in'); 594 | break; 595 | } 596 | solvingCaptchaCycles++; 597 | continue; 598 | } 599 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nWAIT SECONDS=2.5\nTAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"'); 600 | } 601 | 602 | iimDisplay('Claiming dogetoshis...'); 603 | log('freedoge.co.in', 'Claiming dogetoshis...'); 604 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:free_play_form_button\nWAIT SECONDS=8'); 605 | 606 | if (Number(window.content.document.getElementById('winnings').innerHTML) > 0) { 607 | iimDisplay('Successfully claimed!'); 608 | log('freedoge.co.in', 'Successfully claimed! Collected: ' + Number(window.content.document.getElementById('winnings').innerHTML).toFixed(8) + ' DOGE '); 609 | Winnings_freeDOGECOIN += Number(window.content.document.getElementById('winnings').innerHTML); 610 | break; 611 | } else { 612 | iimDisplay('Unsuccessfully claimed!'); 613 | if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('verify'))) { 614 | iimDisplay('Email verification is detected...'); 615 | log('freedoge.co.in', 'You must confirm email to continue collecting!'); 616 | break; 617 | } else if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('blocked'))) { 618 | iimDisplay('Account of the https://freedoge.co.in/ has been banned...'); 619 | log('freedoge.co.in', 'Account has been banned!'); 620 | break; 621 | } else { 622 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 623 | log('freedoge.co.in', 'Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 624 | reportCaptcha(answer['server'], answer['taskId']); 625 | 626 | if (solvingCaptchaCycles == 5) { 627 | notificationsBadCaptcha('freedoge.co.in'); 628 | break; 629 | } 630 | solvingCaptchaCycles++; 631 | continue; 632 | } 633 | } 634 | } 635 | } 636 | 637 | // https://freenem.com/ - - - - - > 638 | if (freeNEM === 'ON') { 639 | freeNemBody : { 640 | let authorizationCycles = 1; 641 | while (authorizationCycles <= 5) { 642 | iimDisplay('Connecting to the https://freenem.com/...'); 643 | log('freenem.com', 'Connecting to the site...'); 644 | iimPlayCode('SET !TIMEOUT_PAGE 60' 645 | +n+ 'TAB T=1' 646 | +n+ 'TAB CLOSEALLOTHERS' 647 | +n+ 'URL GOTO=https://freenem.com/free' 648 | +n+ 'WAIT SECONDS=8'); 649 | 650 | if (!window.content.document.getElementsByClassName('main-button-2 roll-button').length) { 651 | iimDisplay('Logging to the https://freenem.com/...'); 652 | log('freenem.com', 'Logging to the site...'); 653 | iimPlayCode('SET !ERRORIGNORE YES' 654 | +n+ 'SET !TIMEOUT_PAGE 30' 655 | +n+ 'SET !TIMEOUT_STEP 10' 656 | +n+ 'TAG POS=1 TYPE=INPUT:EMAIL ATTR=NAME:email CONTENT=' + freeNEM_Login 657 | +n+ 'SET !ENCRYPTION NO' 658 | +n+ 'TAG POS=1 TYPE=INPUT:PASSWORD ATTR=NAME:password CONTENT=' + freeNEM_Password 659 | +n+ 'TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN!' 660 | +n+ 'WAIT SECONDS=8'); 661 | 662 | if (!window.content.document.getElementsByClassName('main-button-2 roll-button').length) { 663 | iimDisplay('Invisible reCAPTCHA v2 is detected. Solving...'); 664 | log('freenem.com', 'Invisible reCAPTCHA v2 is detected. Solving...'); 665 | 666 | let data_sitekey = window.content.document.getElementsByTagName('iframe')[0].src.split('?k=')[1].split('&co=')[0]; 667 | let answer = solveReCaptcha_ruCaptcha(data_sitekey, 'freenem.com', 1); 668 | if (!answer['status']) { 669 | if (authorizationCycles == 5) { 670 | notificationsBadCaptcha('freenem.com'); 671 | break freeNemBody; 672 | } 673 | authorizationCycles++; 674 | continue; 675 | } 676 | 677 | iimPlayCode('SET !ERRORIGNORE YES' 678 | +n+ 'SET !TIMEOUT_PAGE 30' 679 | +n+ 'SET !TIMEOUT_STEP 10' 680 | +n+ 'TAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"' 681 | +n+ 'WAIT SECONDS=8'); 682 | 683 | if (!window.content.document.getElementsByClassName('main-button-2 roll-button').length) { 684 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 685 | log('freenem.com', 'Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 686 | reportCaptcha(answer['server'], answer['taskId']); 687 | 688 | if (authorizationCycles == 5) { 689 | notificationsBadCaptcha('freenem.com'); 690 | break freeNemBody; 691 | } 692 | authorizationCycles++; 693 | continue; 694 | } 695 | iimDisplay('Successful authorization...'); 696 | log('freenem.com', 'Successful authorization...'); 697 | break; 698 | } 699 | } 700 | break; 701 | } 702 | 703 | let timer = Number(window.content.document.getElementsByClassName('digits')[0].innerHTML * 60) + Number(window.content.document.getElementsByClassName('digits')[1].innerHTML); 704 | if (timer > 0) 705 | timeTillNextRoll('freenem.com', freeNEM_RandomTimer, timer); 706 | 707 | let solvingCaptchaCycles = 1; 708 | while (solvingCaptchaCycles <= 5) { 709 | iimDisplay('Refreshing page and solving Invisible reCAPTCHA v2...'); 710 | log('freenem.com', 'Refreshing page and solving Invisible reCAPTCHA v2...'); 711 | iimPlayCode('SET !ERRORIGNORE YES' 712 | +n+ 'SET !TIMEOUT_PAGE 60' 713 | +n+ 'SET !TIMEOUT_STEP 10' 714 | +n+ 'TAB CLOSEALLOTHERS' 715 | +n+ 'TAB T=1' 716 | +n+ 'TAB CLOSE' 717 | +n+ 'URL GOTO=https://freenem.com/free' 718 | +n+ 'WAIT SECONDS=8'); 719 | 720 | timer = Number(window.content.document.getElementsByClassName('digits')[0].innerHTML * 60) + Number(window.content.document.getElementsByClassName('digits')[1].innerHTML); 721 | if (timer > 0) { 722 | iimDisplay('There was an exception...'); 723 | log('freenem.com', 'There was an exception...'); 724 | break freeNemBody; 725 | } 726 | 727 | iimPlayCode('SET !ERRORIGNORE YES' 728 | +n+ 'SET !TIMEOUT_PAGE 60' 729 | +n+ 'SET !TIMEOUT_STEP 10' 730 | +n+ 'TAG POS=1 TYPE=BUTTON ATTR=TXT:ROLL!' 731 | +n+ 'WAIT SECONDS=8'); 732 | 733 | let winningDuringLastSession = Number(window.content.document.getElementsByClassName('result')[0].innerHTML.split(' ')[3]); 734 | if (!isNaN(winningDuringLastSession) || (winningDuringLastSession > 0)) { 735 | iimDisplay('Claiming NEM...'); log('freenem.com', 'Claiming NEM...'); 736 | iimDisplay('Successfully claimed!'); log('freenem.com', 'Successfully claimed! Collected: ' + winningDuringLastSession.toFixed(8) + ' NEM'); 737 | Winnings_freeNEM += winningDuringLastSession; 738 | break; 739 | } else { 740 | iimDisplay('Invisible reCAPTCHA v2 is detected. Solving...'); 741 | log('freenem.com', 'Invisible reCAPTCHA v2 is detected. Solving...'); 742 | 743 | let data_sitekey = window.content.document.getElementsByTagName('iframe')[0].src.split('?k=')[1].split('&co=')[0]; 744 | let answer = solveReCaptcha_ruCaptcha(data_sitekey, 'freenem.com', 1); 745 | if (!answer['status']) { 746 | if (solvingCaptchaCycles == 5) { 747 | notificationsBadCaptcha('freenem.com'); 748 | break; 749 | } 750 | solvingCaptchaCycles++; 751 | continue; 752 | } 753 | 754 | iimDisplay('Claiming NEM...'); 755 | log('freenem.com', 'Claiming NEM...'); 756 | iimPlayCode('SET !ERRORIGNORE YES' 757 | +n+ 'SET !TIMEOUT_PAGE 30' 758 | +n+ 'SET !TIMEOUT_STEP 10' 759 | +n+ 'WAIT SECONDS=2.5' 760 | +n+ 'TAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"' 761 | +n+ 'ONDIALOG POS=1 BUTTON=OK CONTENT=' 762 | +n+ 'WAIT SECONDS=8'); 763 | 764 | winningDuringLastSession = Number(window.content.document.getElementsByClassName('result')[0].innerHTML.split(' ')[3]); 765 | if (!isNaN(winningDuringLastSession) || (winningDuringLastSession > 0)) { 766 | iimDisplay('Successfully claimed!'); 767 | log('freenem.com', 'Successfully claimed! Collected: ' + winningDuringLastSession.toFixed(8) + ' NEM'); 768 | Winnings_freeNEM += winningDuringLastSession; 769 | break; 770 | } else { 771 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 772 | log('freenem.com', 'Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 773 | reportCaptcha(answer['server'], answer['taskId']); 774 | 775 | if (solvingCaptchaCycles == 5) { 776 | notificationsBadCaptcha('freenem.com'); 777 | break; 778 | } 779 | solvingCaptchaCycles++; 780 | continue; 781 | } 782 | } 783 | } 784 | } 785 | } 786 | } 787 | } 788 | catch (e) { 789 | iimDisplay('There was an error in the bot operation, check the connection to the Internet! The bot will be restarted in 30 seconds...'); 790 | log('RESTART', 'There was an error in the bot operation, check the connection to the Internet! The bot will be restarted in 30 seconds...'); 791 | } 792 | } 793 | -------------------------------------------------------------------------------- /MCB_v520(RU).js: -------------------------------------------------------------------------------- 1 | /** 2 | * @description freebitco.in / freedoge.co.in / freenem.com [ MultiCaptcha bot] 3 | * @since Sat May 19 2018 23:05:19 GMT+0300 (MSK) 4 | * @version 5.2.0 5 | * @tutorial https://multicaptchabot.wixsite.com/multicaptchabot/instruction 6 | * @author AlexanderFSP 7 | * 8 | * [ Инструкция ]: 9 | * ⑴ Настройте браузер перед запуском согласно инструкции на сайте: https://multicaptchabot.wixsite.com/multicaptchabot/instruction; 10 | * ⑵ Обязательно авторизируйтесь на всех сайтах, на которых Вы будете использовать бота; 11 | * ⑶ Зарегистрируйтесь и пополните счёт на сервисе распознавания капчи: https://rucaptcha.com/pay; 12 | * ⑷ Внимание, не забудьте проделать следующие действия: 13 | * ▻ Создать папку MultiCaptcha_bot на диске C; 14 | * ▻ Вставить Ваш API KEY с сервиса ruCaptcha.com(https://rucaptcha.com/enterpage) / 2Captcha.com (Строка №30); 15 | * ▻ Активировать нужные краны (Строки №33, 38, 42); 16 | * ▻ Активировать дополнительные функции на используемых проектах (Строки №32 - 45); 17 | * ▻ Если Вы собираетесь использовать кран https://freenem.com/, то необходимо установить любое расширение для блокировки рекламы! 18 | * Советую установить именно Adblock Plus: https://adblockplus.org/en/ 19 | * 20 | * [ Связь со мной ]: 21 | * ⑴ Почта: multicaptchabot@ya.ru 22 | * ⑵ Сайт: https://multicaptchabot.wixsite.com/multicaptchabot 23 | * ⑶ ruCaptcha.com: https://rucaptcha.com/software/view/freebitcoin-multicaptcha-bot 24 | */ 25 | //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 26 | // [ Блок №1 ]: Пользовательские настройки 27 | const captchaPath = 'C:\\MultiCaptcha_bot\\'; // Путь для загрузки текстовых капч (если будете менять путь, НЕ ЗАБУДЬТЕ про двойные слеши) 28 | const logPath = 'C:\\MultiCaptcha_bot\\log.txt'; // Путь для файла с логом (если будете менять путь, НЕ ЗАБУДЬТЕ про двойные слеши) 29 | 30 | const apiKey_ruCaptcha = '******************************'; // Ваш API KEY с сервиса ruCaptcha.com (https://rucaptcha.com/enterpage) / 2Captcha.com 31 | 32 | // [ Блок №2 ]: Кран https://freebitco.in/ 33 | const freeBITCOIN = 'OFF'; // [ON / OFF] - Активировать бота на проекте https://freebitco.in/ 34 | const freeBITCOIN_RewardPoints = 'OFF'; // [ON / OFF] - Авто-использование Reward Points на сайте https://freebitco.in/ (Шаг 4* : https://multicaptchabot.wixsite.com/multicaptchabot/instruction) 35 | const freeBITCOIN_RandomTimer = 'OFF'; // [ON / OFF] - Случайный таймер от 30 секунд до 2-х минут перед следующим сбором на сайте https://freebitco.in/ 36 | 37 | // [ Блок №3 ]: Кран https://freedoge.co.in/ 38 | const freeDOGECOIN = 'OFF'; // [ON / OFF] - Активировать бота на проекте https://freedoge.co.in/ 39 | const freeDOGECOIN_RandomTimer = 'OFF'; // [ON / OFF] - Случайный таймер от 30 секунд до 2-х минут перед следующим сбором на сайте https://freedoge.co.in/ 40 | 41 | // [ Блок №4 ]: Кран https://freenem.com/ 42 | const freeNEM = 'OFF'; // [ON / OFF] - Активировать бота на проекте https://freenem.com/ 43 | const freeNEM_Login = '*************'; // Ваш логин на проекте https://freenem.com/ (Это необходимо, т.к. сайт спустя некоторое время завершает сессию и приходиться авторизироваться снова) 44 | const freeNEM_Password = '*************'; // Ваш пароль на проекте https://freenem.com/ (Причина аналогична описанной выше) 45 | const freeNEM_RandomTimer = 'OFF'; // [ON / OFF] - Случайный таймер от 30 секунд до 2-х минут перед следующим сбором на сайте https://freenem.com/ 46 | //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 47 | /** 48 | * @description Решение reCAPTCHA v2 через сервис https://ruCaptcha.com 49 | * @since Tue Apr 03 2018 01:38:33 GMT+0300 (MSK) 50 | * @author AlexanderFSP 51 | * 52 | * @function solveReCaptcha_ruCaptcha 53 | * @param { String } data_sitekey Ключ сайта 54 | * @param { String } pageurl URL страницы, на которой происходит распознавание reCAPTCHA v2 55 | * @param { Number } invisble Параметр для запроса, который нужно использовать для решения Invisible reCAPTCHA V2 56 | * @returns { JSON } Объект, который содержит информацию об успешном / неудачном запросе к серверу - http://discount.rucaptcha.com / https://rucaptcha.com 57 | */ 58 | function solveReCaptcha_ruCaptcha(data_sitekey, pageurl, invisble) { 59 | var serverURL = 'http://discount.rucaptcha.com/'; 60 | while (true) { 61 | iimPlayCode('SET !TIMEOUT_PAGE 60\nTAB OPEN\nTAB T=2\nURL GOTO=' + serverURL + 'in.php?key=' + apiKey_ruCaptcha + '&method=userrecaptcha&googlekey=' + data_sitekey + '&pageurl=' + pageurl + '&invisible=' + invisble + '&json=1&soft_id=2004'); 62 | var answer = ""; 63 | if (window.content.document.getElementsByTagName('pre').length == 0) { 64 | answer = JSON.parse(window.content.document.getElementsByTagName('plaintext')[0].firstChild.data); 65 | } 66 | else { 67 | answer = JSON.parse(window.content.document.getElementsByTagName('pre')[0].firstChild.data); 68 | } 69 | if (!answer['status']) { 70 | if (answer['request'] === 'ERROR_NO_SLOT_AVAILABLE') { 71 | iimDisplay('[ ' + serverURL + ' ]: Error! Trying to solve again...'); 72 | log(pageurl, 'Ошибка ' + serverURL + ' (' + answer['request'] + '). Меняем сервер на приоритетный и пытаемся ещё раз...'); 73 | serverURL = 'http://rucaptcha.com/'; // => Меняем сервер на приоритетный, по причине переполненной очереди на discount-сервере... 74 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 75 | continue; 76 | } 77 | iimDisplay('[ ' + serverURL + ' ]: Error! Trying to solve again...'); 78 | log(pageurl, 'Ошибка ' + serverURL + ' (' + answer['request'] + '). Пытаемся еще раз решить капчу...'); 79 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 80 | return { 'status' : 0, 'taskId' : 0, 'hash' : answer['request'], 'server' : serverURL }; // => { status : 0, taskId : 0, hash : ERROR_CODE, server : SERVER_URL } 81 | } 82 | var taskId = answer['request']; 83 | break; 84 | } 85 | 86 | iimPlayCode('WAIT SECONDS=10'); 87 | 88 | var numberOfIterations = 1; 89 | while (numberOfIterations <= 30) { 90 | iimPlayCode('SET !TIMEOUT_PAGE 60\nURL GOTO=' + serverURL + 'res.php?key=' + apiKey_ruCaptcha + '&action=get&id=' + taskId + '&json=1'); 91 | if (window.content.document.getElementsByTagName('pre').length == 0) { 92 | answer = JSON.parse(window.content.document.getElementsByTagName('plaintext')[0].firstChild.data); 93 | } 94 | else { 95 | answer = JSON.parse(window.content.document.getElementsByTagName('pre')[0].firstChild.data); 96 | } 97 | if (answer['status']) { 98 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 99 | break; 100 | } else { 101 | if (answer['request'] !== 'CAPCHA_NOT_READY') { 102 | iimDisplay('[ ' + serverURL + ' ]: Error! Trying to solve again...'); 103 | log(pageurl, 'Ошибка ' + serverURL + ' (' + answer['request'] + '). Пытаемся ещё раз решить капчу...'); 104 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 105 | return { 'status' : 0, 'taskId' : taskId, 'hash' : answer['request'], 'server' : serverURL }; // => { status : 0, taskId : 0, hash : ERROR_CODE, server : SERVER_URL } 106 | } 107 | 108 | if (numberOfIterations == 30) { 109 | iimDisplay('[ ' + serverURL + ' ]: Response time is expired! Trying again...'); 110 | log(pageurl, 'Истекло время ответа! Пробуем ещё...'); 111 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE') 112 | return { 'status' : 0, 'taskId' : taskId, 'hash' : answer['request'], 'server' : serverURL }; // => { status : 0, taskId : 0, hash : 'CAPCHA_NOT_READY', server : SERVER_URL } 113 | } 114 | 115 | iimDisplay('Iteration number : ' + numberOfIterations); 116 | iimPlayCode('WAIT SECONDS=5'); // => 10 + 30 * 5 = 160 secs. 117 | numberOfIterations++; 118 | } 119 | } 120 | return { 'status' : answer['status'], 'taskId' : taskId, 'hash' : answer['request'], 'server' : serverURL }; 121 | } 122 | 123 | /** 124 | * @description Решение текстовой капчи через сервис https://ruCaptcha.com 125 | * @since Tue Apr 03 2018 01:48:14 GMT+0300 (MSK) 126 | * @author AlexanderFSP 127 | * 128 | * @function solveTextCaptcha_ruCaptcha 129 | * @param { String } pageurl URL страницы, на которой происходит распознавание текстовой капчи 130 | * @param { String } captchaName Название изображения с актуальной текстовой капчей 131 | * @param { Number } minLen Минимальное количество символов в ответе 132 | * @param { Number } maxLen Максимальное количество символов в ответе 133 | * @param { String } regsense Чувствительность текстовой капчи к регистру 134 | * @returns { JSON } Объект, который содержит информацию об успешном / неудачном запросе к сервису серверу - http://discount.rucaptcha.com / https://rucaptcha.com 135 | */ 136 | function solveTextCaptcha_ruCaptcha(pageurl, captchaName, minLen, maxLen, regsense) { 137 | iimPlayCode('SET !ERRORIGNORE YES' 138 | +n+ 'SET !TIMEOUT_PAGE 60' 139 | +n+ 'SET !TIMEOUT_STEP 10' 140 | +n+ 'TAB OPEN' 141 | +n+ 'TAB T=2' 142 | +n+ 'URL GOTO=http://imacros2.rucaptcha.com/new/' 143 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:key CONTENT=' + apiKey_ruCaptcha 144 | +n+ 'TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:getcapcha.php ATTR=NAME:file CONTENT=' + captchaPath + captchaName 145 | +n+ 'TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:getcapcha.php ATTR=NAME:get_id CONTENT=YES' 146 | +n+ 'TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:getcapcha.php ATTR=NAME:regsense CONTENT=' + regsense 147 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:min_len CONTENT=' + minLen 148 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:max_len CONTENT=' + maxLen 149 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:language CONTENT=2' 150 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:numeric CONTENT=2' 151 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:getcapcha.php ATTR=NAME:soft_id CONTENT=2004' 152 | +n+ 'SET !TIMEOUT_PAGE 100' 153 | +n+ 'TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:getcapcha.php ATTR=*'); 154 | var result = window.content.document.querySelector("body").innerHTML; 155 | iimPlayCode('SET !TIMEOUT_PAGE 30\nTAB CLOSE'); 156 | 157 | if (result.includes('OK')) 158 | return { 'status' : 1, 'taskId' : result.split('|')[1], 'hash' : result.split('|')[2], 'server' : 'http://rucaptcha.com/' }; 159 | iimDisplay('[ http://rucaptcha.com/ ] : Error! Trying to solve again...'); 160 | log(pageurl, 'Ошибка http://rucaptcha.com/ (' + result + '). Пытаемся еще раз решить капчу...'); 161 | return { 'status' : 0, 'taskId' : 0, 'hash' : result, 'server' : 'http://rucaptcha.com/' }; // => { status : 0, taskId : 0, hash : ERROR_CODE, server : 'http://rucaptcha.com/' } 162 | } 163 | 164 | /** 165 | * @description Отправка жалоб на неправильные ответы: http://discount.rucaptcha.com / https://rucaptcha.com 166 | * @since Tue Apr 03 2018 01:55:26 GMT+0300 (MSK) 167 | * @author AlexanderFSP 168 | * 169 | * @function reportCaptcha 170 | * @param { String } serverURL URL сервера, на котором происходило распознавание капчи 171 | * @param { String } taskId ID неверно решённой капчи 172 | */ 173 | function reportCaptcha(serverURL, taskId) { 174 | iimPlayCode('SET !ERRORIGNORE YES' 175 | +n+ 'SET !TIMEOUT_PAGE 30' 176 | +n+ 'TAB OPEN' 177 | +n+ 'TAB T=2' 178 | +n+ 'URL GOTO=' + serverURL + 'res.php?key=' + apiKey_ruCaptcha + '&action=reportbad&id=' + taskId 179 | +n+ 'TAB CLOSE'); 180 | } 181 | 182 | /** 183 | * @description Ожидание времени до следующего сбора 184 | * @since Tue Apr 03 2018 01:56:13 GMT+0300 (MSK) 185 | * @author AlexanderFSP 186 | * 187 | * @function timeTillNextRoll 188 | * @param { String } pageurl URL страницы, на которой был обнаружен таймер (для log.txt) 189 | * @param { String } pageurl_RandomTimer Опция 'Случайный таймер' 190 | * @param { Number } seconds Время в секундах до следующего сбора 191 | */ 192 | function timeTillNextRoll(pageurl, pageurl_RandomTimer, seconds) { 193 | if (pageurl_RandomTimer === 'ON') 194 | seconds += Math.floor(Math.random () * 90 + 20); 195 | seconds += 10; // => default waiting 196 | 197 | iimDisplay('Time till next roll: ' + seconds + ' secs.' 198 | +n+ 'Earnings during this session:' 199 | +n+ '[ freebitco.in ]' 200 | +n+ '\t# ' + Winnings_freeBITCOIN.toFixed(8) + ' BTC' 201 | +n+ '\t# ' + Rewards_freeBITCOIN + ' Reward Points' 202 | +n+ '\t# ' + Tickets_freeBITCOIN + ' Lottery Tickets' 203 | +n+ '[ freedoge.co.in ]' 204 | +n+ '\t# ' + Winnings_freeDOGECOIN.toFixed(8) + ' DOGE' 205 | +n+ '[ freenem.com ]' 206 | +n+ '\t# ' + Winnings_freeNEM.toFixed(8) + ' NEM'); 207 | log(pageurl, 'Ожидание ' + seconds + ' до следующего сбора...'); 208 | iimPlayCode('WAIT SECONDS=' + seconds); 209 | } 210 | 211 | /** 212 | * @description Генерирование случайного названия для файла с текстовой капчей 213 | * @since Tue Apr 03 2018 02:01:05 GMT+0300 (MSK) 214 | * @author AlexanderFSP 215 | * 216 | * @function timeTillNextRoll 217 | * @returns { String } Название файла с текстовой капчей 218 | */ 219 | function makeUniqueName() { 220 | var text = 'FreeCrypto_'; 221 | var possible = 'abcdefghijklmnopqrstuvwxyz0123456789'; 222 | 223 | for(let i = 0; i <= 10; i++) 224 | text += possible.charAt(Math.floor(Math.random() * possible.length)); 225 | return text + '.jpg'; 226 | } 227 | 228 | /** 229 | * @description Запись лога 230 | * @since Tue Apr 03 2018 02:03:34 GMT+0300 (MSK) 231 | * @author AlexanderFSP 232 | * 233 | * @function log 234 | * @param { String } pageurl URL актуальной страницы 235 | * @param { String } message Новая запись о событии 236 | */ 237 | function log(pageurl, message) { 238 | var text = '[ ' + new window.Date().toLocaleDateString() + ' ' + new window.Date().toLocaleTimeString() + ' ]: (' + pageurl + ') - ' + message + '\r\n'; 239 | var fileDescriptor = imns.FIO.openNode(logPath); 240 | imns.FIO.appendTextFile(fileDescriptor, text); 241 | } 242 | 243 | /** 244 | * @description Информирование о неуспешном решение капчи 245 | * @since Tue Apr 03 2018 02:05:28 GMT+0300 (MSK) 246 | * @author AlexanderFSP 247 | * 248 | * @function notificationsBadCaptcha 249 | * @param { String } pageurl URL актуальной страницы 250 | */ 251 | function notificationsBadCaptcha(pageurl) { 252 | iimDisplay('Bot didn\'t decide captcha 5 times in a row. Come back a little later...'); 253 | log(pageurl, 'Бот не решил капчу 5 раз подряд. Вернемся чуть позже...'); 254 | } 255 | 256 | /** 257 | * @description Информирование о неполном заполнении исходных данных 258 | * @since Tue Apr 03 2018 02:06:46 GMT+0300 (MSK) 259 | * @author AlexanderFSP 260 | * 261 | * @function checkForInattention 262 | * @returns { Boolean } Флаг, указывающий на некорректное заполнение исходных данных 263 | */ 264 | function checkForInattention() { 265 | if ((freeBITCOIN === 'OFF') && (freeDOGECOIN === 'OFF') && (freeNEM === 'OFF')) { 266 | alert('Перед запуском бота в текстовом файле \"MCB_v510.js\" необходимо выбрать хотя бы один проект, который будет использоваться. Будьте внимательны!\n\nСтрока №33: const freeBITCOIN = \'OFF\';\nСтрока №38: const freeDOGECOIN = \'OFF\';\nСтрока №42: const freeNEM = \'OFF\';'); 267 | return true; 268 | } 269 | 270 | if (apiKey_ruCaptcha === '******************************') { 271 | alert('Перед запуском бота в текстовом файле \"MCB_v510.js\" необходимо вместо звездочек вставить свой API KEY сервиса ruCaptcha.com (https://rucaptcha.com/enterpage) / 2Captcha.com. Будьте внимательны!\n\nСтрока №30: const apiKey_ruCaptcha = \'*******************\';'); 272 | return true; 273 | } 274 | 275 | if ((freeNEM === 'ON')&& ((freeNEM_Login === '*************') || (freeNEM_Password === '*************'))) { 276 | alert('Вы активировали бота на кране https://freenem.com/, но забыли указать Ваши логин и пароль на этом проекте. Будьте внимательны!\n\nconst freeNEM_Login = \'*************\';\n\nconst freeNEM_Password = \'*************\';'); 277 | return true; 278 | } 279 | 280 | return false; 281 | } 282 | //--------------------------------------------------------------------------------------------------------------------------------------------------- 283 | const n = '\n'; 284 | var Winnings_freeBITCOIN = 0, Rewards_freeBITCOIN = 0, Tickets_freeBITCOIN = 0, Winnings_freeDOGECOIN = 0, Winnings_freeNEM = 0; 285 | 286 | while (true) { 287 | if (checkForInattention()) 288 | break; 289 | 290 | try { 291 | while (true) { 292 | // https://freebitco.in/ - - - - - > 293 | if (freeBITCOIN === 'ON') { 294 | freeBitcoinBody : { 295 | do { 296 | iimDisplay('Connecting to the https://freebitco.in/...'); 297 | log('freebitco.in', 'Подключение к проекту...'); 298 | iimPlayCode('SET !TIMEOUT_PAGE 30' 299 | +n+ 'TAB CLOSEALLOTHERS' 300 | +n+ 'TAB T=1' 301 | +n+ 'TAB CLOSE' 302 | +n+ 'URL GOTO=https://freebitco.in/?op=home' 303 | +n+ 'WAIT SECONDS=8'); 304 | if (!window.content.document.getElementById('free_play_form_button')) { 305 | iimDisplay('Cloudflare protection is detected...'); 306 | log('freebitco.in', 'Обнаружена cloudflare protection...'); 307 | iimPlayCode('WAIT SECONDS=20'); 308 | continue; 309 | } 310 | break; 311 | } while (!window.content.document.getElementById('free_play_form_button')); 312 | 313 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 314 | let timer = Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[1]) * 60 + Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[2]); 315 | timeTillNextRoll('freebitco.in', freeBITCOIN_RandomTimer, timer); 316 | } 317 | 318 | let solvingCaptchaCycles = 1, answer = null; 319 | freeBitcoinLabel: 320 | while (solvingCaptchaCycles <= 5) { 321 | do { 322 | iimDisplay('Refreshing page...'); 323 | log('freebitco.in', 'Обновляем страницу...'); 324 | iimPlayCode('SET !TIMEOUT_PAGE 60' 325 | +n+ 'TAB CLOSEALLOTHERS' 326 | +n+ 'TAB T=1' 327 | +n+ 'TAB CLOSE' 328 | +n+ 'URL GOTO=https://freebitco.in/?op=home' 329 | +n+ 'WAIT SECONDS=8'); 330 | if (!window.content.document.getElementById('free_play_form_button')) { 331 | iimDisplay('Cloudflare protection is detected...'); 332 | log('freebitco.in', 'Обнаружена cloudflare protection...'); 333 | iimPlayCode('WAIT SECONDS=20'); 334 | continue; 335 | } 336 | break; 337 | } while (!window.content.document.getElementById('free_play_form_button')); 338 | 339 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 340 | iimDisplay('There was an exception...'); 341 | log('freebitco.in', 'Произошел отлов исключительной ситуации...'); 342 | break; 343 | } 344 | 345 | if (freeBITCOIN_RewardPoints === 'ON') { 346 | let accountRewardPoints = Number(window.content.document.getElementsByClassName('user_reward_points')[0].innerHTML.replace(',', '')); 347 | 348 | if (!window.content.document.getElementById('bonus_container_free_points') && (accountRewardPoints >= 12)) { 349 | if (accountRewardPoints < 120) { 350 | iimDisplay('Activating 1 REWARD POINTS / ROLL...'); 351 | log('freebitco.in', 'Активируем \'1 REWARD POINTS / ROLL\''); 352 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_1\')\nWAIT SECONDS=1'); 353 | accountRewardPoints -= 12; 354 | } else if ((accountRewardPoints >= 120) && (accountRewardPoints < 600)) { 355 | iimDisplay('Activating 10 REWARD POINTS / ROLL...'); 356 | log('freebitco.in', 'Активируем \'10 REWARD POINTS / ROLL\''); 357 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_10\')\nWAIT SECONDS=1'); 358 | accountRewardPoints -= 120; 359 | } else if ((accountRewardPoints >= 600) && (accountRewardPoints < 1200)) { 360 | iimDisplay('Activating 50 REWARD POINTS / ROLL...'); 361 | log('freebitco.in', 'Активируем \'50 REWARD POINTS / ROLL\''); 362 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_50\')\nWAIT SECONDS=1'); 363 | accountRewardPoints -= 600; 364 | } else { 365 | iimDisplay('Activating 100 REWARD POINTS / ROLL...'); 366 | log('freebitco.in', 'Активируем \'100 REWARD POINTS / ROLL\''); 367 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'free_points_100\')\nWAIT SECONDS=1'); 368 | accountRewardPoints -= 1200; 369 | } 370 | } 371 | 372 | if (!window.content.document.getElementById('bonus_container_fp_bonus') && (accountRewardPoints >= 2800)) { 373 | if (accountRewardPoints < 4400) { 374 | iimDisplay('Activating 500% FREE BTC BONUS...'); 375 | log('freebitco.in', 'Активируем \'500% FREE BTC BONUS\''); 376 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'fp_bonus_500\')\nWAIT SECONDS=1'); 377 | } else { 378 | iimDisplay('Activating 1000% FREE BTC BONUS...'); 379 | log('freebitco.in', 'Активируем \'1000% FREE BTC BONUS\''); 380 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=BUTTON ATTR=ONCLICK:RedeemRPProduct(\'fp_bonus_1000\')\nWAIT SECONDS=1'); 381 | } 382 | } 383 | } 384 | 385 | if (window.content.document.getElementsByClassName('cc_banner cc_container cc_container--open').length) { 386 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 1\nTAG POS=1 TYPE=A ATTR=TXT:Gotit!'); 387 | } 388 | 389 | iimDisplay('Determining type of captcha...'); 390 | log('freebitco.in', 'Определяем тип капчи на странице...'); 391 | window.scrollBy(0, 20000); 392 | 393 | // [ Правка от Sat May 19 2018 23:10:21 GMT+0300 (MSK) ] 394 | if (window.content.document.getElementById('switch_captchas_button') && ((window.content.document.getElementById('switch_captchas_button').onclick + ' ').split('\'')[1].split('\'')[0] === 'recaptcha')) { 395 | iimDisplay('\'SWITCH CAPTCHA BUTTON\' is detected. Choosing reCAPTCHA v2...'); 396 | log('freebitco.in', 'Кнопка \'SWITCH CAPTCHA BUTTON\' обнаружена. Выбираем reCAPTCHA v2...'); 397 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=DIV ATTR=TXT:SWITCHCAPTCHA\nWAIT SECONDS=2.5'); 398 | } 399 | 400 | if (window.content.document.getElementById('g-recaptcha-response')) { 401 | iimDisplay('reCAPTCHA v2 is detected. Solving...'); 402 | log('freebitco.in', 'reCAPTCHA v2 обнаружена. Попытаемся ее решить...'); 403 | 404 | window.content.document.getElementById('g-recaptcha-response').style.display = ''; 405 | iimPlayCode('SET !ERRORIGNORE YES' 406 | +n+ 'SET !TIMEOUT_STEP 10' 407 | +n+ 'FRAME F=1' 408 | +n+ 'TAG POS=1 TYPE=DIV ATTR=ROLE:presentation&&CLASS:recaptcha-checkbox-checkmark&&TXT:' 409 | +n+ 'WAIT SECONDS=8'); 410 | 411 | if (!window.content.document.getElementById('g-recaptcha-response').value.length) { 412 | let data_sitekey = window.content.document.getElementsByClassName('g-recaptcha')[0].getAttribute('data-sitekey'); 413 | answer = solveReCaptcha_ruCaptcha(data_sitekey, 'https://freebitco.in/', 0); 414 | if (!answer['status']) { 415 | if (solvingCaptchaCycles == 5) { 416 | notificationsBadCaptcha('freebitco.in'); 417 | break; 418 | } 419 | solvingCaptchaCycles++; 420 | continue; 421 | } 422 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nWAIT SECONDS=2.5\nTAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"'); 423 | } 424 | } else if (window.content.document.getElementsByClassName('captchasnet_captcha_content').length) { 425 | iimDisplay('Captchas.net / Freebitco.in custom captcha is detected. Solving...'); 426 | log('freebitco.in', 'Captchas.net обнаружена. Попытаемся ее решить...'); 427 | 428 | let captchasNet = window.content.document.getElementsByClassName('captchasnet_captcha_content'); 429 | for (let i = 1; i <= captchasNet.length; i++) { 430 | let regsense = (i == 1) ? 'NO' : 'YES'; 431 | let captchaName = makeUniqueName(); 432 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nONDOWNLOAD FOLDER=' + captchaPath + ' FILE=' + captchaName + ' WAIT=YES\nTAG POS=' + i + ' TYPE=DIV ATTR=CLASS:captchasnet_captcha_content CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT'); 433 | 434 | answer = solveTextCaptcha_ruCaptcha('freebitco.in', captchaName, 6, 6, regsense); 435 | if (!answer['status']) { 436 | if (solvingCaptchaCycles == 5) { 437 | notificationsBadCaptcha('freebitco.in'); 438 | break freeBitcoinBody; 439 | } 440 | solvingCaptchaCycles++; 441 | continue freeBitcoinLabel; 442 | } 443 | 444 | iimPlayCode('SET !ERRORIGNORE YES' 445 | +n+ 'SET !TIMEOUT_STEP 10' 446 | +n+ 'WAIT SECONDS=2.5' 447 | +n+ 'TAG POS=' + i + ' TYPE=INPUT:TEXT ATTR=CLASS:captchasnet_captcha_input_box CONTENT=\"' + answer['hash'] + '\"' 448 | +n+ 'FILEDELETE NAME=' + captchaPath + captchaName); 449 | } 450 | } else if (window.content.document.getElementById('adcopy-puzzle-image')) { 451 | iimDisplay('Solvemedia is detected. Solving...'); 452 | log('freebitco.in', 'Solvemedia обнаружена. Попытаемся ее решить...'); 453 | 454 | let solveMedia = window.content.document.getElementById('adcopy-puzzle-image'); 455 | let captchaName = makeUniqueName(); 456 | iimPlayCode('SET !ERRORIGNORE YES' 457 | +n+ 'SET !TIMEOUT_STEP 10' 458 | +n+ 'TAG POS=1 TYPE=IMG ATTR=SRC:https://api-secure.solvemedia.com/media/reload-whV2.gif' 459 | +n+ 'WAIT SECONDS=10' 460 | +n+ 'ONDOWNLOAD FOLDER=' + captchaPath + ' FILE=' + captchaName + ' WAIT=YES' 461 | +n+ 'TAG POS=1 TYPE=DIV ATTR=ID:adcopy-puzzle-image CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT'); 462 | 463 | answer = solveTextCaptcha_ruCaptcha('freebitco.in', captchaName, 0, 0, 'NO'); 464 | if (!answer['status']) { 465 | if (solvingCaptchaCycles == 5) { 466 | notificationsBadCaptcha('freebitco.in'); 467 | break; 468 | } 469 | solvingCaptchaCycles++; 470 | continue; 471 | } 472 | 473 | iimPlayCode('SET !ERRORIGNORE YES' 474 | +n+ 'SET !TIMEOUT_PAGE 30' 475 | +n+ 'SET !TIMEOUT_STEP 10' 476 | +n+ 'WAIT SECONDS=2.5' 477 | +n+ 'TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:adcopy_response CONTENT=\"' + answer['hash'] + '\"' 478 | +n+ 'FILEDELETE NAME=' + captchaPath + captchaName); 479 | } 480 | 481 | iimDisplay('Claiming satoshis...'); 482 | log('freebitco.in', 'Собираем сатоши...'); 483 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:free_play_form_button\nWAIT SECONDS=8'); 484 | 485 | if (Number(window.content.document.getElementById('winnings').innerHTML) > 0) { 486 | iimDisplay('Successfully claimed!'); 487 | log('freebitco.in', 'Успешный сбор! Собрано: ' + Number(window.content.document.getElementById('winnings').innerHTML) + ' BTC; ' + Number(window.content.document.getElementById('fp_reward_points_won').innerHTML) + ' Reward Points; ' + Number(window.content.document.getElementById('fp_lottery_tickets_won').innerHTML) + ' Lottery Tickets'); 488 | Winnings_freeBITCOIN += Number(window.content.document.getElementById('winnings').innerHTML); 489 | Rewards_freeBITCOIN += Number(window.content.document.getElementById('fp_reward_points_won').innerHTML); 490 | Tickets_freeBITCOIN += Number(window.content.document.getElementById('fp_lottery_tickets_won').innerHTML); 491 | break; 492 | } else { 493 | if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('verify'))) { 494 | iimDisplay('Email verification is detected...'); 495 | log('freebitco.in', 'Необходимо подтвердить email, чтобы продолжить сбор!'); 496 | break; 497 | } else if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('blocked'))) { 498 | iimDisplay('Account of the https://freebitco.in/ has been banned...'); 499 | log('freebitco.in', 'Аккаунт забанен!'); 500 | break; 501 | } else { 502 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 503 | log('freebitco.in', 'Капча была решена неверно. Отправляем жалобу и пытаемся решить еще раз...'); 504 | reportCaptcha(answer['server'], answer['taskId']); 505 | 506 | if (solvingCaptchaCycles == 5) { 507 | notificationsBadCaptcha('freebitco.in'); 508 | break; 509 | } 510 | solvingCaptchaCycles++; 511 | continue; 512 | } 513 | } 514 | } 515 | } 516 | } 517 | 518 | // https://freedoge.co.in/ - - - - - > 519 | if (freeDOGECOIN === 'ON') { 520 | do { 521 | iimDisplay('Connecting to the https://freedoge.co.in/...'); 522 | log('freedoge.co.in', 'Подключение к проекту...'); 523 | iimPlayCode('SET !TIMEOUT_PAGE 30' 524 | +n+ 'TAB CLOSEALLOTHERS' 525 | +n+ 'TAB T=1' 526 | +n+ 'TAB CLOSE' 527 | +n+ 'URL GOTO=https://freedoge.co.in/' 528 | +n+ 'WAIT SECONDS=8'); 529 | 530 | if (!window.content.document.getElementById('free_play_form_button')) { 531 | iimDisplay('Cloudflare protection is detected...'); 532 | log('freedoge.co.in', 'Обнаружена cloudflare protection...'); 533 | iimPlayCode('WAIT SECONDS=20'); 534 | continue; 535 | } 536 | break; 537 | } while (!window.content.document.getElementById('free_play_form_button')); 538 | 539 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 540 | let timer = Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[1]) * 60 + Number(/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)[2]); 541 | timeTillNextRoll('freedoge.co.in', freeDOGECOIN_RandomTimer, timer); 542 | } 543 | 544 | let solvingCaptchaCycles = 1, answer = null; 545 | while (solvingCaptchaCycles <= 5) { 546 | do { 547 | iimDisplay('Refreshing page...'); 548 | log('freedoge.co.in', 'Обновляем страницу...'); 549 | iimPlayCode('SET !TIMEOUT_PAGE 60' 550 | +n+ 'TAB CLOSEALLOTHERS' 551 | +n+ 'TAB T=1' 552 | +n+ 'TAB CLOSE' 553 | +n+ 'URL GOTO=https://freedoge.co.in/' 554 | +n+ 'WAIT SECONDS=8'); 555 | if (!window.content.document.getElementById('free_play_form_button')) { 556 | iimDisplay('Cloudflare protection is detected...'); 557 | log('freedoge.co.in', 'Обнаружена cloudflare protection...'); 558 | iimPlayCode('WAIT SECONDS=20'); 559 | continue; 560 | } 561 | break; 562 | } while (!window.content.document.getElementById('free_play_form_button')); 563 | 564 | if (/^(\d+)m:(\d+)s/.exec(window.content.document.getElementsByTagName('title')[0].innerText)) { 565 | iimDisplay('There was an exception...'); 566 | log('freedoge.co.in', 'Произошел отлов исключительной ситуации...'); 567 | break; 568 | } 569 | 570 | if (window.content.document.getElementById('free_play_captcha_types').value === 'solvemedia') { 571 | iimDisplay('Selecting reCAPTCHA v2...'); 572 | log('freedoge.co.in', 'Выбираем reCAPTCHA v2...'); 573 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=SELECT ATTR=ID:free_play_captcha_types CONTENT=%recaptcha_v2\nWAIT SECONDS=2'); 574 | } 575 | 576 | if (window.content.document.getElementsByClassName('cc_banner cc_container cc_container--open').length) 577 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 1\nTAG POS=1 TYPE=A ATTR=TXT:Gotit!'); 578 | 579 | iimDisplay('reCAPTCHA v2 is detected. Solving...'); 580 | log('freedoge.co.in', 'reCAPTCHA v2 обнаружена. Попытаемся ее решить...'); 581 | window.scrollBy(0, 20000); 582 | 583 | window.content.document.getElementById('g-recaptcha-response').style.display = ''; 584 | iimPlayCode('SET !ERRORIGNORE YES' 585 | +n+ 'SET !TIMEOUT_STEP 10' 586 | +n+ 'FRAME F=1' 587 | +n+ 'TAG POS=1 TYPE=DIV ATTR=ROLE:presentation&&CLASS:recaptcha-checkbox-checkmark&&TXT:' 588 | +n+ 'WAIT SECONDS=8'); 589 | 590 | if (!window.content.document.getElementById('g-recaptcha-response').value.length) { 591 | let data_sitekey = window.content.document.getElementsByClassName('g-recaptcha')[0].getAttribute('data-sitekey'); 592 | answer = solveReCaptcha_ruCaptcha(data_sitekey, 'https://freedoge.co.in/', 0); 593 | if (!answer['status']) { 594 | if (solvingCaptchaCycles == 5) { 595 | notificationsBadCaptcha('freedoge.co.in'); 596 | break; 597 | } 598 | solvingCaptchaCycles++; 599 | continue; 600 | } 601 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nWAIT SECONDS=2.5\nTAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"'); 602 | } 603 | 604 | iimDisplay('Claiming dogetoshis...'); 605 | log('freedoge.co.in', 'Собираем догитоши...'); 606 | iimPlayCode('SET !ERRORIGNORE YES\nSET !TIMEOUT_STEP 10\nTAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:free_play_form_button\nWAIT SECONDS=8'); 607 | 608 | if (Number(window.content.document.getElementById('winnings').innerHTML) > 0) { 609 | iimDisplay('Successfully claimed!'); 610 | log('freedoge.co.in', 'Успешный сбор! Собрано: ' + Number(window.content.document.getElementById('winnings').innerHTML) + ' DOGE '); 611 | Winnings_freeDOGECOIN += Number(window.content.document.getElementById('winnings').innerHTML); 612 | break; 613 | } else { 614 | iimDisplay('Unsuccessfully claimed!'); 615 | if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('verify'))) { 616 | iimDisplay('Email verification is detected...'); 617 | log('freedoge.co.in', 'Необходимо подтвердить email, чтобы продолжить сбор!'); 618 | break; 619 | } else if ((window.content.document.getElementById('free_play_error').style.display !== 'none') && (window.content.document.getElementById('free_play_error').innerText.includes('blocked'))) { 620 | iimDisplay('Account of the https://freedoge.co.in/ has been banned...'); 621 | log('freedoge.co.in', 'Аккаунт забанен!'); 622 | break; 623 | } else { 624 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 625 | log('freedoge.co.in', 'Капча была решена неверно. Отправляем жалобу и пытаемся решить еще раз...'); 626 | reportCaptcha(answer['server'], answer['taskId']); 627 | 628 | if (solvingCaptchaCycles == 5) { 629 | notificationsBadCaptcha('freedoge.co.in'); 630 | break; 631 | } 632 | solvingCaptchaCycles++; 633 | continue; 634 | } 635 | } 636 | } 637 | } 638 | 639 | // https://freenem.com/ - - - - - > 640 | if (freeNEM === 'ON') { 641 | freeNemBody : { 642 | let authorizationCycles = 1; 643 | while (authorizationCycles <= 5) { 644 | iimDisplay('Connecting to the https://freenem.com/...'); 645 | log('freenem.com', 'Подключение к проекту...'); 646 | iimPlayCode('SET !TIMEOUT_PAGE 60' 647 | +n+ 'TAB T=1' 648 | +n+ 'TAB CLOSEALLOTHERS' 649 | +n+ 'URL GOTO=https://freenem.com/free' 650 | +n+ 'WAIT SECONDS=8'); 651 | 652 | if (!window.content.document.getElementsByClassName('main-button-2 roll-button').length) { 653 | iimDisplay('Logging to the https://freenem.com/...'); 654 | log('freenem.com', 'Авторизируемся на проекте...'); 655 | iimPlayCode('SET !ERRORIGNORE YES' 656 | +n+ 'SET !TIMEOUT_PAGE 30' 657 | +n+ 'SET !TIMEOUT_STEP 10' 658 | +n+ 'TAG POS=1 TYPE=INPUT:EMAIL ATTR=NAME:email CONTENT=' + freeNEM_Login 659 | +n+ 'SET !ENCRYPTION NO' 660 | +n+ 'TAG POS=1 TYPE=INPUT:PASSWORD ATTR=NAME:password CONTENT=' + freeNEM_Password 661 | +n+ 'TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN!' 662 | +n+ 'WAIT SECONDS=8'); 663 | 664 | if (!window.content.document.getElementsByClassName('main-button-2 roll-button').length) { 665 | let data_sitekey = window.content.document.getElementsByTagName('iframe')[0].src.split('?k=')[1].split('&co=')[0]; 666 | let answer = solveReCaptcha_ruCaptcha(data_sitekey, 'https://freenem.com/', 1); 667 | if (!answer['status']) { 668 | if (authorizationCycles == 5) { 669 | notificationsBadCaptcha('freenem.com'); 670 | break freeNemBody; 671 | } 672 | authorizationCycles++; 673 | continue; 674 | } 675 | 676 | iimPlayCode('SET !ERRORIGNORE YES' 677 | +n+ 'SET !TIMEOUT_PAGE 30' 678 | +n+ 'SET !TIMEOUT_STEP 10' 679 | +n+ 'TAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"' 680 | +n+ 'WAIT SECONDS=8'); 681 | 682 | if (!window.content.document.getElementsByClassName('main-button-2 roll-button').length) { 683 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 684 | log('freenem.com', 'Капча была решена неверно. Отправляем жалобу и пытаемся решить еще раз...'); 685 | reportCaptcha(answer['server'], answer['taskId']); 686 | 687 | if (authorizationCycles == 5) { 688 | notificationsBadCaptcha('freenem.com'); 689 | break freeNemBody; 690 | } 691 | authorizationCycles++; 692 | continue; 693 | } 694 | iimDisplay('Successful authorization...'); 695 | log('freenem.com', 'Успешная авторизация...'); 696 | break; 697 | } 698 | } 699 | break; 700 | } 701 | 702 | let timer = Number(window.content.document.getElementsByClassName('digits')[0].innerHTML * 60) + Number(window.content.document.getElementsByClassName('digits')[1].innerHTML); 703 | if (timer > 0) 704 | timeTillNextRoll('freenem.com', freeNEM_RandomTimer, timer); 705 | 706 | let solvingCaptchaCycles = 1; 707 | while (solvingCaptchaCycles <= 5) { 708 | iimDisplay('Refreshing page and solving reCAPTCHA v2...'); 709 | log('freenem.com', 'Обновляем страницу и пытаемся решить Invisible reCAPTCHA v2...'); 710 | iimPlayCode('SET !ERRORIGNORE YES' 711 | +n+ 'SET !TIMEOUT_PAGE 60' 712 | +n+ 'SET !TIMEOUT_STEP 10' 713 | +n+ 'TAB CLOSEALLOTHERS' 714 | +n+ 'TAB T=1' 715 | +n+ 'TAB CLOSE' 716 | +n+ 'URL GOTO=https://freenem.com/free' 717 | +n+ 'WAIT SECONDS=8'); 718 | 719 | timer = Number(window.content.document.getElementsByClassName('digits')[0].innerHTML * 60) + Number(window.content.document.getElementsByClassName('digits')[1].innerHTML); 720 | if (timer > 0) { 721 | iimDisplay('There was an exception...'); 722 | log('freenem.com', 'Произошел отлов исключительной ситуации...'); 723 | break freeNemBody; 724 | } 725 | 726 | iimPlayCode('SET !ERRORIGNORE YES' 727 | +n+ 'SET !TIMEOUT_PAGE 60' 728 | +n+ 'SET !TIMEOUT_STEP 10' 729 | +n+ 'TAG POS=1 TYPE=BUTTON ATTR=TXT:ROLL!' 730 | +n+ 'WAIT SECONDS=8'); 731 | 732 | let winningDuringLastSession = Number(window.content.document.getElementsByClassName('result')[0].innerHTML.split(' ')[3]); 733 | if (!isNaN(winningDuringLastSession) || (winningDuringLastSession > 0)) { 734 | iimDisplay('Successfully claimed!'); 735 | log('freenem.com', 'Успешный сбор! Собрано: ' + winningDuringLastSession + ' NEM'); 736 | Winnings_freeNEM += winningDuringLastSession; 737 | break; 738 | } else { 739 | let data_sitekey = window.content.document.getElementsByTagName('iframe')[0].src.split('?k=')[1].split('&co=')[0]; 740 | let answer = solveReCaptcha_ruCaptcha(data_sitekey, 'https://freenem.com/', 1); 741 | if (!answer['status']) { 742 | if (solvingCaptchaCycles == 5) { 743 | notificationsBadCaptcha('freenem.com'); 744 | break; 745 | } 746 | solvingCaptchaCycles++; 747 | continue; 748 | } 749 | 750 | iimDisplay('Claiming NEM...'); 751 | log('freenem.com', 'Собираем NEM...'); 752 | iimPlayCode('SET !ERRORIGNORE YES' 753 | +n+ 'SET !TIMEOUT_PAGE 30' 754 | +n+ 'SET !TIMEOUT_STEP 10' 755 | +n+ 'WAIT SECONDS=2.5' 756 | +n+ 'TAG POS=1 TYPE=TEXTAREA FORM=ID:* ATTR=ID:g-recaptcha-response CONTENT=\"' + answer['hash'] + '\"' 757 | +n+ 'ONDIALOG POS=1 BUTTON=OK CONTENT=' 758 | +n+ 'WAIT SECONDS=8'); 759 | 760 | winningDuringLastSession = Number(window.content.document.getElementsByClassName('result')[0].innerHTML.split(' ')[3]); 761 | if (!isNaN(winningDuringLastSession) || (winningDuringLastSession > 0)) { 762 | iimDisplay('Successfully claimed!'); 763 | log('freenem.com', 'Успешный сбор! Собрано: ' + winningDuringLastSession + ' NEM'); 764 | Winnings_freeNEM += winningDuringLastSession; 765 | break; 766 | } else { 767 | iimDisplay('Captcha was solved incorrectly. Sending a report and trying to solve captcha again...'); 768 | log('freenem.com', 'Капча была решена неверно. Отправляем жалобу и пытаемся решить еще раз...'); 769 | reportCaptcha(answer['server'], answer['taskId']); 770 | 771 | if (solvingCaptchaCycles == 5) { 772 | notificationsBadCaptcha('freenem.com'); 773 | break; 774 | } 775 | solvingCaptchaCycles++; 776 | continue; 777 | } 778 | } 779 | } 780 | } 781 | } 782 | } 783 | } 784 | catch (e) { 785 | log('RESTART', 'Произошла ошибка в работе бота, проверьте подключение к интернету! Бот будет перезапущен через 30 секунд...'); 786 | iimDisplay('There was an error in the bot operation, check the connection to the Internet! The bot will be restarted in 30 seconds...'); 787 | } 788 | } 789 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## :mag_right:Description ## 2 | `freebitco.in / freedoge.co.in / freenem.com [ MultiCaptchaBot ]` is a free bot using Mozilla Firefox and [iMacros add-on](https://addons.mozilla.org/ru/firefox/addon/imacros-for-firefox/) designed for automated gathering cryptocurrencies from [freebitco.in](https://freebitco.in/?r=1422489), [freedoge.co.in](http://freedoge.co.in/?r=327814) и [freenem.com](https://freenem.com/?ref=20120) every hour. Captcha recognition is carried out via [ruCaptcha.com / 2Captcha.com](https://rucaptcha.com?from=4507616) - services providing human captcha recognition. Script can be set up for any specific sites from supported list or all of them, if necessary. Also additional functionality can be turned on, such as automatic **Reward Points** applying (*on freebitco.in*) or random delay before collecting reward. In addition, bot is able to send reports on incorrectly solved captchas, logging, etc. 3 | #### In the current version supported captcha types are: #### 4 | 1. [Captchas.net](http://captchas.net/) *(freebitco.in)* 5 | 2. [reCAPTCHA v2 / Invisible reCAPTCHA v2](https://www.google.com/recaptcha/intro/) *(freebitco.in / freedoge.co.in / freenem.com)* 6 | 3. [Solve Media](http://www.solvemedia.com/) *(freebitco.in)* 7 | 4. Other custom text captchas on the site *(freebitco.in)* 8 | * * * 9 | There is also the extended version exists. In this version bot can also (*in addition to foresaid*) send notifications to e-mail in case of failures and other critical situations and it provides choice of which service to use to recognize reCAPTCHA v2: 10 | 1. [ruCaptcha.com / 2Captcha.com](https://rucaptcha.com?from=4507616) 11 | 2. [X-Captcha.ru](http://x-captcha.ru/) 12 | 13 | To get the extended version you will need to register on the sites using the referral links listed below and send your deposit addresses from *freebitco.in* and *freedoge.co.in* to `multicaptchabot@ya.ru`. In response you'll get the link to download and full instructions. 14 | 1. https://freebitco.in/?r=1422489 15 | 2. http://freedoge.co.in/?r=327814 16 | 3. https://freenem.com/?ref=20120 17 | * * * 18 | ## :computer:Demo (YouTube) ## 19 | [![Video demonstration about bot working on YouTube](https://static.wixstatic.com/media/ab398e_9df0e13a56c742f48e5a09f939e63d75~mv2.png)](https://www.youtube.com/watch?v=NxiYBPajKlE) 20 | ## :scroll:Install ## 21 | *Instructions in Russian*: https://multicaptchabot.wixsite.com/multicaptchabot/instruction 22 | 23 | :uk:Donwload `MCB_v520(EN).js`: https://yadi.sk/d/RBlHiweM3ULGjE
24 | :ru:Donwload `MCB_v520(RU).js`: https://yadi.sk/d/uLEGBYcp3ULGjL 25 | 26 | ### Step 1: ### 27 | Download and install `Mozilla Firefox` **v47.0 - v49.0**.
*Download links for Windows*:
28 | **47.0**: https://filehippo.com/download_firefox/68389/
29 | **48.0**: https://filehippo.com/download_firefox/69488/
30 | **49.0**: https://filehippo.com/download_firefox/70459/

31 | **[ IMPORTANT №1 ]** Open `about:config` and set `browser.tabs.closeWindowWithLastTab = false`
32 | **[ IMPORTANT №2 ]** Disable Mozilla Firefox updates 33 | ### Step 2: ### 34 | Install `iMacros for Firefox` add-on **v8.9.7**.
35 | *Download link*: https://addons.mozilla.org/ru/firefox/addon/imacros-for-firefox/versions/

36 | **[ IMPORTANT №3 ]** Disable iMacros updates (open `about:addons`, select `iMacros for Firefox` and click `More`. Scroll down and click `Off`) 37 | ### Step 3: ### 38 | Sign up for sites which you are going to use bot for. Also register on captcha recognition service.
39 | *Registration link*: https://rucaptcha.com?from=4507616 40 | ### Step 4: ### 41 | Download script and move it to iMacros folder (by default: `C:\Users\User\Documents\iMacros\Macros`).
42 | **[ IMPORTANT №4 ]** Before starting the bot create folder `C:\MultiCaptcha_bot` 43 | 44 | `Line №5`: Place your `API KEY` from [ruCaptcha.com](https://rucaptcha.com/enterpage) / [2Captcha.com](https://2captcha.com/enterpage) instead of asterisks;
45 | `Lines №7-20`: Activate faucets you need and additional functions for them.
46 | 47 | **[ IMPORTANT №5 ]** In order to use *freenem.com* you will need to install any extension to block ads. I suggest installing Adblock Plus
48 | *Download link*: https://adblockplus.org/en/ 49 | ```javascript 50 | // [ Block №1 ]: User settings 51 | const captchaPath = 'C:\\MultiCaptcha_bot\\'; // Text captchas download path (Don't forget to use double backslashes) 52 | const logPath = 'C:\\MultiCaptcha_bot\\log.txt'; // Full log filename (Don't forget to use double backslashes) 53 | 54 | const apiKey = '******************************'; // Your ruCaptcha.com / 2Captcha.com API-KEY 55 | 56 | // [ Block №2 ]: https://freebitco.in/ 57 | const freeBITCOIN = 'OFF'; // [ON / OFF] - Use bot on https://freebitco.in/ 58 | const freeBITCOIN_RewardPoints = 'OFF'; // [ON / OFF] - Auto-apply Reward Points on https://freebitco.in/ 59 | const freeBITCOIN_RandomTimer = 'OFF'; // [ON / OFF] - Random delay for from 30 seconds to 2 minutes before next roll on https://freebitco.in/ 60 | 61 | // [ Block №3 ]: https://freedoge.co.in/ 62 | const freeDOGECOIN = 'OFF'; // [ON / OFF] - Use bot on https://freedoge.co.in/ 63 | const freeDOGECOIN_RandomTimer = 'OFF'; // [ON / OFF] - Random delay for from 30 seconds to 2 minutes before next roll on https://freedoge.co.in/ 64 | 65 | // [ Block №4 ]: https://freenem.com/ 66 | const freeNEM = 'OFF'; // [ON / OFF] - Use bot on https://freenem.com/ 67 | const freeNEM_Login = '*************'; // Login (Required, because session is valid for 3 hours only) 68 | const freeNEM_Password = '*************'; // Password (For the same reason) 69 | const freeNEM_RandomTimer = 'OFF'; // [ON / OFF] - Random delay for from 30 seconds to 2 minutes before next roll on https://freenem.com/ 70 | ``` 71 | #### Reward Points applying algorhythm on freebitco.in: #### 72 | REWARD POINTS BONUS: 73 | 1) If there are < 12 RP - continue hoarding Reward Points; 74 | 2) If there are >= 12 RP, but < 120 RP - spend 12 RP for `1 RP / ROLL` bonus; 75 | 3) If there are >= 120 RP, but < 600 RP - spend 120 RP for `10 RP / ROLL` bonus; 76 | 4) If there are >= 600 RP, but < 1200 RP - spend 600 RP for `50 RP / ROLL` bonus; 77 | 5) If there are >= 1200 RP - spend 1200 RP for `100 RP / ROLL` bonus. 78 | 79 | FREE BTC BONUS: 80 | 1) If there are < 2800 RP - continue hoarding Reward Points; 81 | 2) If there are >= 2800 RP, but < 4400 RP - spend 1600 RP for `500% BONUS`; 82 | 3) If there are >= 4400 RP - spend 3200 RP for `1000% BONUS`. 83 | ### Step 5: ### 84 | Add funds to your captcha recognition service account using any payment method you prefer. 85 | ### Step 6: ### 86 | Select script in iMacros sidebar and start the bot with `Play` button. 87 | ## :money_with_wings:Donate ## 88 | ``` 89 | Bitcoin: 1CPu8TPTo4xPCdLmq2eZ764yofPuDwLLJU 90 | Litecoin: LU7ng11BkaUWmTLuNpQ5RURUS29LnpGQ8L 91 | Dogecoin: DDc5RJFAyNYrJvXaYAQkxLXCAPuNcAsFCQ 92 | NEM: NDFIBL-H7T3XX-KPWE2O-IEEMKH-FSS77B-CXU4YL-OOJW 93 | Cardano: DdzFFzCqrhtCFaMAWMDHvFRvctvXXBaHF3DoLtJ6rKun2WJt17Z4goRqdomE4PXiUpcUqQ3WfYpHF2icAka8qQHUMVU4aPXYKC9EbugN 94 | Ripple: rUuFTHy6fn6Su4FmcS15DxJK6J6gSuLRoV (Destination tag: 1) 95 | Bytecoin: 22X4Qunt5s54JUfEtXUnXH795FNNWbHuzVvRAngMNufjXRmbrSQPBWMfNCezqRpKfLJf5dmANoy6uA2bGtZ3uT5fJH378F9 96 | Siacoin: 200c142995ca38dd56b19c61d5434ed1b5a1212772ad23a3c681124df23a663944ca617449a0 97 | ``` 98 | --------------------------------------------------------------------------------