-
Notifications
You must be signed in to change notification settings - Fork 39
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
Comments
Same error here |
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. |
Hi @aw1875, Is there any chance to make it work with Discord hCaptcha? I can help in developing the functionality, if you need. |
@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 |
I'll be closing this issue due to inactivity but feel free to reopen it if theres anything that you need to add. |
I may have stumbled across the same issue, but for epicgames.com. It also has |
Not sure if related, but perhaps comparing this may help? One thing I noticed is that the 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
|
Maybe |
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. |
What could be different? |
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. |
By the looks of it, the image quality is probably too low and TF image recognition is having issues. |
I doubt that would be an epicgames specific issue? Should I try gathering some samples? |
I'm starting to think i may be logging it wrong or something? |
Seems hcaptcha is doing this on purpose, it uses the omicron character |
this explains why everything is "false"... |
I can't find a good solution for this, other than to manually make a map for all the special characters hcaptcha uses. |
Maybe do this https://onlineunicodetools.com/spoof-unicode-text but in reverse |
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. |
We can use the following map |
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. |
apparently they are called |
So, back to epicgames again. I found that they submit a custom |
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! |
Yes, I know |
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"}
The text was updated successfully, but these errors were encountered: