cfsolve 0.1.4-x86_64-linux-gnu → 0.1.5-x86_64-linux-gnu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +26 -6
- data/UPSTREAM.md +23 -8
- data/lib/cfsolve/cfsolve-engine +0 -0
- data/lib/cfsolve/profiles/safari-26-ios/answers.json +805 -797
- data/lib/cfsolve/profiles/safari-26-ios/challenge-page-answers.json +909 -899
- data/lib/cfsolve/version.rb +2 -2
- data/lib/cfsolve.rb +22 -11
- metadata +1 -3
- data/lib/cfsolve/profiles/chrome-157-macos/answers.json +0 -4777
- data/lib/cfsolve/profiles/chrome-157-macos.json +0 -613
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc6961f632fee0a0ce895928487e7d24399d884127fac688eab70f3e9b2478cb
|
|
4
|
+
data.tar.gz: 152c545fab7ab68d2dfc0d8bcaba0660d2663831e827df763dd73b55987129d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54a3f259815ecbd9069006cbf2987a78b125c43482ee9f3cde391aa48fd8019e975aeba50667eef223050ee3d3902ddf188e72775fd96a1849350f4968495989
|
|
7
|
+
data.tar.gz: 6135e0cf26a9fd02fc26c840a9fa6b403968cdadaceaff6891be1621236d76e37026b3d1d1bb4c2b1904b64ef2c64733debbaff99207a007501593a1b792b2c0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.5
|
|
4
|
+
|
|
5
|
+
Rebase the native engine onto upstream `19efa31`, restoring Hellenic
|
|
6
|
+
Turnstile compatibility after the November 14 recurrence. Upstream replaces the
|
|
7
|
+
fork's VM and encoded-string patches and refreshes the probe reference data.
|
|
8
|
+
Correct an upstream module path so the engine builds without optional debugging
|
|
9
|
+
and capture tools.
|
|
10
|
+
|
|
11
|
+
Use upstream's refreshed Safari 26 profile by default. Remove the former Chrome
|
|
12
|
+
157 profile, whose stored answers use the previous reference format. Custom
|
|
13
|
+
profiles must be recaptured or replaced with the default. The Ruby API, execution
|
|
14
|
+
deadlines and supported release platforms are unchanged.
|
|
15
|
+
|
|
16
|
+
Retry unsupported challenge variants with a fresh native process, up to three
|
|
17
|
+
attempts within the original deadline. A long live run found one intermittent
|
|
18
|
+
incomplete probe chain; repeated fresh challenges then succeeded. Other errors
|
|
19
|
+
are not retried, and persistent unsupported challenges still raise after three
|
|
20
|
+
attempts.
|
|
21
|
+
|
|
22
|
+
Verify the installed executable and profile on every release platform. Keep
|
|
23
|
+
GitHub's network-dependent live checks separate and require live validation of
|
|
24
|
+
the exact Linux artifact from the deployment network before publishing. During
|
|
25
|
+
this release, GitHub returned Cloudflare `600010` while the same Linux package
|
|
26
|
+
passed repeated fresh production sign-ins, refreshes, inventory and availability.
|
|
27
|
+
|
|
3
28
|
## 0.1.4
|
|
4
29
|
|
|
5
30
|
Update the native engine to the merged, audited `ollym/cfsolve` revision
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# cfsolve
|
|
2
2
|
|
|
3
3
|
Ruby bindings for [cfsolve](https://github.com/chris124567/cfsolve), using the
|
|
4
|
-
|
|
4
|
+
upstream engine and its bundled browser profile.
|
|
5
5
|
|
|
6
6
|
```ruby
|
|
7
7
|
gem "cfsolve"
|
|
@@ -25,9 +25,10 @@ sitekey, it uses the page's first Turnstile container. `clear` and `solve` accep
|
|
|
25
25
|
`proxy` and `timeout`; `solve` returns a hash with type `token` or `clearance`.
|
|
26
26
|
Proxies may use HTTP, HTTPS, SOCKS5, or SOCKS5H.
|
|
27
27
|
|
|
28
|
-
The
|
|
29
|
-
Heritage's Turnstile challenge. The
|
|
30
|
-
|
|
28
|
+
The refreshed upstream Safari 26 profile is bundled as the default and verified
|
|
29
|
+
against Hellenic Heritage's Turnstile challenge. The former Chrome 157 profile
|
|
30
|
+
has been removed because its answers use the previous engine's reference format.
|
|
31
|
+
To use a custom profile,
|
|
31
32
|
pass `profile: "/path/to/browser.json"`. Profiles contain browser measurements,
|
|
32
33
|
not site login credentials. A profile file may reference answer files relative
|
|
33
34
|
to its directory. Applications can instead pass parsed hashes through
|
|
@@ -46,8 +47,10 @@ connections, and deadlines. A frozen Browser can be reused across threads.
|
|
|
46
47
|
|
|
47
48
|
Failures raise `Cfsolve::ConfigurationError`, `NetworkError`, `RejectedError`,
|
|
48
49
|
`UnsupportedError`, `TimeoutError`, or the base `Error`. Error messages omit raw
|
|
49
|
-
responses and request credentials.
|
|
50
|
-
|
|
50
|
+
responses and request credentials. Unsupported challenges get up to three fresh
|
|
51
|
+
attempts within the original deadline; other errors are returned immediately.
|
|
52
|
+
Tokens are never cached. Applications should obtain a fresh token for each form
|
|
53
|
+
submission.
|
|
51
54
|
|
|
52
55
|
## Installation and development
|
|
53
56
|
|
|
@@ -66,6 +69,23 @@ are macOS arm64/x86_64 and Linux GNU aarch64/x86_64. macOS builds require macOS
|
|
|
66
69
|
15.5 or newer; Linux builds require glibc 2.35 or newer. Windows and musl platforms
|
|
67
70
|
are currently unsupported.
|
|
68
71
|
|
|
72
|
+
## Releasing
|
|
73
|
+
|
|
74
|
+
`Build gems` compiles, tests, packages, and verifies each installed platform gem.
|
|
75
|
+
Before dispatching `Publish gem`, download its exact Linux artifact and verify
|
|
76
|
+
fresh challenge solves and the consuming application's authentication flow from
|
|
77
|
+
the deployment network. Do not publish based on build success alone.
|
|
78
|
+
|
|
79
|
+
`Hellenic live checks` runs the same packaged-gem live test from GitHub runners.
|
|
80
|
+
Keep it separate from packaging: Cloudflare can reject a runner with `600010`
|
|
81
|
+
while the identical executable succeeds from the deployment network. A rejection
|
|
82
|
+
is still a failed live check, not a successful solve. `test/live_smoke.rb` accepts
|
|
83
|
+
`CFSOLVE_SMOKE_PROXY` for comparisons through another authorized network.
|
|
84
|
+
|
|
85
|
+
The publish workflow only accepts packages from a successful build of its exact
|
|
86
|
+
commit. The operator dispatching it must first complete the deployment-network
|
|
87
|
+
checks above; credentials and solved tokens must never enter release logs.
|
|
88
|
+
|
|
69
89
|
Use the solver only with sites and accounts you are authorized to access.
|
|
70
90
|
See [UPSTREAM.md](UPSTREAM.md) for provenance and the vendored engine's README
|
|
71
91
|
for profile capture tooling. The MIT license and third-party notices accompany
|
data/UPSTREAM.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
The Rust engine is vendored from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
The Rust engine is vendored from the private
|
|
2
|
+
[ollym/cfsolve](https://github.com/ollym/cfsolve) fork at commit
|
|
3
|
+
`82b19a39f8366b02c9eaf54b1c09ce97870ba981`, rebased onto
|
|
4
|
+
[chris124567/cfsolve](https://github.com/chris124567/cfsolve) master
|
|
5
|
+
`19efa31656328528457376ae0895a61164b22da0`. Upstream now supplies the VM, string
|
|
6
|
+
decoder and parent-page handling previously carried in the private fork, with
|
|
7
|
+
refreshed reference data and browser answers.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
The only engine change from upstream is a module-qualified deobfuscator call in
|
|
10
|
+
`src/stage2/benchmark.rs`, fixing compilation without optional tools. The fork
|
|
11
|
+
also retains a Hellenic smoke example and CI checks. The former engine patches
|
|
12
|
+
and Chrome profile have been removed.
|
|
13
|
+
|
|
14
|
+
`vendor/cfsolve` is an unmodified archive of the fork revision. Its three patched
|
|
8
15
|
dependencies and release optimization profile are applied by the extension's
|
|
9
16
|
top-level Cargo manifest. The Ruby adapter is in `lib/` and
|
|
10
17
|
`ext/cfsolve/src/main.rs`.
|
|
@@ -15,5 +22,13 @@ its `profiles/` directory to `lib/cfsolve/profiles/`, update the revision in
|
|
|
15
22
|
notices if dependencies changed. Run the Ruby tests and fresh challenge checks
|
|
16
23
|
before releasing.
|
|
17
24
|
|
|
18
|
-
The
|
|
19
|
-
|
|
25
|
+
The Ruby wrapper makes up to three fresh attempts when upstream reports an
|
|
26
|
+
unsupported challenge. All attempts share the caller's original deadline, and
|
|
27
|
+
other errors are returned immediately. This handles an intermittent incomplete
|
|
28
|
+
probe chain seen during validation without relaxing the engine's parser checks.
|
|
29
|
+
|
|
30
|
+
The refreshed upstream Safari 26 profile is the default for this release. The
|
|
31
|
+
former Chrome 157 profile used the fork's older reference format and is no longer
|
|
32
|
+
bundled. Applications should use the default or recapture their custom profile
|
|
33
|
+
against this engine. The source gem contains the complete vendored engine and
|
|
34
|
+
does not require access to GitHub when building.
|
data/lib/cfsolve/cfsolve-engine
CHANGED
|
Binary file
|