Revadike / epicgames-freebies-claimer

Claim available free game promotions from the Epic Games Store.
MIT License
2.23k stars 361 forks source link

V2.0.0 #184

Open Revadike opened 2 years ago

Revadike commented 2 years ago

Checklist:

Revadike commented 2 years ago

So, here is where I'm at, and I could use some help:

mix3d commented 2 years ago

They're really trying to make it hard to auto claim, aren't they.

Revadike commented 2 years ago

They're really trying to make it hard to auto claim, aren't they.

Well, yeah, that's their intention with the captcha.

Revadike commented 2 years ago

Good and bad news:

Revadike commented 2 years ago

Be careful, if anyone wants to test this, I just noticed that my test accounts got inactive, and I can no longer login. :/

TovMachin commented 2 years ago

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.

Revadike commented 2 years ago

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.

theol-git commented 2 years ago

Are you passing through the browser to claim or did you use an http proxy to get the requests done by the windows application?

Revadike commented 2 years ago

I'm not emulating a browser

PencilNavigator commented 2 years ago

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.

QIN2DIM commented 2 years ago

hCaptcha accessbility mode

This cookie is sent to the user via email and the token is valid for less than 24h.

Revadike commented 2 years ago

Also solving hcaptcha challenge is only part of the problem. It's creating the encrypted custom response, that's the hard part.

DoganM95 commented 2 years ago

https://www.scraperapi.com/ Could may be of use in this case

eebssk1 commented 2 years ago

https://www.scraperapi.com/ Could may be of use in this case

It's not cheap. The free credits only available for 7 days.

kokoronikurai commented 2 years ago

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.

okiyama commented 2 years ago

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.

Yolomic commented 1 year ago

try using https://github.com/ultrafunkamsterdam/undetected-chromedriver and https://www.hcaptcha.com/accessibility cookie for blind people aka bypassing hcaptcha

eebssk1 commented 1 year ago

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.

eebssk1 commented 1 year ago

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.

eebssk1 commented 1 year ago

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?

Revadike commented 1 year ago

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.

laur89 commented 1 year ago

which other projects are already doing

There are quite a few out there. Care to name one that's supposed to be working?

Revadike commented 1 year ago

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

okiyama commented 1 year ago

@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.

Kiriox94 commented 1 year ago

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?

PerchunPak commented 1 year ago

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 hello

annurdien commented 1 year ago

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:

Have you tried using this https://github.com/berstend/puppeteer-extra

Revadike commented 1 year ago

See project above

Kiriox94 commented 1 year ago

Voir le projet ci-dessus

Do you plan to adapt it for your project?

Evil-0-King commented 1 year ago

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

Revadike commented 1 year ago

hcaptcha says: image

yet, epicgames says: image

😭😭😭

eebssk1 commented 1 year ago

hcaptcha says: image

yet, epicgames says: image

😭😭😭

Totally normal.I have encoutered this when using heroic games launcher,for me just try 2-3 times and it will pass(WF4M).

ghost commented 1 year ago

hcaptcha says: image

yet, epicgames says: image

😭😭😭

Show me ur xal, il try to help.

Revadike commented 1 year ago

Show me ur xal, il try to help.

add me on discord if u wanna chat: Revadike#3529

ghost commented 1 year ago

Show me ur xal, il try to help.

add me on discord if u wanna chat: Revadike#3529

can't find u :(

Revadike commented 1 year ago

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.

BlueSchnabeltier commented 1 year ago

Try vinyzu/botright, i can even help you solve the captcha with that if you want

PerchunPak commented 1 year ago

btw, i recently got cloudflare's captcha instead of hcaptcha