gepettobrowser
Version:
Puppeteer-real-browser inspired fork of puppeteer
1 lines • 3.31 kB
JavaScript
function a11_0x386f(){const _0x15b3b1=['length','912zgNtHd','dataset','Capy\x20Puzzle','66wkKslQ','answer','CapyTaskProxyless','challengekey','val','12110ZyeCSa','apiServer','4026096OjsDdM','href','register','inputId','enabledForCapyPuzzle','css','443315arwOez','disposable','outerWidth','click','getHelper','captchakey','110340DqFIBH','.captcha-solver','1306960VHIycv','12ZgWvSn','form','find','5075160tHegko','append','5367ggIzfP'];a11_0x386f=function(){return _0x15b3b1;};return a11_0x386f();}function a11_0x4d97(_0x416e7b,_0x309e83){const _0x386fa1=a11_0x386f();return a11_0x4d97=function(_0x4d97fa,_0x5a6536){_0x4d97fa=_0x4d97fa-0x103;let _0x315364=_0x386fa1[_0x4d97fa];return _0x315364;},a11_0x4d97(_0x416e7b,_0x309e83);}const a11_0x534530=a11_0x4d97;(function(_0x233e1c,_0x321195){const _0x17f275=a11_0x4d97,_0x5599b7=_0x233e1c();while(!![]){try{const _0x987d21=-parseInt(_0x17f275(0x10f))/0x1*(-parseInt(_0x17f275(0x114))/0x2)+-parseInt(_0x17f275(0x107))/0x3+-parseInt(_0x17f275(0x109))/0x4+parseInt(_0x17f275(0x121))/0x5*(parseInt(_0x17f275(0x10a))/0x6)+-parseInt(_0x17f275(0x119))/0x7*(-parseInt(_0x17f275(0x111))/0x8)+-parseInt(_0x17f275(0x11b))/0x9+parseInt(_0x17f275(0x10d))/0xa;if(_0x987d21===_0x321195)break;else _0x5599b7['push'](_0x5599b7['shift']());}catch(_0x28ee6a){_0x5599b7['push'](_0x5599b7['shift']());}}}(a11_0x386f,0x3c9f5),CaptchaProcessors[a11_0x534530(0x11d)]({'captchaType':'capy','canBeProcessed':function(_0x38bde3,_0x30dc87){const _0x48e02c=a11_0x534530;if(!_0x30dc87[_0x48e02c(0x11f)])return![];if(!_0x38bde3[_0x48e02c(0x106)])return![];return!![];},'attachButton':function(_0x3b7f68,_0x12ff6b,_0x36a826){const _0xaa3e51=a11_0x534530;let _0x4ac809=this[_0xaa3e51(0x105)](_0x3b7f68);if(_0x4ac809['find'](_0xaa3e51(0x108))[_0xaa3e51(0x110)]!==0x0)return;_0x36a826[_0xaa3e51(0x120)]({'width':_0x4ac809[_0xaa3e51(0x103)]()+'px'}),_0x36a826[0x0][_0xaa3e51(0x112)][_0xaa3e51(0x122)]=!![],_0x4ac809[_0xaa3e51(0x10e)](_0x36a826);},'clickButton':function(_0x23a7ca,_0x14b62d,_0x546fe2){const _0x105391=a11_0x534530;if(_0x14b62d['autoSolveCapyPuzzle'])_0x546fe2[_0x105391(0x104)]();},'getName':function(){const _0x423d2e=a11_0x534530;return _0x423d2e(0x113);},'getParams':function(_0x1590d5,_0x40019e){const _0xd10081=a11_0x534530;return{'method':'capy','url':location['href'],'captchakey':_0x1590d5[_0xd10081(0x106)],'apiServer':_0x1590d5[_0xd10081(0x11a)]};},'getParamsV2':function(_0x72ce39,_0x4725c2){const _0x2f101d=a11_0x534530;return{'type':_0x2f101d(0x116),'websiteURL':location[_0x2f101d(0x11c)],'websiteKey':_0x72ce39[_0x2f101d(0x106)]};},'onSolved':function(_0x221097,_0x268bcf){const _0x47af2a=a11_0x534530;let _0x3a5edf=this[_0x47af2a(0x105)](_0x221097);_0x3a5edf['find']('input[name=capy_captchakey]')[_0x47af2a(0x118)](_0x268bcf[_0x47af2a(0x106)]),_0x3a5edf['find']('input[name=capy_challengekey]')[_0x47af2a(0x118)](_0x268bcf[_0x47af2a(0x117)]),_0x3a5edf[_0x47af2a(0x10c)]('input[name=capy_answer]')[_0x47af2a(0x118)](_0x268bcf[_0x47af2a(0x115)]);},'getForm':function(_0x53e1cc){const _0x40118f=a11_0x534530;return this['getHelper'](_0x53e1cc)['closest'](_0x40118f(0x10b));},'getCallback':function(_0x2bdde3){return null;},'getHelper':function(_0x31a742){const _0x4a287c=a11_0x534530;let _0x58409f=$('#'+_0x31a742[_0x4a287c(0x11e)]);return _0x58409f['parent']();}}));