gepettobrowser
Version:
Puppeteer-real-browser inspired fork of puppeteer
1 lines • 4.89 kB
JavaScript
const a14_0x48febb=a14_0x5eda;(function(_0x5843a3,_0x5ade27){const _0xa80c1a=a14_0x5eda,_0x29843a=_0x5843a3();while(!![]){try{const _0x2e5c2d=parseInt(_0xa80c1a(0xf0))/0x1+-parseInt(_0xa80c1a(0xe8))/0x2+parseInt(_0xa80c1a(0xe5))/0x3+-parseInt(_0xa80c1a(0xf5))/0x4*(-parseInt(_0xa80c1a(0xef))/0x5)+parseInt(_0xa80c1a(0xe0))/0x6+parseInt(_0xa80c1a(0x103))/0x7*(-parseInt(_0xa80c1a(0xe1))/0x8)+parseInt(_0xa80c1a(0xea))/0x9*(-parseInt(_0xa80c1a(0x105))/0xa);if(_0x2e5c2d===_0x5ade27)break;else _0x29843a['push'](_0x29843a['shift']());}catch(_0x511d72){_0x29843a['push'](_0x29843a['shift']());}}}(a14_0x49e7,0x1a2d0),CaptchaProcessors['register']({'captchaType':a14_0x48febb(0xe6),'canBeProcessed':function(_0x5146e5,_0x37e356){const _0x2cb868=a14_0x48febb;if(!_0x37e356[_0x2cb868(0xfd)])return![];if(!$('#'+_0x5146e5[_0x2cb868(0x101)])[_0x2cb868(0xff)])return![];return!![];},'attachButton':function(_0x10941e,_0xeaadda,_0x1e1634){const _0x2e1db1=a14_0x48febb;let _0x1c92b4=this[_0x2e1db1(0xf2)](_0x10941e);if(_0x1c92b4[_0x2e1db1(0x100)]('.captcha-solver')[_0x2e1db1(0xff)]!==0x0)return;_0x1e1634[_0x2e1db1(0xfe)]({'width':_0x1c92b4[_0x2e1db1(0xdf)]()+'px'}),_0x1e1634[0x0][_0x2e1db1(0xfa)][_0x2e1db1(0xf1)]=!![],_0x1c92b4['append'](_0x1e1634);},'clickButton':function(_0x14b07d,_0x389b85,_0xc871ed){const _0x126353=a14_0x48febb;if(_0x389b85['autoSolveGeetest'])_0xc871ed[_0x126353(0xe4)]();},'getName':function(){return'GeeTest';},'getParams':function(_0x8de2b2,_0xca454f){const _0x1d6892=a14_0x48febb;let _0x195680={'method':_0x1d6892(0xe6),'url':location['href'],'gt':_0x8de2b2['gt'],'challenge':_0x8de2b2[_0x1d6892(0xe3)]};return _0x8de2b2[_0x1d6892(0x104)]&&(_0x195680[_0x1d6892(0x104)]=_0x8de2b2['apiServer']),_0x195680;},'getParamsV2':function(_0x8f265,_0x2edf4d){const _0x5a4992=a14_0x48febb;let _0x49cb70={'type':_0x5a4992(0xf6),'websiteURL':location['href'],'gt':_0x8f265['gt'],'challenge':_0x8f265[_0x5a4992(0xe3)],'version':0x3};return _0x8f265['apiServer']&&(_0x49cb70[_0x5a4992(0xee)]=_0x8f265[_0x5a4992(0x104)]),_0x49cb70;},'onSolved':function(_0x12f4ac,_0x1efeee){const _0x34fd30=a14_0x48febb;let _0x6323b4=this[_0x34fd30(0xf2)](_0x12f4ac);_0x6323b4[_0x34fd30(0x100)]('input[name=geetest_challenge]')[_0x34fd30(0xf4)](_0x1efeee[_0x34fd30(0xe9)]),_0x6323b4[_0x34fd30(0x100)]('input[name=geetest_validate]')[_0x34fd30(0xf4)](_0x1efeee['geetest_validate']),_0x6323b4['find']('input[name=geetest_seccode]')[_0x34fd30(0xf4)](_0x1efeee[_0x34fd30(0xe2)]);let _0x3ba7eb=document[_0x34fd30(0xed)](_0x34fd30(0xe7));_0x3ba7eb[_0x34fd30(0xf9)]=chrome[_0x34fd30(0x102)][_0x34fd30(0xfc)](_0x34fd30(0xfb)),document[_0x34fd30(0xf7)]['append'](_0x3ba7eb);},'getForm':function(_0x357b5b){const _0x501e89=a14_0x48febb;return this[_0x501e89(0xf2)](_0x357b5b)[_0x501e89(0xec)](_0x501e89(0xeb));},'getCallback':function(_0x3f6c78){return null;},'getHelper':function(_0x3fa586){const _0xc4bd95=a14_0x48febb;let _0x198384=$('#'+_0x3fa586[_0xc4bd95(0x101)]),_0x28758a=_0x198384[_0xc4bd95(0x100)]('.twcpt-geetest-helper');return!_0x28758a[_0xc4bd95(0xff)]&&(_0x28758a=$(_0xc4bd95(0xf8))[_0xc4bd95(0xf3)](_0x198384)),_0x28758a;}}));function a14_0x5eda(_0x3da95b,_0x4acf00){const _0x49e732=a14_0x49e7();return a14_0x5eda=function(_0x5eda31,_0x253bde){_0x5eda31=_0x5eda31-0xdf;let _0x235607=_0x49e732[_0x5eda31];return _0x235607;},a14_0x5eda(_0x3da95b,_0x4acf00);}function a14_0x49e7(){const _0x4f4feb=['geetest_challenge','99GzukKB','form','closest','createElement','geetestApiServerSubdomain','135yWfzBT','111887fXEffF','disposable','getHelper','appendTo','val','8228vcGBWx','GeeTestTaskProxyless','body','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22twcpt-geetest-helper\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22geetest_form\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22hidden\x22\x20name=\x22geetest_challenge\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22hidden\x22\x20name=\x22geetest_validate\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22hidden\x22\x20name=\x22geetest_seccode\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','src','dataset','content/captcha/geetest/validate.js','getURL','enabledForGeetest','css','length','find','containerId','runtime','287721IrehBY','apiServer','100570HPJdOZ','outerWidth','580578vQGHUi','16wImuPN','geetest_seccode','challenge','click','478239faGBna','geetest','script','247106HjqvTx'];a14_0x49e7=function(){return _0x4f4feb;};return a14_0x49e7();}