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

Rewrite JsChallenge from scratch to be more resilient to changes #29

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ngosang
Copy link
Contributor

@ngosang ngosang commented May 2, 2020

  • Resolve new challenge 2020/05/02
  • Added Jint as Javascript interpreter
  • Removed all JsFuck code
  • Added unit test and example Cloudflare HTML code
  • Bump version to 1.0.7

Package here => https://www.nuget.org/packages/CloudflareSolverReNgosang/1.0.7

Update: 2020/05/12 v1.0.7.1 with retries in "I'm Under Attack Mode"
Package: https://www.nuget.org/packages/CloudflareSolverReNgosang/1.0.7.1

Update: 2020/05/15 v1.0.7.2 fix new challenge
Package: https://www.nuget.org/packages/CloudflareSolverReNgosang/1.0.7.2

Update: 2020/05/26 v1.0.7.3 fix new challenge
Package: https://www.nuget.org/packages/CloudflareSolverReNgosang/1.0.7.3

* Resolve new challenge 2020/05/02
* Added Jint as Javascript interpreter
* Removed all JsFuck code
* Added unit test and example Cloudflare HTML code
* Bump version to 1.0.7
@euangordon
Copy link

euangordon commented May 5, 2020

Working with updated CloudFlare here again. For reference, the page I am scraping is:
Chile Navarea Warnings

@uponatime2019
Copy link
Contributor

uponatime2019 commented May 15, 2020

CloudFlare just update again, can you fix it?
I just change your Regex to this and it match, but sometimes it's not working
private static readonly Regex JsChallengeRegex = new Regex(@"setTimeout\s*\([^{]*{(?<js_code>.+\.submit\s*\(\s*\)\s*;)\s*}\s*,\s*(?<delay>\d+)\s*\).*?<form.+?action=""(?<action>\S+?)"".*?>.*?name=""r"" value=""(?<r>\S+)"".*?value=""(?<jschl_vc>[a-z0-9]{32})"".*?name=""jschl_vc"".*?name=""pass"" value=""(?<pass>\S+?)"".*?</form>.*?id=""[^>]+>(?<cf_dn>.*?)</div>",

@ngosang
Copy link
Contributor Author

ngosang commented May 15, 2020

Update: 2020/05/15 v1.0.7.2 fix new challenge

@euangordon
Copy link

@ngosang
Copy link
Contributor Author

ngosang commented May 16, 2020

@openbullet ping

@openbullet
Copy link

@ngosang I will merge to my branch today, thanks

@ngosang
Copy link
Contributor Author

ngosang commented May 26, 2020

Update: 2020/05/26 v1.0.7.3 fix new challenge

@euangordon
Copy link

@ngosang Working great here again! Many thanks.

@ngosang
Copy link
Contributor Author

ngosang commented Jun 4, 2020

Not working since 2020/06/03 => More info Jackett/Jackett#8840 (comment)

@ngosang
Copy link
Contributor Author

ngosang commented Jun 21, 2020

I'm going to let this as reference but I'm not going to update this project anymore.
If someone is looking for an alternative take a look at Jackett/Jackett#9029

Repository owner deleted a comment from Renyu106 Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants