Open Revadike opened 2 years ago
So, here is where I'm at, and I could use some help:
fnbr
auth & old purchase flow from epicgames-client
).puppeteer-hcaptcha
is a wonderful package solving hcaptcha using machine learning, but unreliable.kid
, ewa
, xal
and h_captcha.value
are unknown to me.xal
. The rest I figured out where to get the values, or they appear static. They're really trying to make it hard to auto claim, aren't they.
They're really trying to make it hard to auto claim, aren't they.
Well, yeah, that's their intention with the captcha.
Good and bad news:
xal
is encoded fingerprint data, which I tested, can be re-used. So, everything should be correct now.Be careful, if anyone wants to test this, I just noticed that my test accounts got inactive, and I can no longer login. :/
I'm not in any way good at this stuff but... Is there a way to force hcaptcha to appear ? My idea is to launch a browser (that comes with your repo, Chromium or else) via your script and direct it to a captcha from Epic where the user will manually solve it, and from there hope that Epic will now see the running program as a valid user, at least for a while. If possible or necessary you can save the key/fingerprint when the captcha has been detected as solved on your end.
I'm not in any way good at this stuff but... Is there a way to force hcaptcha to appear ? My idea is to launch a browser (that comes with your repo, Chromium or else) via your script and direct it to a captcha from Epic where the user will manually solve it, and from there hope that Epic will now see the running program as a valid user, at least for a while. If possible or necessary you can save the key/fingerprint when the captcha has been detected as solved on your end.
yes, that's how other projects are doing it already. I don't see the point of copying these projects.
Are you passing through the browser to claim or did you use an http proxy to get the requests done by the windows application?
I'm not emulating a browser
i have an idea. hcaptcha has someting called an accessbility mode. by signing up you can claim a cookie that will automaticly pass any hcaptcha challanges. try write a script automaticly claiming an hcaptcha cookie and see if it works.
hCaptcha accessbility mode
This cookie is sent to the user via email and the token is valid for less than 24h.
Also solving hcaptcha challenge is only part of the problem. It's creating the encrypted custom response, that's the hard part.
https://www.scraperapi.com/ Could may be of use in this case
https://www.scraperapi.com/ Could may be of use in this case
It's not cheap. The free credits only available for 7 days.
there might be something in the bing rewards automation project on github just a suggestion but its coded in python and it pretty much gets through all the shit on bing.
I'm not in any way good at this stuff but... Is there a way to force hcaptcha to appear ? My idea is to launch a browser (that comes with your repo, Chromium or else) via your script and direct it to a captcha from Epic where the user will manually solve it, and from there hope that Epic will now see the running program as a valid user, at least for a while. If possible or necessary you can save the key/fingerprint when the captcha has been detected as solved on your end.
yes, that's how other projects are doing it already. I don't see the point of copying these projects.
Could you point us in the direction of those other projects? I don't mind at all manually solving a captcha, and especially if they use browser emulation I'd be a lot less worried about getting banned. I did a pretty good googling but only this project seems to come up!
Thanks for your work on this!
EDIT: Used Github search instead and had better luck! Looks like these other projects exist: https://github.com/claabs/epicgames-freegames-node https://github.com/QIN2DIM/epic-awesome-gamer
Still interested to hear if there are others though.
try using https://github.com/ultrafunkamsterdam/undetected-chromedriver and https://www.hcaptcha.com/accessibility cookie for blind people aka bypassing hcaptcha
hcaptcha accessbility is working on my browser(with rate limit.) Also register for hcaptcha accessbility requires email from well-known mail provider and good ip address.
Good and bad news:
- Good news: After loads of digging around and researching, I figured out all the CAPTCHA response values.
xal
is encoded fingerprint data, which I tested, can be re-used. So, everything should be correct now.- Bad news: I am still getting http error 400, and after some testing, I found the culprit: the captcha solution. I found it by setting a breakpoint on the website, and replacing a single value (the hcaptcha solution) with a solution I generated via a paid service with the correct hcaptcha sitekey and domain. Even though, it should be a valid hcaptcha solution, EpicGames still rejects it. My speculation is that there are some extra checks for the hcaptcha solution, but idk really.
I'm even get reject everytime with correct hcaptcha under my firefox browser.I'm also exeperience intermediate rejecting when claming from heroic games launcher.So maybe it's not captcha's issue,but rather Epic's.
Good and bad news:
- Good news: After loads of digging around and researching, I figured out all the CAPTCHA response values.
xal
is encoded fingerprint data, which I tested, can be re-used. So, everything should be correct now.- Bad news: I am still getting http error 400, and after some testing, I found the culprit: the captcha solution. I found it by setting a breakpoint on the website, and replacing a single value (the hcaptcha solution) with a solution I generated via a paid service with the correct hcaptcha sitekey and domain. Even though, it should be a valid hcaptcha solution, EpicGames still rejects it. My speculation is that there are some extra checks for the hcaptcha solution, but idk really.
I'm even get reject everytime with correct hcaptcha under my firefox browser.I'm also exeperience intermediate rejecting when claming from heroic games launcher.So maybe it's not captcha's issue,but rather Epic's.
It maybe have something to do with the so called "Talon Services" Check https://github.com/QIN2DIM/epic-awesome-gamer/issues/132 @Revadike How do you gonna fight it?
I have no plans currently. Even if I succeed, it will probably become a cat & mouse game. Besides, they already banned my account once for debugging their system, I'm not keen on redoing that again. You're probably better off simulating the whole web browser + user interaction, which other projects are already doing.
which other projects are already doing
There are quite a few out there. Care to name one that's supposed to be working?
which other projects are already doing
There are quite a few out there. Care to name one that's supposed to be working?
https://github.com/claabs/epicgames-freegames-node looks solid
@Revadike added a PR, #206 , to mention that project as well as the project I'm using personally to the README. Obviously make any changes you like (not sure if you even want to promote other projects) but also thought it was better to "shut up and make a PR" rather than make the suggestion as a comment.
which other projects are already doing
There are quite a few out there. Care to name one that's supposed to be working?
https://github.com/claabs/epicgames-freegames-node looks solid
It's much more complicated to set up than your project. Are you planning to make an adaptation to your project?
which other projects are already doing
There are quite a few out there. Care to name one that's supposed to be working?
https://github.com/claabs/epicgames-freegames-node looks solid
It's much more complicated to set up than your project. Are you planning to make an adaptation to your project?
And it doesn't work, just gives as error this image
which other projects are already doing
There are quite a few out there. Care to name one that's supposed to be working?
https://github.com/claabs/epicgames-freegames-node looks solid å
Checklist:
- [x] Merge work from https://github.com/Revadike/epicgames-freebies-claimer/tree/fnbrjs
- [x] Ditch
epicgames-client
dependency- [x] Ditch DeviceAuthGenerator usage (Enable authentication on Linux #181)
- [x] Implement
fnbr
fully (Accept EULA #99)- [x] Code a purchase function
- [ ] Add support for anti-captcha solutions (Failed to claim (Error: You need to solve CAPTCHA!) #61 Purchase is not completed #172)
- [x] Auto update (Auto-update #160)
Have you tried using this https://github.com/berstend/puppeteer-extra
See project above
Voir le projet ci-dessus
Do you plan to adapt it for your project?
Hello there, i am no coder, I know nothing but still want to contribute. I don't know whether you know it or not but, if you are still struggling with captcha, the epic games do not ask captcha when we claim game from its launcher, more over it will be nice if you could do like claim games in epic for multiple accounts.
for changing accounts it could be of some help https://github.com/TcNobo/TcNo-Acc-Switcher
hcaptcha says:
yet, epicgames says:
😭😭😭
hcaptcha says:
yet, epicgames says:
😭😭😭
Totally normal.I have encoutered this when using heroic games launcher,for me just try 2-3 times and it will pass(WF4M).
hcaptcha says:
yet, epicgames says:
😭😭😭
Show me ur xal, il try to help.
Show me ur xal, il try to help.
add me on discord if u wanna chat: Revadike#3529
Show me ur xal, il try to help.
add me on discord if u wanna chat: Revadike#3529
can't find u :(
Show me ur xal, il try to help.
add me on discord if u wanna chat: Revadike#3529
can't find u :(
It's definitely correct. Add me as friend.
Try vinyzu/botright, i can even help you solve the captcha with that if you want
btw, i recently got cloudflare's captcha instead of hcaptcha
Checklist:
epicgames-client
dependencyfnbr
fully (#99)