Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: #30

Closed
VersaceXcodes opened this issue Dec 27, 2021 · 33 comments
Closed

[Bug]: #30

VersaceXcodes opened this issue Dec 27, 2021 · 33 comments
Assignees
Labels
bug Something isn't working

Comments

@VersaceXcodes
Copy link

Describe the bug
error when try to do on discord.com/register

Error: Evaluation failed: StatusCodeError: 400 - {"c":{"type":"hsw","req":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoxNiwidCI6InciLCJkIjoiUVhYanVwWmVhR2pTSkFkNSt5RmhQbXZ3NG4xUGIyY0xuUEJJbXZMNnA5VTgvTUJ3VGxUUmtEb2JxdWlIZlZ4VjF3T2NxOFdZSVBlWWcrUldyQzBWaUJvckxNa1U3dExKdjU0UWpMQ3huKzJMSmgrUEM2QlNHcCtrNG5uTzlna2dxZmFJbFFoc1NMaFhFWEl2bk1xV0sybDdlNkh1eGIrQ1VYbWc1cGtodzJNR3l5bjVLb1V3ZXhQeFRRRT12dlhneGswTVdEOHBKNmtjIiwibCI6Imh0dHBzOi8vbmV3YXNzZXRzLmhjYXB0Y2hhLmNvbS9jLzNkZTUzMTlkIiwiZSI6MTY0MDYxNTk1Nn0.Oi-tHxN2EyO2l9OU3oPMB1i0UhCxAxb6oSMRb5xjEmE"},"pass":false,"error":"invalid"}

@VersaceXcodes VersaceXcodes added the bug Something isn't working label Dec 27, 2021
@eboujlal
Copy link

Same error here

@aw1875
Copy link
Owner

aw1875 commented Dec 27, 2021

Pretty sure discord uses a modified version if I remember correctly, which is not supported. Regardless, if they do or not it seems like hCaptcha made some changes to the requests so I have to take some time to go through it again see #27.

@Lukpier
Copy link

Lukpier commented Dec 29, 2021

Hi @aw1875,

Is there any chance to make it work with Discord hCaptcha?
I tried last changes on your code and it works with simple demo on 2captcha.

I can help in developing the functionality, if you need.

@aw1875
Copy link
Owner

aw1875 commented Dec 29, 2021

@Lukpier If people want it to solve discord hcaptcha it’s up to them to add that functionality. If you create it and want to make a pr I’d be more than happy to merge the changes but this is a side project for me so I’m personally not interested in adding that functionality. I know it can easily be done as I’ve seen multiple people make the modifications already

@aw1875
Copy link
Owner

aw1875 commented Feb 1, 2022

I'll be closing this issue due to inactivity but feel free to reopen it if theres anything that you need to add.

@aw1875 aw1875 closed this as completed Feb 1, 2022
@Revadike
Copy link
Contributor

Revadike commented Feb 16, 2022

I may have stumbled across the same issue, but for epicgames.com. It also has error: 'invalid'

@Revadike
Copy link
Contributor

Revadike commented Feb 16, 2022

Not sure if related, but perhaps comparing this may help? One thing I noticed is that the check in the URL's are different sizes.

LEGIT REQUEST:

fetch("https://hcaptcha.com/checkcaptcha/E0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoiZ1F4UHZuSklrN1RzYWV0QzhBTFRtN0VqS3N2WUYxajVwMDV1QmU5MXUyT0lkemIzdGtXdXB5NitqbzNLcFJGK1pRRXVwM01qbjZkN1p5SEYxRHRNckxjY3J2VkM2UWt2YStZZjZubzl5eFJPbmo4aE5ieXpDYzJVRENmTGV3T0NjLzV5MDZab0Z4RzJ6RHZ1TE1MQjl2RHNoR1pUREd6YkQyODFuOE1pTlZGb05RcGNzajhqbmxENkJsVHF6RWNaM09wSGR5SEpRSHlEa3dMZXVDSFhUelpVdVBsbGpvSjc4SktDbm5nYk91T3R2T2NjQ3VtWTVhWS9QeXBaRFV5N3dIeUxNMEJ0WFR6emprWkZkS1M3d3lNaFJnUi9hWWNVZUZoQkNrUkFtZ2ZjNERTbUlEOUZhTlo4U0d6N0V5RlUzWHFFSGtRPUtFZHFpYXR2ckNnWFloWVkifQ.KKESLNiI4ffpphh4fD10SaQlOJujjZ41OgS6rJSxjco?s=86194cdd-0462-4873-8866-05a00840a83a", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-US,en;q=0.9",
    "content-type": "application/json;charset=UTF-8",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-site",
    "sec-gpc": "1"
  },
  "referrer": "https://newassets.hcaptcha.com/",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": "{\"v\":\"f6912ef\",\"job_mode\":\"image_label_binary\",\"answers\":{\"6a1991e2-85ea-4519-bc2d-9452b48cb4d1\":\"false\",\"5df711d8-183f-40b3-8101-3b6fcec9e4d5\":\"false\",\"c3b7ea87-b59e-4374-83c2-09d3101ad740\":\"true\",\"97347a58-527f-493b-9622-11c741396475\":\"false\",\"96076ea8-029b-4211-9a9c-7f1b45743fe5\":\"false\",\"101cdd3d-0f8c-42c7-b218-4d4f94c25faf\":\"true\",\"ff5ed07b-8281-4163-8726-81d56b454746\":\"false\",\"e3cfc5d7-e0bd-4a59-8bbd-a4c95fbe2ac7\":\"true\",\"f5ff156e-c868-4bbe-bd24-449bb97057ef\":\"false\",\"4601f0d8-e3ea-4e41-a40f-25ca38c555ef\":\"false\",\"d5327cdc-af9a-466d-bf56-a407ec65e24c\":\"true\",\"0dcebd67-eede-4cc9-af38-c7dda51d128c\":\"true\",\"a20d840c-32ed-4f70-a15f-8f059e4fb210\":\"false\",\"e4c887ab-ca02-4f22-bdc6-d0049d53fd7d\":\"false\",\"411d4f37-4b4f-4a35-a2dd-b41cd3729395\":\"true\",\"c58ecb57-c819-450b-b713-d1a8e0ea258f\":\"false\",\"e974db0f-2946-4e99-a455-d62fbb330a37\":\"false\",\"e347e095-c284-4797-b4a2-b9b93458b468\":\"true\"},\"serverdomain\":\"www.epicgames.com\",\"sitekey\":\"86194cdd-0462-4873-8866-05a00840a83a\",\"motionData\":\"{\\\"st\\\":1644816575091,\\\"dct\\\":1644816575092,\\\"mm\\\":[[399,487,1644816641017],[388,494,1644816641033],[376,504,1644816641049],[363,516,1644816641065],[349,528,1644816641082],[335,541,1644816641098],[325,550,1644816641115],[313,560,1644816641131],[306,567,1644816641148],[301,574,1644816641165],[298,579,1644816641181],[296,584,1644816641198],[296,587,1644816641214],[297,587,1644816641259],[306,584,1644816641275],[317,580,1644816641291],[327,576,1644816641308],[337,574,1644816641325],[342,572,1644816641344],[342,572,1644816641500],[342,572,1644816641527],[342,572,1644816641577],[342,572,1644816641597]],\\\"mm-mp\\\":6.346028291621326,\\\"md\\\":[[342,572,1644816641498]],\\\"md-mp\\\":2240.1111111111113,\\\"mu\\\":[[342,572,1644816641618]],\\\"mu-mp\\\":2239.3333333333335,\\\"topLevel\\\":{\\\"st\\\":1644816527461,\\\"sc\\\":{\\\"availWidth\\\":2560,\\\"availHeight\\\":1392,\\\"width\\\":2560,\\\"height\\\":1440,\\\"colorDepth\\\":30,\\\"pixelDepth\\\":30,\\\"availLeft\\\":0,\\\"availTop\\\":0},\\\"nv\\\":{\\\"sayswho\\\":\\\"Chrome 98\\\",\\\"vendorSub\\\":\\\"\\\",\\\"productSub\\\":\\\"20030107\\\",\\\"vendor\\\":\\\"Google Inc.\\\",\\\"maxTouchPoints\\\":0,\\\"userActivation\\\":{},\\\"brave\\\":{},\\\"globalPrivacyControl\\\":true,\\\"doNotTrack\\\":\\\"1\\\",\\\"geolocation\\\":{},\\\"pdfViewerEnabled\\\":true,\\\"webkitTemporaryStorage\\\":{},\\\"webkitPersistentStorage\\\":{},\\\"hardwareConcurrency\\\":7,\\\"cookieEnabled\\\":true,\\\"appCodeName\\\":\\\"Mozilla\\\",\\\"appName\\\":\\\"Netscape\\\",\\\"appVersion\\\":\\\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Safari/537.36\\\",\\\"platform\\\":\\\"Win32\\\",\\\"product\\\":\\\"Gecko\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Safari/537.36\\\",\\\"language\\\":\\\"en-US\\\",\\\"languages\\\":[\\\"en-US\\\"],\\\"onLine\\\":true,\\\"webdriver\\\":false,\\\"scheduling\\\":{},\\\"bluetooth\\\":{},\\\"clipboard\\\":{},\\\"credentials\\\":{},\\\"keyboard\\\":null,\\\"managed\\\":{},\\\"mediaDevices\\\":{},\\\"storage\\\":{},\\\"serviceWorker\\\":{},\\\"wakeLock\\\":{},\\\"deviceMemory\\\":0.5,\\\"ink\\\":{},\\\"hid\\\":{},\\\"locks\\\":{},\\\"mediaCapabilities\\\":{},\\\"mediaSession\\\":{},\\\"permissions\\\":{},\\\"presentation\\\":{},\\\"virtualKeyboard\\\":{},\\\"usb\\\":{},\\\"xr\\\":{},\\\"userAgentData\\\":{\\\"brands\\\":[{\\\"brand\\\":\\\" Not A;Brand\\\",\\\"version\\\":\\\"99\\\"},{\\\"brand\\\":\\\"Chromium\\\",\\\"version\\\":\\\"98\\\"}],\\\"mobile\\\":false},\\\"plugins\\\":[\\\"XLFixYs279.fv37\\\",\\\"379.fPHjRIkyZMmz\\\",\\\"o0atWLlyZMmTp0aNmTJECBAAAgw48.  \\\",\\\"HjxYsWr1at279.fPHjxYMGDhQo069ev3\\\"]},\\\"dr\\\":\\\"https://www.epicgames.com/store/en-US/p/windbound\\\",\\\"inv\\\":true,\\\"exec\\\":true,\\\"wn\\\":[],\\\"wn-mp\\\":0,\\\"xy\\\":[],\\\"xy-mp\\\":0,\\\"mm\\\":[[1191,298,1644816640694],[1114,349,1644816640710],[1053,429,1644816640727],[1033,485,1644816640743],[1025,542,1644816640760],[1017,589,1644816640777],[1006,629,1644816640793],[993,665,1644816640809],[975,698,1644816640827],[958,723,1644816640843],[943,743,1644816640859],[926,760,1644816640877],[907,771,1644816640893],[883,780,1644816640910],[861,783,1644816640927],[849,784,1644816640943],[831,779,1644816640960],[814,776,1644816640977],[803,775,1644816640993],[794,779,1644816641010]],\\\"mm-mp\\\":13.807188444743012,\\\"md\\\":[],\\\"md-mp\\\":4120,\\\"mu\\\":[],\\\"mu-mp\\\":4141},\\\"v\\\":1}\",\"n\":\"845f1a1b18cce1390bfdc6b25d5d6f1c65b7dc32ac3fdf8e5c19f83a7aa2e1511961e089b4164975f826eab05e1fc668baaf4a976f2a9954e14068f4f4d69cb3e32befa655ff6a5dd77f9ca0ed258f5982881aac30a8ec1697c901f748f620778e0140a6781fac6a5bf471d01f6c577cadbea1b86d8e5c66cb3333d4b10e6bc5090e7e7a716435614bdca0e4501f618033e107022f0a5f41daca07613e20319b415bdba7feb89bbe9f58ebb7b8e2f75cba030bf2f4e425a5eab1623db9699ab52e2606fbb453c4b6b820ea4a8983ef454be21bae7d4b52a1c00b7e2b4f4f8c867dca3fd3951d2fdf33f5d52baea8584fddb782664534f718674924d1ce4e38dddcb0f0770824fbed57e9cee83507203e7588d1201098a8c58d2919ac68cce559337077de2bc35240fa21c3441898be88d9b8074d3883ab96900d8e4ae49c7ae25fa01d15f5332eb71cd67aab3d0019b68dee7b7a7634917ca2d1e382573a954cc3e70a295a2c682f1d570e9cf8bafcfa087f641e33ead9aee35c7f97198ef0df3d5a33e162309c3e9c1165362dc24490d969ef5e28fa4d8071fef43c4f89d93538bf56d07b5f04d9abec9bb613e0c76c88928705aaad9af9a6fff4c09bd3b6914127ae2b535c9929ba60a271f8afea0fb76ee6fb5d6322e6fbd3574cd03e18504c3cc26a669d1b65dcc23a1162224fb3d40339daff9953c96e194c801139d72edb595a5d48bdb63170134121d474fa49af505cc321b45b329002c828cc45240730a70d95972a6f95aaad6e9eaa03d66c18b88c0886301a6d59f891f6d0ca860987f4684c17b0b84939550514a1d2b7c5ab7290b1f2f761827cb3ce296e4f8f63cfe7e98cfb5d62645ceb5cc53b2c1606469df86c8e4a90decf6c81b9d8fbd8e78d9e29495cc8c6cf5ff362eb4bfe3c695eb7b0158d71bf11850e29e91b74fa0415276f0b84efdcd37ed623f6735db6d7f74916e058d1237bb6ff29ae5ba89a9cad503b9ca609188da1e119bf3defdee887bb9aaa4cf88bf74e7ea3009037685eba3693b370254531f9b5c6d1f42ddc1be4fb1e5f350e369dcc5614e11e15472764db75225c99ad89445c1b69c0e8d8ec1032d1258553aa370620dd196ebceefce6fafb4aaccceb962ef047f86748bdf594fc4585a99c3c75ee2772562ddd72485b2d6ac11821249666c4f7cc70020d3f0da69c5d3e49fa47b89391bd87ef0ba577ac4996413945c60d8f5bce46f0e4c6b97733379fcc62e11d887831cce6169d6311cf79a4b1ef1f8a9d7ad951ccb96ff5477d7f0d73d98c38b5a484177bf71428380353d4ef315be54fd9f74e3d5db8dc2b729f460427ff22667f60ad27043db7ecf8a4c33f5fdfe43d7de1fa9335e771a57f77f2a40d04dc89c2b4e65bb2f9c8153f148f672f3709b0fab6a80468f84975d84cb8565544ea314e2d28add8e4322f9338037e67077c929e9ba3bd68391ddf9b58a445db62ae30d45cc7d1ba70a05691c85398f2685549cd04d611905ff2abf846f99d40929e3fb72709404f8d88ae78d2f088367edac5333933ca8a721bfa6b31c9aabc2409c74d8c73c90b1bca52f61906e2ba20707724c2b0f4cf25805f9c2facf55c5eaa8c2945e4ff82a1ce924db8898ab98a15be36a512eee895b96bf638b538f6796cde94a97b440156acb35aa1a76054df3c76d784beba7494c517c7107d5f3b8592cccbf444b1997545a6482c2ef68c6dc63e32d144aada06133b0090810b4e1ef0344e81f2fcff21e729abb714132b78641dc959900526b6e527df65b9fca664edf5e55d131f02012617d0bb2173190f008530f8622070691cef3190b90f3c2148d9712dad5eaadf8f5f57fdb4b8aba12ad2a2af6b9112610c2b974bf3f8597e31545c3947daea74ca2e08327a9a6d9935d1ab65c69b51b47fcd36e43f99100623aabb6e81fc1386655dd7dc0913bd7e2c5e8d15b6e87769cd42942ee3d82ce95cba6d9c19caf5c07eaf2fa9acf770bbfa2c4489663d69c499da94ba364aa10edd5774c25e2f8aaae5c326b05c27d980d3dc897bb4555832797a32881d324e5f6eb178b4157ae4d68fd0ae72b3b9b88f21e37eaf19edc439d749fbc10b3fc40958ef6bb1a79b3a707267f9b3116b0060a06909aeec1cd4b7949277d993ddfeec8de626d269229643ffec8eeec77b799e64d285496fbeab42ac4f62ed61ecd5f5800055c6779ceddb442a2e7c3a601984b9f6a6f8a64cc9863fdd841cefa8d9a36d93bcbe890662aae4d8bb9b54e733e3401c34e8215438214765999cdb0313c482d99335683a349a107c45c03c10c052392b27b74a6c13018882072d7b09dd72a00aca0aee3f5d20ac392951aac1c74188be56ec04846a5d76953484a526b388445714aa294d7fde6f1cc0dea8602e21267f70f6f23e7a04c18782f262f44733c150cd32e82dc82f6355221920614539d2f6281939709b3512c872bda96d129a33c754277c1738f0948062262a0866c04ec822981ec9eca13b1a9c946d6afdb7ee563f304a8ddfa89221940ff5e3727ae71e83c9f3705fd751142fbd0df42c3c29532e12c9bd4f54c8ec64712a501cc17525e6c85e63bd0db9b96754084b1506ac6dd1b019a76e073d00193a84936bf793f3a61c174c6a3f3b8c7de810a01b9decb3b304d22a025c7268dad519929f487488fc41444c92b87e7090bd29a5dd2c6a67251a72f59304c47ef80921c9ccf1c9fc1767f6cded4d4fc603e84407979e3f97fcf9ee289b67f9cccfd60309c15bd05f8e250a034ae3a06117957395fa9f2c9bd04e277bacb66729ec8d9d97e430d9d82bbf32e407cbd7a8237953b5d61e15c0e973586a42110ad446cc1ef2575b977d0fcf171a64f011ca7bfd1086b92e0514e5712ad3c130919cb1c49f04fc0d761c3276b8c936ae87890648e8addd8719efbb7b49f19ab2daac2044cfc10de3a69c17da94620ea2452180188d669ff2f98222ef462c77e27ea3b7d7fa21acce1278cbd9ddbb76e03571673b8751500a62669ef2fff29ba18b489b3dace465d9a0b750d7e5299aae3169beca2e434ef3f22105e3c78c2233577068f4f094e8d34549c487ecb181bf7257e6be9eb08e1f7ed32a372d3dbc66972af3ed8878e92112f3d0a63ff309680ac66917cfe4a028105ab43cce598e5064c810f0f3a6268d885f1f045ec6183d745a8d87e93455de8962f597b9dcdf709cb0ae7b2cd5d2d665aa406cf354d9df39efde2a461f1655a56758ac20a81d4ddde71069bc5d6809d6203237b272bf0d270f42b4faa1733f6d1fda589d0597f5d73aed5b2c20ee379e2fe1a767420fa5f2f021d829a849264d7588be04b3a3dee22a9ccf4321697ea04594bb99b305d9c98315c358ab005455c46a9652f7b7e5803a87a34113c33331279686f5636098d85600\",\"c\":\"{\\\"type\\\":\\\"hsw\\\",\\\"req\\\":\\\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiJza2F2TTRjdGc4TlZpa2JWeTY5MnkxNE1nS2tsbWdCSk5lOTVTNEwxTkM1ekVQbmdTOTZUZDFNL0l2eWFUMHFxWkF4eTc4YkUxb09RT1JVZHdBWnkrc2xBYmt1dGdhYm1IbmVmTlgwU0N0M0NhRnQwa2Yzc2xhYlBzMmk5Nm5OOEwrNGxUc2E1S1pjK2pTTHd2QW82QTFxUmFPTUExdzZkWnd5ajNETkRvNTRRbnE4emdzeEV4ditvNlE9PVJUa1BpUzMvQWorT2pvaVUiLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvZDMyYzM0MGEiLCJlIjoxNjQ0ODE2ODE1fQ.N3XJ7ZW2voeue9jP7WA1H7iLQGex7JpjyFoLfVImCxE\\\"}\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "omit"
});

REQUEST MADE BY puppeteer-hcaptcha:

/checkcaptcha/E0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoiT3FONmR4OVIreUxScjM3YjFEN211Vi9XUFJnR3hQVmZTelN4YTNIZkQ1NGt6WExsVTNDWkRHK2g1ekE3THhhMzFKTHJBc2lIRWx2VUZZeHVxL3pCKzF3MExlWlpPbWkxMTQ2WDZZSndXNkFVWE5WQkRLUEg1ZExoYW1ET2M2azZVNWdBMWdrbytCNGxPTk9FS3RLK2laUEJKSjJSRmVvRnFYdFphbllNeXFDM0VLbnQ3em02aWUvZ2ZuNVkzVWdVNmw0NlVaNjRlMXgxWHpMdEFFdTI0Y01yYWJNU1dZT1hNekRjM2hINk9aVjNuMjhkc2ZPU2w4blZWK2NValY2S3BzR1dwQT09QmQ3YkFKSy93VmM5RmVVdiJ9.6FM_tnvp5cM7RCzu3X3D2CHO6WZMyCc3ojNIcJ_wk1Q?s=86194cdd-0462-4873-8866-05a00840a83a

{"job_mode":"image_label_binary","answers":{"1ebc0996-25f2-4122-8b16-bb07b1db16a5":"false","fbca0826-20c6-43a4-810c-b8a0b35c6d9c":"false","5b72e87a-d65e-40a1-8b0e-40b54888d719":"false","c8779eec-dc4c-4bee-912c-bb4a585a2bce":"false","37cb70f2-8120-46e0-9cc9-7309aef2b3ec":"false","3bb594b8-bd77-4cb6-bb5f-f5d199f0dec9":"false","fcfe272d-bd81-488a-a49f-b906643610ec":"false","ad8c61d9-5a43-4899-a623-1a96624f8ed1":"false","be587155-fcbb-4f47-b8b4-8c636d2a9126":"false"},"serverdomain":"www.epicgames.com","sitekey":"86194cdd-0462-4873-8866-05a00840a83a","motionData":"{\\"st\\":1644978008857,\\"dct\\":1644978008857}","n":"d2d2de2d655c707a87676fa2800c7e664dcbf7d11af8fb201b064481ab970abf5fa22ed3198de0a08fdea24fe84c762cf534b730b4a5df549044a7379bfc60c05b5f62c89cbeb8353dca2b1f4aea16ff228cf39b7523dd746cdc3d51a43d30a8751131b1cdc83dde98a71e3f2f926fee4e285686ff6bd0c5871aa306d740a94ba473acb531009382e57d87e4d44f8093178e0c0cda0584078a609f3a639d60fcd4a3ad38eb8c26e690323f004e312840816e863426b4a63e4006674a3a67fe497a959a9f9002eea1783d8e5b9b8bd43cea29daad4f4cac26fe422ea95e851ec3aa03c6570b5a73f2a8548fd164b05ff50b244d35ac9a3592c2339f30f2dfed9528a692f8f7cb80eaf99c663d54137c2ed594881c1ca389f5d30667968913b431fb82e837babe1d8f6fb21b01742f500006fcde446de98d7bf3471c4c6fdcb03dfc0eba85a76a03e623644209f55b09812bd5d6af047f7198e01a3e8c7682bdb8ddc7b7c6b661fbedff447fd7f986a742a89eb41d91152e1d95e2502389793d77f497935a2c1a01bd73e35e3993aec050246a7284728a25118ae0340f45ef509cdca90b140b90a150a0139046a27fd01ab2835f302474a23fc77d30a8fe743c7e9d88f4a208704bfd5919ff9e083b1fd34fb43725bce88c3ea8a831423dafbbe9612a1f7370a3c0e33c23bd2ccc125fae3f41784e8d01b6cee2dfac0c9da106a58ddc4387fa9c68d3ec292dcc6cd81d536bf0ae1c09245ebba7baefbcad98de3557382a705aa49b2fe374a452dba7e730a3f9fe7b66fe9729f4a9c2cddb1731d7188edf7a338a77338546054c40f866f1cba522dd6197b0a6b65797e6e0657551918c9e49a316b6c648f3cb6bba58db21fcd39f474896fb5f7a0de48bbd171780c6f120027a82ef9eb5e8dd0efbd3d4e46533880c1c217834a0f9b38d49706285ce408f8bb8ec60de00e1088822e0c0a89a0bda3b0dc5d48bbad5def1729e3e8e7eba68fb9feb6739dd49142eff69240d657149942e6e6b7536b8a61fce19ba6323ec86db7925d784b1ddd792129ae3220cbbeccc541bf188f89716b0aac1d6b20a07daf4d8222f80ca2b459a77f09e510b81fbd15616f414caddeebb60065b81fd955d7e0222fdbff046265266ee261843a138557acd735486421c791e840300a145864890f258295df0301aac2faecb264f7e77ee934b82b9e22290605238a5ffc84b94dc31f3a8a5df4f8dc8c3ab6643683173cd19c6e12df8111ff7924f60f2d6ba9d2ef6f1e33488773615ba28742df54872e10ad365040717ad12e0e3c9b3fcd5fcdbaf88c8ebdb81709f40445f2d2191b824e16ee0358d5c4bc45575703fd5b95486e2c409aabd02837f957d824ed501142628ec4429474d9ba775b183487b661cd73c2b6782c5799172ec503facd6dd71cf8b91c3993e8a51fc1c3caafe6f6c63da3ce816ceafcde252f47a95c62f0800c5a85697b1e8ffb7f1bc312366d5d726046864c3221a36025490600e242e9111933a6ab2e5145356fbcd98f21cd6216166e71e359e4b09c5da7b785942b9b8a1d46a4f78ff8ac2e1d7e09a86646d50e0d79aad82a988e7c9b64a105910e880638a94971b89e51ee8ad059a5b884dff4b9e80c6002e07369d8c9aad4e4464ac0df99a6f844f7f1075be5ef9f07d91f05c7492490606e7dab6cdc6d004a410154b7fde375c8eba59fc4c27726b37300a9220d74e70871687d6aef5a7d469972767e874916d0faea000c39dcc71fc206971bd6964793e914239106290deccc28460a0634509e6dae4a1432a7323a4882c4f0316123962adb84d0d89ac907833d598803d88d6c70208ddf7fe6b4c841cde202dd156dc06e19f0e9caaf5f64452b6df10e779b5acbce9025b16f211a1735e4da345e80e46c2187638d26bec960b76802a531f36f69136a39de74c4ddce87d6e16765eff2471db7cd018612e3e6bf73b227acecb6a98484f83b793f0ff68afb53c482bfb5d3a073c2b8ca673a944b0e1955fcc6eba79b578a43ab9bc85a87cb2d4a3658b24e62fd3d9d9edcd2bbee86a9ff4ddcdc20ce79f9ab560dbf47dd9d3d92fba1ea785305c5ddc0e93861da2e4f3946a8515ea461c5005260dd3049445d1cfe23cee8be738167c749e5da4fa7f4179831c31348e4eecc83ef4dc2e2b2275b5f55be5effb8a9f0e1c5962b68605b6c12f6d0e072f0783a8ea4b7ef6367d73c31027116fb53b085689cada852831b3d30fd3749000","v":"de698803","c":"{\\"type\\":\\"hsw\\",\\"req\\":\\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzIjoyLCJ0IjoidyIsImQiOiIrWWtxNVNrZDZ1WUlwTU1pYmRJQ3ppTDVhOGdTNmF1U2Z1cXhpQTdLekpORUVZMUxIYkF5VHlMM1o0S21BMTFNRHZvWDI5U2lMK05IQnVqOXltNXJHTFZXUlk0SnM1bEx1WDBwbEtCSXM0Y2g0Z2lsemx4a2dxOFJycWVhOENvMER0c3g4dnFydURjRTFFUUExanQ0R25zREEvenpyRkI1eExUKzBxTU1IZjl6MlZlQnVnZFhTWC9wb3c9PVNwWHJjTm9FQTNCSEkvNWQiLCJsIjoiaHR0cHM6Ly9uZXdhc3NldHMuaGNhcHRjaGEuY29tL2MvZGU2OTg4MDMiLCJlIjoxNjQ0OTc4MjUzfQ.4Xuw650gmrBEd5GSgZgEhDK3g3aeC3tMcm8InOdJHZI\\"}"}


@Revadike
Copy link
Contributor

Maybe v=f6912ef is like a custom version for epicgames, that should be included in the requests?

@aw1875
Copy link
Owner

aw1875 commented Feb 16, 2022

The version is dynamically generated based on the page the captcha is on (it takes the version script directly from the page). The code isn't designed to work on any specific sites (i.e. Discord, EpicGames) but it can definitely be modified to do so if you'd like. I've seen people make the appropriate modifications for Discord already so I know it is possible but I personally will not be modifying any code for these purposes.

@Revadike
Copy link
Contributor

What could be different?
Can you give me a push in the right direction?

@aw1875
Copy link
Owner

aw1875 commented Feb 16, 2022

I wish I could be more helpful but I've never taken a look at how EpicGames processes or handles hCaptcha requests so I'm not entirely sure what the right direction would be. My suggestion would be attempting to break down how these things with solving an hCaptcha request on EpicGames and then working backwards to modify the code appropriately.

@Revadike
Copy link
Contributor

image

Hmm, this could be the problem

@Revadike
Copy link
Contributor

image
image
🤔

@aw1875
Copy link
Owner

aw1875 commented Feb 16, 2022

By the looks of it, the image quality is probably too low and TF image recognition is having issues.

@Revadike
Copy link
Contributor

I doubt that would be an epicgames specific issue? Should I try gathering some samples?

@Revadike
Copy link
Contributor

Revadike commented Feb 16, 2022

Hmmm, sometimes I get this
image

And it still has all answers as false. I don't see how that's possible?

@Revadike
Copy link
Contributor

I'm starting to think i may be logging it wrong or something?

@Revadike
Copy link
Contributor

I think I may actually start going crazy
wtf is going on

image

@aw1875
Copy link
Owner

aw1875 commented Feb 18, 2022

image
Super weird, I just tried that out and don't have any issues.

@Revadike
Copy link
Contributor

Revadike commented Feb 18, 2022

Seems hcaptcha is doing this on purpose, it uses the omicron character

@Revadike
Copy link
Contributor

image
crazy

@Revadike
Copy link
Contributor

this explains why everything is "false"...

@aw1875
Copy link
Owner

aw1875 commented Feb 18, 2022

image crazy

Very interesting, I've never seen that before. Is that only on epicgames?

@Revadike
Copy link
Contributor

image crazy

Very interesting, I've never seen that before. Is that only on epicgames?

not sure, I haven't tested elsewhere, but I can imagine hcaptcha doing this for any user suspected of automation

@Revadike
Copy link
Contributor

I can't find a good solution for this, other than to manually make a map for all the special characters hcaptcha uses.

@Revadike
Copy link
Contributor

Maybe do this https://onlineunicodetools.com/spoof-unicode-text but in reverse

@aw1875
Copy link
Owner

aw1875 commented Feb 18, 2022

I'm assuming this is only epicgames as I've done thousands of tests on other sites and have never once seen this issue but I could be wrong.

@Revadike
Copy link
Contributor

@aw1875
Copy link
Owner

aw1875 commented Feb 18, 2022

I'm currently studying for midterms so I won't be making any changes to the code for at least a few days but this is definitely very useful so I appreciate everything you're doing.

@Revadike
Copy link
Contributor

apparently they are called homoglyphs
now I can find tons of recourses about them

@Revadike
Copy link
Contributor

So, back to epicgames again. I found that they submit a custom rqdata value in the getcaptcha request. This may be it! 🤞

@aw1875
Copy link
Owner

aw1875 commented Feb 18, 2022

So, back to epicgames again. I found that they submit a custom rqdata value in the getcaptcha request. This may be it! 🤞

Since this package is a general solver I don't intend on making any changes to the package to work specifically for sites like epicgames but I'm definitely interested in hearing what you find out about solving their captchas as it may be applicable to other personal projects!

@Revadike
Copy link
Contributor

Yes, I know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants