cfsolve 0.1.1 → 0.1.3

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.
Files changed (404) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +10 -9
  4. data/THIRD_PARTY_LICENSES/README.md +71 -254
  5. data/THIRD_PARTY_LICENSES/{derive_builder_macro-0.20.2/LICENSE-APACHE → bytecount-0.6.9/LICENSE.Apache2} +0 -1
  6. data/THIRD_PARTY_LICENSES/{darling-0.20.11/LICENSE → bytecount-0.6.9/LICENSE.MIT} +1 -3
  7. data/THIRD_PARTY_LICENSES/{ident_case-1.0.1/LICENSE → cobs-0.3.0/LICENSE-MIT} +1 -1
  8. data/THIRD_PARTY_LICENSES/cow-utils-0.1.3/LICENSE +21 -0
  9. data/THIRD_PARTY_LICENSES/{hashbrown-0.14.5 → embedded-io-0.4.0}/LICENSE-MIT +1 -1
  10. data/THIRD_PARTY_LICENSES/{ahash-0.8.12 → embedded-io-0.6.1}/LICENSE-MIT +1 -1
  11. data/THIRD_PARTY_LICENSES/{browserslist-data-0.1.4 → escape-simd-0.1.1}/LICENSE +1 -1
  12. data/THIRD_PARTY_LICENSES/escape-simd-0.1.1/NOTICE +62 -0
  13. data/THIRD_PARTY_LICENSES/json-escape-simd-3.1.3/LICENSE +21 -0
  14. data/THIRD_PARTY_LICENSES/{miette-7.6.0/LICENSE → json-escape-simd-3.1.3/LICENSE-APACHE} +0 -1
  15. data/THIRD_PARTY_LICENSES/json-escape-simd-3.1.3/NOTICE +62 -0
  16. data/THIRD_PARTY_LICENSES/memchr-2.8.3/UNLICENSE +24 -0
  17. data/THIRD_PARTY_LICENSES/{derive_builder_core-0.20.2 → nonmax-0.5.5}/LICENSE-APACHE +1 -2
  18. data/THIRD_PARTY_LICENSES/{dashmap-5.5.3/LICENSE → nonmax-0.5.5/LICENSE-MIT} +2 -4
  19. data/THIRD_PARTY_LICENSES/{rand-0.8.5 → num-bigint-0.5.1}/LICENSE-MIT +0 -1
  20. data/THIRD_PARTY_LICENSES/oxc-0.157.0/LICENSE +22 -0
  21. data/THIRD_PARTY_LICENSES/oxc-0.157.0/THIRD-PARTY-LICENSE +763 -0
  22. data/THIRD_PARTY_LICENSES/{browserslist-rs-0.19.0 → oxc-browserslist-5.0.1}/LICENSE +1 -0
  23. data/THIRD_PARTY_LICENSES/oxc_allocator-0.157.0/LICENSE +22 -0
  24. data/THIRD_PARTY_LICENSES/oxc_allocator-0.157.0/THIRD-PARTY-LICENSE +763 -0
  25. data/THIRD_PARTY_LICENSES/oxc_ast-0.157.0/LICENSE +22 -0
  26. data/THIRD_PARTY_LICENSES/oxc_ast-0.157.0/THIRD-PARTY-LICENSE +763 -0
  27. data/THIRD_PARTY_LICENSES/oxc_ast_macros-0.157.0/LICENSE +22 -0
  28. data/THIRD_PARTY_LICENSES/oxc_ast_macros-0.157.0/THIRD-PARTY-LICENSE +763 -0
  29. data/THIRD_PARTY_LICENSES/oxc_ast_visit-0.157.0/LICENSE +22 -0
  30. data/THIRD_PARTY_LICENSES/oxc_ast_visit-0.157.0/THIRD-PARTY-LICENSE +763 -0
  31. data/THIRD_PARTY_LICENSES/oxc_codegen-0.157.0/LICENSE +22 -0
  32. data/THIRD_PARTY_LICENSES/oxc_codegen-0.157.0/THIRD-PARTY-LICENSE +763 -0
  33. data/THIRD_PARTY_LICENSES/oxc_compat-0.157.0/LICENSE +22 -0
  34. data/THIRD_PARTY_LICENSES/oxc_compat-0.157.0/THIRD-PARTY-LICENSE +763 -0
  35. data/THIRD_PARTY_LICENSES/oxc_data_structures-0.157.0/LICENSE +22 -0
  36. data/THIRD_PARTY_LICENSES/oxc_data_structures-0.157.0/THIRD-PARTY-LICENSE +763 -0
  37. data/THIRD_PARTY_LICENSES/oxc_diagnostics-0.157.0/LICENSE +22 -0
  38. data/THIRD_PARTY_LICENSES/oxc_diagnostics-0.157.0/THIRD-PARTY-LICENSE +763 -0
  39. data/THIRD_PARTY_LICENSES/oxc_ecmascript-0.157.0/LICENSE +22 -0
  40. data/THIRD_PARTY_LICENSES/oxc_ecmascript-0.157.0/THIRD-PARTY-LICENSE +763 -0
  41. data/THIRD_PARTY_LICENSES/oxc_estree-0.157.0/LICENSE +22 -0
  42. data/THIRD_PARTY_LICENSES/oxc_estree-0.157.0/THIRD-PARTY-LICENSE +763 -0
  43. data/THIRD_PARTY_LICENSES/oxc_index-5.0.0/LICENSE +22 -0
  44. data/THIRD_PARTY_LICENSES/oxc_parser-0.157.0/LICENSE +22 -0
  45. data/THIRD_PARTY_LICENSES/oxc_parser-0.157.0/THIRD-PARTY-LICENSE +763 -0
  46. data/THIRD_PARTY_LICENSES/oxc_regular_expression-0.157.0/LICENSE +22 -0
  47. data/THIRD_PARTY_LICENSES/oxc_regular_expression-0.157.0/THIRD-PARTY-LICENSE +763 -0
  48. data/THIRD_PARTY_LICENSES/oxc_semantic-0.157.0/LICENSE +22 -0
  49. data/THIRD_PARTY_LICENSES/oxc_semantic-0.157.0/THIRD-PARTY-LICENSE +763 -0
  50. data/THIRD_PARTY_LICENSES/oxc_span-0.157.0/LICENSE +22 -0
  51. data/THIRD_PARTY_LICENSES/oxc_span-0.157.0/THIRD-PARTY-LICENSE +763 -0
  52. data/THIRD_PARTY_LICENSES/oxc_str-0.157.0/LICENSE +22 -0
  53. data/THIRD_PARTY_LICENSES/oxc_str-0.157.0/THIRD-PARTY-LICENSE +763 -0
  54. data/THIRD_PARTY_LICENSES/oxc_syntax-0.157.0/LICENSE +22 -0
  55. data/THIRD_PARTY_LICENSES/oxc_syntax-0.157.0/THIRD-PARTY-LICENSE +763 -0
  56. data/THIRD_PARTY_LICENSES/{fixedbitset-0.5.7 → postcard-1.1.3}/LICENSE-MIT +1 -1
  57. data/THIRD_PARTY_LICENSES/{bytes-str-0.2.7/LICENSE → self_cell-1.3.0/LICENSE-APACHE} +1 -2
  58. data/THIRD_PARTY_LICENSES/self_cell-1.3.0/LICENSE-GPLv2 +339 -0
  59. data/THIRD_PARTY_LICENSES/{darling_core-0.20.11 → smawk-0.3.3}/LICENSE +1 -1
  60. data/UPSTREAM.md +10 -8
  61. data/ext/cfsolve/Cargo.lock +534 -1727
  62. data/ext/cfsolve/Cargo.toml +4 -0
  63. data/ext/cfsolve/src/main.rs +1 -1
  64. data/lib/cfsolve/profiles/safari-26-ios/answers.json +2570 -1894
  65. data/lib/cfsolve/profiles/safari-26-ios/challenge-page-answers.json +1867 -1192
  66. data/lib/cfsolve/profiles/safari-26-ios.json +102 -156
  67. data/lib/cfsolve/version.rb +2 -2
  68. data/vendor/cfsolve/Cargo.lock +561 -1729
  69. data/vendor/cfsolve/Cargo.toml +26 -8
  70. data/vendor/cfsolve/README.md +4 -35
  71. data/vendor/cfsolve/examples/build_profile.rs +17 -15
  72. data/vendor/cfsolve/examples/capture_session.rs +37 -0
  73. data/vendor/cfsolve/examples/check_answers.rs +66 -0
  74. data/vendor/cfsolve/examples/compare_session.rs +189 -0
  75. data/vendor/cfsolve/examples/solver_profile.rs +84 -0
  76. data/vendor/cfsolve/examples/solver_smoke.rs +9 -8
  77. data/vendor/cfsolve/examples/stage2_snapshot.rs +6 -3
  78. data/vendor/cfsolve/examples/tls_echo.rs +3 -3
  79. data/vendor/cfsolve/examples/vm_snapshot.rs +32 -33
  80. data/vendor/cfsolve/profiles/safari-26-ios/answers.json +2570 -1894
  81. data/vendor/cfsolve/profiles/safari-26-ios/challenge-page-answers.json +1867 -1192
  82. data/vendor/cfsolve/profiles/safari-26-ios.json +102 -156
  83. data/vendor/cfsolve/scripts/capture_cssom.mjs +42 -0
  84. data/vendor/cfsolve/scripts/serve_cssom.py +111 -0
  85. data/vendor/cfsolve/src/bin/capture-proxy/main.rs +3 -2
  86. data/vendor/cfsolve/src/bin/challenge/cli.rs +8 -2
  87. data/vendor/cfsolve/src/bin/challenge/main.rs +7 -2
  88. data/vendor/cfsolve/src/capture/profile.rs +7 -18
  89. data/vendor/cfsolve/src/capture/proxy/tests.rs +1 -1
  90. data/vendor/cfsolve/src/capture/proxy.rs +44 -13
  91. data/vendor/cfsolve/src/capture/recorded.rs +42 -7
  92. data/vendor/cfsolve/src/capture/sessions.rs +4 -3
  93. data/vendor/cfsolve/src/capture/upstream.rs +1 -1
  94. data/vendor/cfsolve/src/challenge/codec.rs +4 -2
  95. data/vendor/cfsolve/src/challenge/expression.rs +161 -117
  96. data/vendor/cfsolve/src/challenge/installed/audit.rs +132 -0
  97. data/vendor/cfsolve/src/challenge/installed.rs +127 -269
  98. data/vendor/cfsolve/src/challenge/merge.rs +120 -80
  99. data/vendor/cfsolve/src/challenge/orchestrator.rs +57 -44
  100. data/vendor/cfsolve/src/challenge/payload.rs +175 -35
  101. data/vendor/cfsolve/src/challenge/program.rs +197 -178
  102. data/vendor/cfsolve/src/challenge/reduced_timing.rs +55 -40
  103. data/vendor/cfsolve/src/challenge/source.rs +151 -96
  104. data/vendor/cfsolve/src/challenge/state.rs +236 -122
  105. data/vendor/cfsolve/src/challenge/tally.rs +64 -50
  106. data/vendor/cfsolve/src/challenge.rs +1 -0
  107. data/vendor/cfsolve/src/deobfuscate/analysis/bindings.rs +187 -185
  108. data/vendor/cfsolve/src/deobfuscate/analysis/effects.rs +42 -51
  109. data/vendor/cfsolve/src/deobfuscate/analysis/hoisting.rs +147 -228
  110. data/vendor/cfsolve/src/deobfuscate/analysis/properties.rs +250 -425
  111. data/vendor/cfsolve/src/deobfuscate/analysis/unconditional.rs +79 -0
  112. data/vendor/cfsolve/src/deobfuscate/analysis.rs +259 -41
  113. data/vendor/cfsolve/src/deobfuscate/argument_arrays.rs +70 -73
  114. data/vendor/cfsolve/src/deobfuscate/arrow_blocks.rs +91 -104
  115. data/vendor/cfsolve/src/deobfuscate/ast.rs +383 -0
  116. data/vendor/cfsolve/src/deobfuscate/bitwise.rs +44 -54
  117. data/vendor/cfsolve/src/deobfuscate/blocks.rs +36 -29
  118. data/vendor/cfsolve/src/deobfuscate/call_helpers.rs +80 -131
  119. data/vendor/cfsolve/src/deobfuscate/control_flow.rs +239 -297
  120. data/vendor/cfsolve/src/deobfuscate/copy_propagation.rs +114 -135
  121. data/vendor/cfsolve/src/deobfuscate/dead_branches.rs +62 -61
  122. data/vendor/cfsolve/src/deobfuscate/dead_properties.rs +197 -214
  123. data/vendor/cfsolve/src/deobfuscate/dispatch.rs +238 -298
  124. data/vendor/cfsolve/src/deobfuscate/encoded_strings.rs +201 -205
  125. data/vendor/cfsolve/src/deobfuscate/function_lengths.rs +32 -38
  126. data/vendor/cfsolve/src/deobfuscate/helper_objects.rs +346 -536
  127. data/vendor/cfsolve/src/deobfuscate/hygiene.rs +197 -0
  128. data/vendor/cfsolve/src/deobfuscate/int32_helpers.rs +121 -155
  129. data/vendor/cfsolve/src/deobfuscate/literals.rs +116 -67
  130. data/vendor/cfsolve/src/deobfuscate/loops.rs +43 -43
  131. data/vendor/cfsolve/src/deobfuscate/memoized_strings.rs +127 -131
  132. data/vendor/cfsolve/src/deobfuscate/merged_functions.rs +262 -220
  133. data/vendor/cfsolve/src/deobfuscate/pipeline.rs +199 -244
  134. data/vendor/cfsolve/src/deobfuscate/register_arrays.rs +361 -322
  135. data/vendor/cfsolve/src/deobfuscate/removal.rs +83 -52
  136. data/vendor/cfsolve/src/deobfuscate/simplify.rs +147 -0
  137. data/vendor/cfsolve/src/deobfuscate/state_machines.rs +88 -110
  138. data/vendor/cfsolve/src/deobfuscate/statements.rs +228 -228
  139. data/vendor/cfsolve/src/deobfuscate/static_members.rs +46 -31
  140. data/vendor/cfsolve/src/deobfuscate/testing.rs +49 -59
  141. data/vendor/cfsolve/src/deobfuscate/unused_bindings.rs +92 -102
  142. data/vendor/cfsolve/src/deobfuscate.rs +15 -11
  143. data/vendor/cfsolve/src/embedding_page/extra_params.rs +23 -32
  144. data/vendor/cfsolve/src/embedding_page/page.rs +28 -2
  145. data/vendor/cfsolve/src/embedding_page/render_sample.rs +184 -147
  146. data/vendor/cfsolve/src/error.rs +40 -5
  147. data/vendor/cfsolve/src/fingerprint.rs +8 -2
  148. data/vendor/cfsolve/src/http/client.rs +9 -1
  149. data/vendor/cfsolve/src/http/requests.rs +2 -2
  150. data/vendor/cfsolve/src/js/ast.rs +479 -254
  151. data/vendor/cfsolve/src/js/objects.rs +9 -2
  152. data/vendor/cfsolve/src/lib.rs +1 -0
  153. data/vendor/cfsolve/src/listing/fold.rs +19 -92
  154. data/vendor/cfsolve/src/listing/query.rs +26 -291
  155. data/vendor/cfsolve/src/listing.rs +0 -1
  156. data/vendor/cfsolve/src/performance_clock.rs +20 -1
  157. data/vendor/cfsolve/src/profiling.rs +49 -0
  158. data/vendor/cfsolve/src/script.rs +35 -24
  159. data/vendor/cfsolve/src/session/challenge_page.rs +41 -21
  160. data/vendor/cfsolve/src/session/channel.rs +2 -2
  161. data/vendor/cfsolve/src/session/initial.rs +19 -10
  162. data/vendor/cfsolve/src/session/probes.rs +160 -125
  163. data/vendor/cfsolve/src/session/sink.rs +26 -1
  164. data/vendor/cfsolve/src/session/tests/challenge_page.rs +36 -1
  165. data/vendor/cfsolve/src/session/timing.rs +58 -53
  166. data/vendor/cfsolve/src/session/widget.rs +5 -6
  167. data/vendor/cfsolve/src/session.rs +1 -1
  168. data/vendor/cfsolve/src/solver.rs +3 -1
  169. data/vendor/cfsolve/src/stage2/analysis/analyze.rs +50 -33
  170. data/vendor/cfsolve/src/stage2/analysis/audit.rs +4 -2
  171. data/vendor/cfsolve/src/stage2/analysis/discovery.rs +61 -66
  172. data/vendor/cfsolve/src/stage2/analysis/envelope.rs +33 -22
  173. data/vendor/cfsolve/src/stage2/analysis/recognize.rs +3 -5
  174. data/vendor/cfsolve/src/stage2/analysis.rs +0 -1
  175. data/vendor/cfsolve/src/stage2/audit_globals.rs +378 -0
  176. data/vendor/cfsolve/src/stage2/benchmark.rs +66 -38
  177. data/vendor/cfsolve/src/stage2/call_stack.rs +1463 -1017
  178. data/vendor/cfsolve/src/stage2/challenge_page.rs +3 -2
  179. data/vendor/cfsolve/src/stage2/interaction/checkbox.rs +202 -150
  180. data/vendor/cfsolve/src/stage2/interaction/click.rs +2 -2
  181. data/vendor/cfsolve/src/stage2/interaction/native.rs +2 -1
  182. data/vendor/cfsolve/src/stage2/interaction/plan.rs +5 -7
  183. data/vendor/cfsolve/src/stage2/payload/recover.rs +56 -25
  184. data/vendor/cfsolve/src/stage2/probes/clock.rs +1 -3
  185. data/vendor/cfsolve/src/stage2/probes/ice.rs +11 -10
  186. data/vendor/cfsolve/src/stage2/probes/media.rs +47 -33
  187. data/vendor/cfsolve/src/stage2/probes/performance.rs +13 -8
  188. data/vendor/cfsolve/src/stage2/probes/rects.rs +12 -17
  189. data/vendor/cfsolve/src/stage2/probes/stack.rs +50 -103
  190. data/vendor/cfsolve/src/stage2/probes/websocket_echo.rs +17 -86
  191. data/vendor/cfsolve/src/stage2/probes.rs +0 -1
  192. data/vendor/cfsolve/src/stage2/queries.rs +50 -0
  193. data/vendor/cfsolve/src/stage2/records.rs +4 -13
  194. data/vendor/cfsolve/src/stage2/reference.json +1 -1
  195. data/vendor/cfsolve/src/stage2/reference.rs +98 -100
  196. data/vendor/cfsolve/src/stage2/registry.rs +41 -34
  197. data/vendor/cfsolve/src/stage2/replay.rs +182 -254
  198. data/vendor/cfsolve/src/stage2/stylesheets.rs +176 -0
  199. data/vendor/cfsolve/src/stage2/syntax.rs +88 -0
  200. data/vendor/cfsolve/src/stage2/trace.rs +152 -108
  201. data/vendor/cfsolve/src/stage2/vocabulary.rs +103 -403
  202. data/vendor/cfsolve/src/stage2.rs +4 -1
  203. data/vendor/cfsolve/src/vm/disassemble.rs +46 -13
  204. data/vendor/cfsolve/src/vm/dispatch.rs +93 -65
  205. data/vendor/cfsolve/src/vm/extract.rs +347 -250
  206. data/vendor/cfsolve/src/vm/interpret/access.rs +67 -68
  207. data/vendor/cfsolve/src/vm/interpret/builtin.rs +16 -63
  208. data/vendor/cfsolve/src/vm/interpret/call.rs +192 -51
  209. data/vendor/cfsolve/src/vm/interpret/compile.rs +643 -0
  210. data/vendor/cfsolve/src/vm/interpret/copies.rs +232 -120
  211. data/vendor/cfsolve/src/vm/interpret/evaluate/tests.rs +149 -40
  212. data/vendor/cfsolve/src/vm/interpret/evaluate.rs +189 -572
  213. data/vendor/cfsolve/src/vm/interpret/explore.rs +159 -46
  214. data/vendor/cfsolve/src/vm/interpret/formula.rs +131 -0
  215. data/vendor/cfsolve/src/vm/interpret/frozen.rs +169 -0
  216. data/vendor/cfsolve/src/vm/interpret/intrinsic.rs +414 -0
  217. data/vendor/cfsolve/src/vm/interpret/mix32.rs +189 -0
  218. data/vendor/cfsolve/src/vm/interpret/native_dispatch.rs +220 -0
  219. data/vendor/cfsolve/src/vm/interpret/pattern.rs +1736 -0
  220. data/vendor/cfsolve/src/vm/interpret/plan.rs +605 -330
  221. data/vendor/cfsolve/src/vm/interpret/register_helpers.rs +384 -0
  222. data/vendor/cfsolve/src/vm/interpret/run.rs +314 -54
  223. data/vendor/cfsolve/src/vm/interpret/semantics.rs +71 -46
  224. data/vendor/cfsolve/src/vm/interpret/setup.rs +80 -45
  225. data/vendor/cfsolve/src/vm/interpret/string_decoder.rs +482 -0
  226. data/vendor/cfsolve/src/vm/interpret.rs +16 -3
  227. data/vendor/cfsolve/src/vm/machine.rs +58 -47
  228. data/vendor/cfsolve/src/vm/output.rs +13 -5
  229. data/vendor/cfsolve/src/vm/packed_names.rs +311 -0
  230. data/vendor/cfsolve/src/vm/session.rs +197 -110
  231. data/vendor/cfsolve/src/vm/value.rs +35 -19
  232. data/vendor/cfsolve/src/vm.rs +3 -1
  233. data/vendor/cfsolve/vendor/btls-sys/Cargo.toml +3 -0
  234. data/vendor/cfsolve/vendor/btls-sys/build/main.rs +20 -0
  235. data/vendor/cfsolve/vendor/btls-sys/src/lib.rs +3 -0
  236. metadata +106 -183
  237. data/THIRD_PARTY_LICENSES/Inflector-0.11.4/LICENSE.md +0 -22
  238. data/THIRD_PARTY_LICENSES/arrayvec-0.7.6/LICENSE-MIT +0 -25
  239. data/THIRD_PARTY_LICENSES/ascii-1.1.0/LICENSE-APACHE +0 -201
  240. data/THIRD_PARTY_LICENSES/ascii-1.1.0/LICENSE-MIT +0 -22
  241. data/THIRD_PARTY_LICENSES/ast_node-5.0.0/LICENSE +0 -201
  242. data/THIRD_PARTY_LICENSES/better_scoped_tls-1.0.1/LICENSE +0 -201
  243. data/THIRD_PARTY_LICENSES/bitvec-1.0.1/LICENSE.txt +0 -21
  244. data/THIRD_PARTY_LICENSES/bstr-1.12.1/COPYING +0 -8
  245. data/THIRD_PARTY_LICENSES/bstr-1.12.1/LICENSE-MIT +0 -21
  246. data/THIRD_PARTY_LICENSES/cargo-platform-0.1.9/LICENSE-APACHE +0 -201
  247. data/THIRD_PARTY_LICENSES/cargo_metadata-0.19.2/LICENSE-MIT +0 -23
  248. data/THIRD_PARTY_LICENSES/darling_macro-0.20.11/LICENSE +0 -21
  249. data/THIRD_PARTY_LICENSES/debugid-0.8.0/LICENSE +0 -201
  250. data/THIRD_PARTY_LICENSES/derive_builder-0.20.2/LICENSE-MIT +0 -21
  251. data/THIRD_PARTY_LICENSES/derive_builder_core-0.20.2/LICENSE-MIT +0 -21
  252. data/THIRD_PARTY_LICENSES/derive_builder_macro-0.20.2/LICENSE-MIT +0 -21
  253. data/THIRD_PARTY_LICENSES/foldhash-0.1.5/LICENSE +0 -19
  254. data/THIRD_PARTY_LICENSES/from_variant-3.0.0/LICENSE +0 -201
  255. data/THIRD_PARTY_LICENSES/funty-2.0.0/LICENSE.txt +0 -21
  256. data/THIRD_PARTY_LICENSES/hashbrown-0.16.1/LICENSE-MIT +0 -25
  257. data/THIRD_PARTY_LICENSES/heck-0.5.0/LICENSE-APACHE +0 -201
  258. data/THIRD_PARTY_LICENSES/hermit-abi-0.5.2/LICENSE-APACHE +0 -201
  259. data/THIRD_PARTY_LICENSES/hermit-abi-0.5.2/LICENSE-MIT +0 -23
  260. data/THIRD_PARTY_LICENSES/hstr-3.0.3/LICENSE +0 -202
  261. data/THIRD_PARTY_LICENSES/if_chain-1.0.3/LICENSE-APACHE +0 -201
  262. data/THIRD_PARTY_LICENSES/if_chain-1.0.3/LICENSE-MIT +0 -25
  263. data/THIRD_PARTY_LICENSES/is-macro-0.3.7/LICENSE +0 -202
  264. data/THIRD_PARTY_LICENSES/itoa-1.0.17/LICENSE-MIT +0 -23
  265. data/THIRD_PARTY_LICENSES/jsonc-parser-0.26.3/LICENSE +0 -21
  266. data/THIRD_PARTY_LICENSES/lazy_static-1.5.0/LICENSE-APACHE +0 -201
  267. data/THIRD_PARTY_LICENSES/lazy_static-1.5.0/LICENSE-MIT +0 -25
  268. data/THIRD_PARTY_LICENSES/lru-0.16.2/LICENSE +0 -21
  269. data/THIRD_PARTY_LICENSES/memchr-2.7.6/COPYING +0 -3
  270. data/THIRD_PARTY_LICENSES/memchr-2.7.6/LICENSE-MIT +0 -21
  271. data/THIRD_PARTY_LICENSES/miette-derive-7.6.0/LICENSE +0 -229
  272. data/THIRD_PARTY_LICENSES/normpath-0.2.0/COPYRIGHT +0 -7
  273. data/THIRD_PARTY_LICENSES/normpath-0.2.0/LICENSE-MIT +0 -21
  274. data/THIRD_PARTY_LICENSES/normpath-0.2.0/LICENSE-THIRD-PARTY +0 -210
  275. data/THIRD_PARTY_LICENSES/num_cpus-1.17.0/LICENSE-APACHE +0 -201
  276. data/THIRD_PARTY_LICENSES/num_cpus-1.17.0/LICENSE-MIT +0 -20
  277. data/THIRD_PARTY_LICENSES/owo-colors-4.2.3/LICENSE +0 -21
  278. data/THIRD_PARTY_LICENSES/par-core-2.0.0/LICENSE +0 -202
  279. data/THIRD_PARTY_LICENSES/par-iter-2.0.0/LICENSE +0 -202
  280. data/THIRD_PARTY_LICENSES/path-clean-0.1.0/LICENSE-APACHE +0 -13
  281. data/THIRD_PARTY_LICENSES/path-clean-0.1.0/LICENSE-MIT +0 -18
  282. data/THIRD_PARTY_LICENSES/path-clean-1.0.1/LICENSE-APACHE +0 -13
  283. data/THIRD_PARTY_LICENSES/path-clean-1.0.1/LICENSE-MIT +0 -18
  284. data/THIRD_PARTY_LICENSES/pathdiff-0.2.3/LICENSE-APACHE +0 -201
  285. data/THIRD_PARTY_LICENSES/pathdiff-0.2.3/LICENSE-MIT +0 -23
  286. data/THIRD_PARTY_LICENSES/petgraph-0.7.1/LICENSE-APACHE +0 -201
  287. data/THIRD_PARTY_LICENSES/precomputed-map-0.2.0/LICENSE +0 -21
  288. data/THIRD_PARTY_LICENSES/preset_env_base-6.0.0/LICENSE +0 -201
  289. data/THIRD_PARTY_LICENSES/radium-0.7.0/LICENSE.txt +0 -21
  290. data/THIRD_PARTY_LICENSES/radix_fmt-1.0.0/LICENSE +0 -201
  291. data/THIRD_PARTY_LICENSES/rand-0.8.5/COPYRIGHT +0 -12
  292. data/THIRD_PARTY_LICENSES/rand-0.8.5/LICENSE-APACHE +0 -176
  293. data/THIRD_PARTY_LICENSES/rand_core-0.6.4/COPYRIGHT +0 -12
  294. data/THIRD_PARTY_LICENSES/rand_core-0.6.4/LICENSE-APACHE +0 -187
  295. data/THIRD_PARTY_LICENSES/rand_core-0.6.4/LICENSE-MIT +0 -26
  296. data/THIRD_PARTY_LICENSES/regress-0.10.5/LICENSE-APACHE +0 -201
  297. data/THIRD_PARTY_LICENSES/regress-0.10.5/LICENSE-MIT +0 -21
  298. data/THIRD_PARTY_LICENSES/ryu-1.0.22/LICENSE-APACHE +0 -176
  299. data/THIRD_PARTY_LICENSES/ryu-1.0.22/LICENSE-BOOST +0 -23
  300. data/THIRD_PARTY_LICENSES/scoped-tls-1.0.1/LICENSE-APACHE +0 -201
  301. data/THIRD_PARTY_LICENSES/scoped-tls-1.0.1/LICENSE-MIT +0 -25
  302. data/THIRD_PARTY_LICENSES/siphasher-0.3.11/COPYING +0 -7
  303. data/THIRD_PARTY_LICENSES/smallvec-1.15.1/LICENSE-APACHE +0 -201
  304. data/THIRD_PARTY_LICENSES/smartstring-1.0.1/LICENCE.md +0 -355
  305. data/THIRD_PARTY_LICENSES/st-map-0.2.4/LICENSE +0 -202
  306. data/THIRD_PARTY_LICENSES/static-map-macro-0.3.4/LICENSE +0 -202
  307. data/THIRD_PARTY_LICENSES/string_enum-1.0.2/LICENSE +0 -201
  308. data/THIRD_PARTY_LICENSES/strsim-0.11.1/LICENSE +0 -23
  309. data/THIRD_PARTY_LICENSES/swc-52.0.0/LICENSE +0 -201
  310. data/THIRD_PARTY_LICENSES/swc_allocator-4.0.1/LICENSE +0 -201
  311. data/THIRD_PARTY_LICENSES/swc_atoms-9.0.0/LICENSE +0 -201
  312. data/THIRD_PARTY_LICENSES/swc_common-18.0.1/LICENSE +0 -201
  313. data/THIRD_PARTY_LICENSES/swc_compiler_base-45.0.0/LICENSE +0 -201
  314. data/THIRD_PARTY_LICENSES/swc_config-3.1.2/LICENSE +0 -201
  315. data/THIRD_PARTY_LICENSES/swc_config_macro-1.0.1/LICENSE +0 -201
  316. data/THIRD_PARTY_LICENSES/swc_core-54.0.0/LICENSE +0 -201
  317. data/THIRD_PARTY_LICENSES/swc_ecma_ast-19.0.0/LICENSE +0 -201
  318. data/THIRD_PARTY_LICENSES/swc_ecma_codegen-21.0.0/LICENSE +0 -201
  319. data/THIRD_PARTY_LICENSES/swc_ecma_codegen_macros-2.0.2/LICENSE +0 -201
  320. data/THIRD_PARTY_LICENSES/swc_ecma_compat_bugfixes-39.0.0/LICENSE +0 -201
  321. data/THIRD_PARTY_LICENSES/swc_ecma_compat_common-30.0.0/LICENSE +0 -201
  322. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2015-39.0.0/LICENSE +0 -201
  323. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2016-35.0.0/LICENSE +0 -201
  324. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2017-35.0.0/LICENSE +0 -201
  325. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2018-36.0.0/LICENSE +0 -201
  326. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2019-35.0.0/LICENSE +0 -201
  327. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2020-37.0.0/LICENSE +0 -201
  328. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2021-35.0.0/LICENSE +0 -201
  329. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es2022-37.0.0/LICENSE +0 -201
  330. data/THIRD_PARTY_LICENSES/swc_ecma_compat_es3-26.0.0/LICENSE +0 -201
  331. data/THIRD_PARTY_LICENSES/swc_ecma_ext_transforms-25.0.0/LICENSE +0 -201
  332. data/THIRD_PARTY_LICENSES/swc_ecma_hooks-0.3.0/LICENSE +0 -201
  333. data/THIRD_PARTY_LICENSES/swc_ecma_loader-18.0.0/LICENSE +0 -201
  334. data/THIRD_PARTY_LICENSES/swc_ecma_minifier-42.0.0/LICENSE +0 -201
  335. data/THIRD_PARTY_LICENSES/swc_ecma_parser-32.0.0/LICENSE +0 -201
  336. data/THIRD_PARTY_LICENSES/swc_ecma_preset_env-45.0.0/LICENSE +0 -201
  337. data/THIRD_PARTY_LICENSES/swc_ecma_transformer-6.0.0/LICENSE +0 -201
  338. data/THIRD_PARTY_LICENSES/swc_ecma_transforms-44.0.0/LICENSE +0 -201
  339. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_base-35.0.0/LICENSE +0 -201
  340. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_classes-35.0.0/LICENSE +0 -201
  341. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_compat-40.0.0/LICENSE +0 -201
  342. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_macros-1.0.1/LICENSE +0 -201
  343. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_module-38.0.0/LICENSE +0 -201
  344. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_optimization-37.0.0/LICENSE +0 -201
  345. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_proposal-35.0.0/LICENSE +0 -201
  346. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_react-38.0.0/LICENSE +0 -201
  347. data/THIRD_PARTY_LICENSES/swc_ecma_transforms_typescript-38.0.0/LICENSE +0 -201
  348. data/THIRD_PARTY_LICENSES/swc_ecma_usage_analyzer-27.0.0/LICENSE +0 -201
  349. data/THIRD_PARTY_LICENSES/swc_ecma_utils-25.0.0/LICENSE +0 -201
  350. data/THIRD_PARTY_LICENSES/swc_ecma_visit-19.0.0/LICENSE +0 -201
  351. data/THIRD_PARTY_LICENSES/swc_eq_ignore_macros-1.0.1/LICENSE +0 -201
  352. data/THIRD_PARTY_LICENSES/swc_error_reporters-20.0.0/LICENSE +0 -201
  353. data/THIRD_PARTY_LICENSES/swc_macros_common-1.0.1/LICENSE +0 -201
  354. data/THIRD_PARTY_LICENSES/swc_node_comments-18.0.0/LICENSE +0 -201
  355. data/THIRD_PARTY_LICENSES/swc_timer-1.0.0/LICENSE +0 -201
  356. data/THIRD_PARTY_LICENSES/swc_trace_macro-2.0.2/LICENSE +0 -201
  357. data/THIRD_PARTY_LICENSES/swc_transform_common-12.0.0/LICENSE +0 -201
  358. data/THIRD_PARTY_LICENSES/swc_visit-2.0.1/LICENSE +0 -201
  359. data/THIRD_PARTY_LICENSES/tap-1.0.1/LICENSE.txt +0 -21
  360. data/THIRD_PARTY_LICENSES/tracing-0.1.44/LICENSE +0 -25
  361. data/THIRD_PARTY_LICENSES/tracing-attributes-0.1.31/LICENSE +0 -25
  362. data/THIRD_PARTY_LICENSES/tracing-core-0.1.36/LICENSE +0 -25
  363. data/THIRD_PARTY_LICENSES/triomphe-0.1.15/LICENSE-APACHE +0 -201
  364. data/THIRD_PARTY_LICENSES/triomphe-0.1.15/LICENSE-MIT +0 -27
  365. data/THIRD_PARTY_LICENSES/unicode-width-0.1.14/LICENSE-APACHE +0 -201
  366. data/THIRD_PARTY_LICENSES/unicode-width-0.1.14/LICENSE-MIT +0 -25
  367. data/THIRD_PARTY_LICENSES/uuid-1.19.0/LICENSE-APACHE +0 -201
  368. data/THIRD_PARTY_LICENSES/uuid-1.19.0/LICENSE-MIT +0 -26
  369. data/THIRD_PARTY_LICENSES/vergen-9.0.6/LICENSE-APACHE +0 -201
  370. data/THIRD_PARTY_LICENSES/vergen-9.0.6/LICENSE-MIT +0 -25
  371. data/THIRD_PARTY_LICENSES/vergen-lib-0.1.6/LICENSE-APACHE +0 -201
  372. data/THIRD_PARTY_LICENSES/vergen-lib-0.1.6/LICENSE-MIT +0 -25
  373. data/THIRD_PARTY_LICENSES/wyz-0.5.1/LICENSE.txt +0 -21
  374. data/vendor/cfsolve/src/deobfuscate/analysis/globals.rs +0 -33
  375. data/vendor/cfsolve/src/deobfuscate/analysis/names.rs +0 -52
  376. data/vendor/cfsolve/src/listing/normalize.rs +0 -264
  377. data/vendor/cfsolve/src/stage2/analysis/outputs.rs +0 -327
  378. data/vendor/cfsolve/src/stage2/probes/stylesheets.rs +0 -249
  379. data/vendor/cfsolve/src/stage2/reference-expanded.json +0 -42
  380. data/vendor/cfsolve/src/stage2/session_names.rs +0 -470
  381. /data/THIRD_PARTY_LICENSES/{derive_builder-0.20.2 → cobs-0.3.0}/LICENSE-APACHE +0 -0
  382. /data/THIRD_PARTY_LICENSES/{compact_str-0.7.1 → compact_str-0.10.0}/LICENSE +0 -0
  383. /data/THIRD_PARTY_LICENSES/{ahash-0.8.12 → embedded-io-0.4.0}/LICENSE-APACHE +0 -0
  384. /data/THIRD_PARTY_LICENSES/{arrayvec-0.7.6 → embedded-io-0.6.1}/LICENSE-APACHE +0 -0
  385. /data/THIRD_PARTY_LICENSES/{normpath-0.2.0 → escape-simd-0.1.1}/LICENSE-APACHE +0 -0
  386. /data/THIRD_PARTY_LICENSES/{bstr-1.12.1 → itertools-0.15.0}/LICENSE-APACHE +0 -0
  387. /data/THIRD_PARTY_LICENSES/{petgraph-0.7.1 → itertools-0.15.0}/LICENSE-MIT +0 -0
  388. /data/THIRD_PARTY_LICENSES/{itoa-1.0.17 → itoa-1.0.19}/LICENSE-APACHE +0 -0
  389. /data/THIRD_PARTY_LICENSES/{camino-1.2.2 → itoa-1.0.19}/LICENSE-MIT +0 -0
  390. /data/THIRD_PARTY_LICENSES/{globset-0.4.18 → memchr-2.8.3}/COPYING +0 -0
  391. /data/THIRD_PARTY_LICENSES/{globset-0.4.18 → memchr-2.8.3}/LICENSE-MIT +0 -0
  392. /data/THIRD_PARTY_LICENSES/{camino-1.2.2 → num-bigint-0.5.1}/LICENSE-APACHE +0 -0
  393. /data/THIRD_PARTY_LICENSES/{swc_sourcemap-9.3.4 → oxc_sourcemap-9.0.0}/LICENSE +0 -0
  394. /data/THIRD_PARTY_LICENSES/{phf-0.11.3 → phf-0.14.0}/LICENSE +0 -0
  395. /data/THIRD_PARTY_LICENSES/{phf_generator-0.11.3 → phf_generator-0.14.0}/LICENSE +0 -0
  396. /data/THIRD_PARTY_LICENSES/{phf_macros-0.11.3 → phf_macros-0.14.0}/LICENSE +0 -0
  397. /data/THIRD_PARTY_LICENSES/{phf_shared-0.11.3 → phf_shared-0.14.0}/LICENSE +0 -0
  398. /data/THIRD_PARTY_LICENSES/{fixedbitset-0.5.7 → postcard-1.1.3}/LICENSE-APACHE +0 -0
  399. /data/THIRD_PARTY_LICENSES/{hashbrown-0.14.5 → smallvec-1.16.5}/LICENSE-APACHE +0 -0
  400. /data/THIRD_PARTY_LICENSES/{smallvec-1.15.1 → smallvec-1.16.5}/LICENSE-MIT +0 -0
  401. /data/THIRD_PARTY_LICENSES/{unicode-width-0.1.14 → unicode-segmentation-1.13.3}/COPYRIGHT +0 -0
  402. /data/THIRD_PARTY_LICENSES/{hashbrown-0.16.1 → unicode-segmentation-1.13.3}/LICENSE-APACHE +0 -0
  403. /data/THIRD_PARTY_LICENSES/{heck-0.5.0 → unicode-segmentation-1.13.3}/LICENSE-MIT +0 -0
  404. /data/THIRD_PARTY_LICENSES/{cargo-platform-0.1.9 → zmij_ecma-1.0.23}/LICENSE-MIT +0 -0
@@ -4,14 +4,13 @@
4
4
  "profile": "safari_ios_26.2",
5
5
  "platform": "ios",
6
6
  "headers": {
7
- "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6.2 Mobile/15E148 Safari/604.1"
7
+ "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6.3 Mobile/15E148 Safari/604.1"
8
8
  },
9
9
  "requests": {
10
10
  "headers": {
11
11
  "navigation": [
12
12
  "sec-fetch-dest: document",
13
13
  "user-agent",
14
- "upgrade-insecure-requests: 1",
15
14
  "accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
16
15
  "sec-fetch-site: none",
17
16
  "sec-fetch-mode: navigate",
@@ -45,7 +44,6 @@
45
44
  "sec-fetch-dest: script",
46
45
  "user-agent",
47
46
  "accept: */*",
48
- "referer",
49
47
  "sec-fetch-site: cross-site",
50
48
  "origin",
51
49
  "sec-fetch-mode: cors",
@@ -78,12 +76,12 @@
78
76
  "page_image": [
79
77
  "sec-fetch-dest: image",
80
78
  "user-agent",
81
- "accept: image/webp,image/avif,image/jxl,image/heic,image/heic-sequence,video/*;q=0.8,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5",
79
+ "accept: */*",
82
80
  "referer",
83
81
  "sec-fetch-site: same-origin",
84
82
  "sec-fetch-mode: no-cors",
85
83
  "accept-language: en-US,en;q=0.9",
86
- "priority: u=5, i",
84
+ "priority: u=3, i",
87
85
  "accept-encoding: gzip, deflate, br, zstd"
88
86
  ],
89
87
  "orchestrator_post": [
@@ -191,19 +189,19 @@
191
189
  },
192
190
  "timeline": {
193
191
  "script_fetch": 90.0,
194
- "implicit_render": 2,
195
- "render_start": 2,
192
+ "implicit_render": 1,
193
+ "render_start": 1,
196
194
  "render_end": 3,
197
- "init_start": 225,
198
- "params_start": 225,
199
- "collect_start": 225,
200
- "sent": 226
195
+ "init_start": 498,
196
+ "params_start": 498,
197
+ "collect_start": 498,
198
+ "sent": 500
201
199
  },
202
200
  "intervals": {
203
201
  "initialise": 7,
204
202
  "handoff": 8,
205
- "collect": 19,
206
- "send": 121
203
+ "collect": 43,
204
+ "send": 49
207
205
  },
208
206
  "orchestrator": {
209
207
  "intervals": {
@@ -218,14 +216,25 @@
218
216
  "interaction": {
219
217
  "width": 300,
220
218
  "height": 65,
221
- "checkbox": {"x": 9, "y": 20.5, "width": 168.125, "height": 24},
219
+ "checkbox": {
220
+ "x": 9,
221
+ "y": 20.5,
222
+ "width": 168.125,
223
+ "height": 24
224
+ },
222
225
  "ready_delay_ms": 1000,
223
226
  "device_pixel_ratio": 2,
224
227
  "touch": true
225
228
  },
226
229
  "resource_timing": {
227
- "phases": {"request": 0.07, "response": 0.04},
228
- "navigation": {"request": 0, "response": 0.9},
230
+ "phases": {
231
+ "request": 0.07,
232
+ "response": 0.04
233
+ },
234
+ "navigation": {
235
+ "request": 0,
236
+ "response": 0.9
237
+ },
229
238
  "sizes_exposed": false
230
239
  },
231
240
  "second": {
@@ -286,57 +295,45 @@
286
295
  "codecs": [
287
296
  {
288
297
  "mimeType": "video/H264",
289
- "clockRate": 90000,
290
298
  "sdpFmtpLine": "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f"
291
299
  },
292
300
  {
293
- "mimeType": "video/rtx",
294
- "clockRate": 90000
301
+ "mimeType": "video/rtx"
295
302
  },
296
303
  {
297
304
  "mimeType": "video/H264",
298
- "clockRate": 90000,
299
305
  "sdpFmtpLine": "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f"
300
306
  },
301
307
  {
302
308
  "mimeType": "video/H264",
303
- "clockRate": 90000,
304
309
  "sdpFmtpLine": "level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f"
305
310
  },
306
311
  {
307
312
  "mimeType": "video/H264",
308
- "clockRate": 90000,
309
313
  "sdpFmtpLine": "level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f"
310
314
  },
311
315
  {
312
- "mimeType": "video/H265",
313
- "clockRate": 90000
316
+ "mimeType": "video/H265"
314
317
  },
315
318
  {
316
- "mimeType": "video/VP8",
317
- "clockRate": 90000
319
+ "mimeType": "video/VP8"
318
320
  },
319
321
  {
320
322
  "mimeType": "video/VP9",
321
- "clockRate": 90000,
322
323
  "sdpFmtpLine": "profile-id=0"
323
324
  },
324
325
  {
325
326
  "mimeType": "video/VP9",
326
- "clockRate": 90000,
327
327
  "sdpFmtpLine": "profile-id=2"
328
328
  },
329
329
  {
330
- "mimeType": "video/red",
331
- "clockRate": 90000
330
+ "mimeType": "video/red"
332
331
  },
333
332
  {
334
- "mimeType": "video/ulpfec",
335
- "clockRate": 90000
333
+ "mimeType": "video/ulpfec"
336
334
  },
337
335
  {
338
336
  "mimeType": "video/flexfec-03",
339
- "clockRate": 90000,
340
337
  "sdpFmtpLine": "repair-window=10000000"
341
338
  }
342
339
  ]
@@ -372,27 +369,27 @@
372
369
  "connection": {
373
370
  "pub_candidates": [
374
371
  {
375
- "candidate": "candidate:3460880736 1 udp 2113939711 f1bed2f8-f860-457f-b026-2d23d9140c03.local 59340 typ host generation 0 ufrag mtbG network-cost 999",
376
- "observed_ms": 1792876992039
372
+ "candidate": "candidate:3365578958 1 udp 2113939711 4efdf14a-c478-4a57-af4f-f93652571133.local 53247 typ host generation 0 ufrag RZx2 network-cost 999",
373
+ "observed_ms": 1793846567299
377
374
  },
378
375
  {
379
- "candidate": "candidate:3747697418 1 udp 2113937151 f9501b39-1d57-4eb6-8029-16167a5a330b.local 51498 typ host generation 0 ufrag mtbG network-cost 999",
380
- "observed_ms": 1792876992039
376
+ "candidate": "candidate:3171752881 1 udp 2113937151 eec7abc6-8aa8-4d87-93df-97edb4195271.local 58701 typ host generation 0 ufrag RZx2 network-cost 999",
377
+ "observed_ms": 1793846567301
381
378
  },
382
379
  {
383
- "candidate": "candidate:1648342598 1 udp 1677729535 192.0.2.1 64597 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag mtbG network-cost 999",
384
- "observed_ms": 1792876992052
380
+ "candidate": "candidate:3269085423 1 udp 1677729535 192.0.2.1 64972 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag RZx2 network-cost 999",
381
+ "observed_ms": 1793846567321
385
382
  },
386
383
  {
387
- "candidate": "candidate:2007285888 1 udp 1677732095 2001:db8::1 59340 typ srflx raddr :: rport 0 generation 0 ufrag mtbG network-cost 999",
388
- "observed_ms": 1792876992056
384
+ "candidate": "candidate:2965943324 1 udp 1677732095 2001:db8::1 53247 typ srflx raddr :: rport 0 generation 0 ufrag RZx2 network-cost 999",
385
+ "observed_ms": 1793846567322
389
386
  }
390
387
  ],
391
388
  "data_channel": true,
392
- "sdp": "v=0\r\no=- 2400467206764510475 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:mtbG\r\na=ice-pwd:0Dc00kOlIMYBy8fnUlejV6Qu\r\na=ice-options:trickle\r\na=fingerprint:sha-256 DD:42:3A:63:B0:F3:DD:05:09:2E:04:DB:DC:08:0F:95:85:98:BB:9E:04:10:8B:72:64:14:09:0E:31:EA:13:69\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n"
389
+ "sdp": "v=0\r\no=- 1803177693538617135 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:RZx2\r\na=ice-pwd:arZjbz5Lh95VJ4fZkG2OhoAw\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B9:EC:6E:F3:0B:88:81:6E:5D:C2:0C:B4:7F:8D:F1:2F:22:B6:C4:23:4F:DC:C7:E6:6C:5D:C7:93:95:77:D7:7A\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n"
393
390
  },
394
- "started_ms": 1792876992546,
395
- "finished_ms": 1792876992554,
391
+ "started_ms": 1793846568401,
392
+ "finished_ms": 1793846568407,
396
393
  "ice_state": "complete"
397
394
  }
398
395
  },
@@ -410,93 +407,41 @@
410
407
  },
411
408
  "benchmark_worker": {
412
409
  "compile_ms": [
413
- 11.499999999999993,
414
- 2.039999999999992,
415
- 1.1599999999999966,
416
- 2.0,
417
- 1.6599999999999682,
418
- 2.5
410
+ 7.0,
411
+ 1.5
419
412
  ],
420
413
  "kernel_ms_per_million": [
421
414
  [
422
- 1.003,
423
- 0.93,
424
- 0.944,
425
- 1.035,
426
- 0.972,
427
- 0.946,
428
- 1.291,
429
- 0.962,
430
- 0.941,
431
- 1.214,
432
- 0.971,
433
- 0.971,
434
- 1.003,
435
- 0.935,
436
- 0.964,
437
- 1.002,
438
- 0.953,
439
- 0.968
415
+ 0.973,
416
+ 0.973,
417
+ 0.973,
418
+ 1.16,
419
+ 0.926,
420
+ 0.931
440
421
  ],
441
422
  [
442
- 1.055,
443
- 0.932,
444
- 0.946,
445
- 1.027,
446
- 0.933,
447
- 0.944,
448
- 1.061,
449
- 0.942,
450
- 0.947,
451
- 1.007,
452
- 1.007,
453
- 1.007,
454
- 1.399,
455
- 0.926,
456
- 0.941,
457
- 1.379,
458
- 0.936,
459
- 0.946
423
+ 1.246,
424
+ 0.996,
425
+ 0.996,
426
+ 1.294,
427
+ 0.973,
428
+ 0.989
460
429
  ],
461
430
  [
462
- 1.222,
463
- 0.617,
464
- 0.635,
465
- 0.801,
431
+ 1.038,
432
+ 0.649,
433
+ 0.649,
434
+ 0.71,
466
435
  0.621,
467
- 0.626,
468
- 0.665,
469
- 0.628,
470
- 0.631,
471
- 0.645,
472
- 0.645,
473
- 0.645,
474
- 0.746,
475
- 0.62,
476
- 0.63,
477
- 0.656,
478
- 0.629,
479
- 0.641
436
+ 0.629
480
437
  ],
481
438
  [
482
- 5.798,
483
- 5.567,
484
- 5.609,
485
- 5.75,
486
- 5.574,
487
- 5.692,
488
- 5.978,
489
- 5.707,
490
- 5.707,
491
- 5.831,
492
- 5.831,
493
- 5.831,
494
- 5.931,
495
- 5.554,
496
- 5.673,
497
- 5.869,
498
- 5.693,
499
- 5.791
439
+ 6.168,
440
+ 5.14,
441
+ 6.168,
442
+ 5.787,
443
+ 5.85,
444
+ 5.724
500
445
  ]
501
446
  ]
502
447
  }
@@ -509,45 +454,46 @@
509
454
  "online": true
510
455
  },
511
456
  "durations": {
512
- "audio": 24,
513
- "behavior": 4,
514
- "clock_resolution": 6,
515
- "computed_style_hash": 12,
516
- "console": 26,
517
- "date_parsing_offsets": 1,
518
- "document_structure": 0,
519
- "document_summary": 1,
520
- "dom_mutation": 2,
521
- "emoji_color": 3,
522
- "empty": 0,
523
- "environment": 5,
524
- "environment_audit": 17,
525
- "error_message_length": 1,
526
- "font_enumeration": 6,
527
- "graphics": 48,
457
+ "audio": 23,
458
+ "behavior": 7,
459
+ "clock_resolution": 8,
460
+ "computed_style_hash": 20,
461
+ "console": 32,
462
+ "date_parsing_offsets": 6,
463
+ "document_structure": 2,
464
+ "document_summary": 2,
465
+ "dom_mutation": 4,
466
+ "emoji_color": 8,
467
+ "empty": 1,
468
+ "environment": 6,
469
+ "environment_audit": 24,
470
+ "error_message_length": 4,
471
+ "font_enumeration": 31,
472
+ "graphics": 99,
528
473
  "high_entropy_user_agent": 1,
529
- "image": 14,
530
- "intl": 3,
531
- "isolation": 16,
532
- "keyboard_layout": 0,
533
- "math": 6,
534
- "media": 5,
535
- "native_inspection": 65,
536
- "network_information": 0,
537
- "parent_info": 0,
538
- "performance_entries": 1,
539
- "private_token": 1,
540
- "rects": 5,
474
+ "image": 15,
475
+ "intl": 12,
476
+ "isolation": 20,
477
+ "keyboard_layout": 1,
478
+ "math": 8,
479
+ "media": 14,
480
+ "native_inspection": 52,
481
+ "network_information": 1,
482
+ "parent_info": 2,
483
+ "performance_entries": 3,
484
+ "private_token": 7,
485
+ "rects": 12,
541
486
  "stack": 1,
542
487
  "storage": 5,
543
- "stylesheets": 3,
544
- "summarizer_availability": 0,
545
- "svg_geometry": 18,
546
- "worker_fetch": 1,
547
- "worker_navigator": 7
488
+ "stylesheets": 5,
489
+ "summarizer_availability": 1,
490
+ "svg_geometry": 51,
491
+ "websocket_echo": 7,
492
+ "worker_fetch": 4,
493
+ "worker_navigator": 13
548
494
  },
549
- "startup_ms": 119,
550
- "pending_ms": 227
495
+ "startup_ms": 281,
496
+ "pending_ms": 191
551
497
  },
552
498
  "answers": "safari-26-ios/answers.json",
553
499
  "challenge_page_answers": "safari-26-ios/challenge-page-answers.json"
@@ -0,0 +1,42 @@
1
+ // Measure CSSOM serialization offline, using only a saved capture's inline styles.
2
+ // Usage: node scripts/capture_cssom.mjs <capture.json> <cssom.json>
3
+ // Pass cssom.json as build_profile's optional second argument. The builder verifies
4
+ // the measurements against the hash the captured browser actually reported.
5
+ import fs from 'node:fs';
6
+ import os from 'node:os';
7
+ import path from 'node:path';
8
+ import { execFileSync } from 'node:child_process';
9
+
10
+ const [input, output] = process.argv.slice(2);
11
+ if (!input || !output) throw new Error('Supply capture.json and output cssom.json');
12
+ const capture = JSON.parse(fs.readFileSync(input, 'utf8'));
13
+ const styles = [...capture.iframeHtml.matchAll(/<style\b[^>]*>([\s\S]*?)<\/style\s*>/gi)].map(match => match[1]);
14
+ const directory = fs.mkdtempSync(path.join(os.tmpdir(), 'cf-cssom-'));
15
+ try {
16
+ const encoded = Buffer.from(JSON.stringify(styles)).toString('base64');
17
+ const document = `<!doctype html><meta charset="utf-8"><pre id="out"></pre><script>
18
+ const sources = JSON.parse(new TextDecoder().decode(Uint8Array.from(atob('${encoded}'), c => c.charCodeAt(0))));
19
+ const result = sources.map(source => {
20
+ const style = document.createElement('style');
21
+ style.textContent = source;
22
+ document.head.append(style);
23
+ return { source, rules: Array.from(style.sheet.cssRules, rule => rule.cssText) };
24
+ });
25
+ document.getElementById('out').textContent = JSON.stringify(result);
26
+ </script>`;
27
+ const file = path.join(directory, 'styles.html');
28
+ fs.writeFileSync(file, document);
29
+ const dom = execFileSync(process.env.CHROMIUM || 'chromium', [
30
+ '--headless=new', '--no-sandbox', '--disable-gpu', '--disable-background-networking',
31
+ '--host-resolver-rules=MAP * ~NOTFOUND', `--user-data-dir=${path.join(directory, 'profile')}`,
32
+ '--dump-dom', `file://${file}`,
33
+ ], { encoding: 'utf8', timeout: 30000, maxBuffer: 4 * 1024 * 1024, stdio: ['ignore', 'pipe', 'pipe'] });
34
+ const found = dom.match(/<pre id="out">([\s\S]*?)<\/pre>/);
35
+ if (!found) throw new Error('Chromium did not return CSSOM measurements');
36
+ const decoded = found[1].replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&amp;/g, '&');
37
+ const result = JSON.parse(decoded);
38
+ if (result.length !== styles.length) throw new Error('CSSOM measurement count differs');
39
+ fs.writeFileSync(output, JSON.stringify(result, null, 2) + '\n');
40
+ } finally {
41
+ fs.rmSync(directory, { recursive: true, force: true });
42
+ }
@@ -0,0 +1,111 @@
1
+ #!/usr/bin/env python3
2
+ """Measure saved iframe styles in another browser without replaying a challenge.
3
+
4
+ Usage: serve_cssom.py <output-directory> <capture.json>... [--port 8766]
5
+ Open the printed LAN URL in the browser being profiled.
6
+ """
7
+
8
+ import argparse
9
+ import json
10
+ import re
11
+ from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
12
+ from pathlib import Path
13
+
14
+
15
+ PAGE = b'''<!doctype html><meta charset="utf-8">
16
+ <meta name="viewport" content="width=device-width,initial-scale=1">
17
+ <title>Safari stylesheet measurement</title>
18
+ <body style="font:18px system-ui;padding:24px"><h1>Stylesheet measurement</h1>
19
+ <p id="status">Measuring this browser...</p>
20
+ <script>
21
+ (async () => {
22
+ const captures = await (await fetch('/styles.json')).json();
23
+ const results = [];
24
+ for (const capture of captures) {
25
+ const frame = document.createElement('iframe');
26
+ frame.style.display = 'none';
27
+ document.body.append(frame);
28
+ const doc = frame.contentDocument;
29
+ const sheets = capture.sources.map(source => {
30
+ const style = doc.createElement('style');
31
+ style.textContent = source;
32
+ doc.head.append(style);
33
+ return {source, rules: Array.from(style.sheet.cssRules, rule => rule.cssText)};
34
+ });
35
+ results.push({name: capture.name, sheets});
36
+ frame.remove();
37
+ }
38
+ const response = await fetch('/measurements', {
39
+ method: 'POST', headers: {'Content-Type': 'application/json'},
40
+ body: JSON.stringify({userAgent: navigator.userAgent, results})
41
+ });
42
+ if (!response.ok) throw new Error(await response.text());
43
+ document.getElementById('status').textContent = 'Saved successfully. You can close this page and tell me it is done.';
44
+ })().catch(error => document.getElementById('status').textContent = 'Measurement failed: ' + error.message);
45
+ </script>'''
46
+
47
+
48
+ def main():
49
+ parser = argparse.ArgumentParser(description=__doc__)
50
+ parser.add_argument('output', type=Path)
51
+ parser.add_argument('captures', nargs='+', type=Path)
52
+ parser.add_argument('--port', type=int, default=8766)
53
+ arguments = parser.parse_args()
54
+ arguments.output.mkdir(parents=True, exist_ok=True)
55
+ captures = []
56
+ for index, path in enumerate(arguments.captures):
57
+ capture = json.loads(path.read_text())
58
+ sources = re.findall(r'<style\b[^>]*>([\s\S]*?)</style\s*>', capture['iframeHtml'], re.I)
59
+ if not sources:
60
+ raise ValueError(f'No stylesheets in {path}')
61
+ captures.append({'name': f'{index:02d}-{path.parent.name}', 'sources': sources})
62
+ expected = {capture['name']: capture['sources'] for capture in captures}
63
+
64
+ class Handler(BaseHTTPRequestHandler):
65
+ def reply(self, status, content, content_type='text/plain'):
66
+ self.send_response(status)
67
+ self.send_header('Content-Type', content_type)
68
+ self.send_header('Content-Length', str(len(content)))
69
+ self.send_header('Cache-Control', 'no-store')
70
+ self.end_headers()
71
+ self.wfile.write(content)
72
+
73
+ def do_GET(self):
74
+ if self.path == '/':
75
+ self.reply(200, PAGE, 'text/html; charset=utf-8')
76
+ elif self.path == '/styles.json':
77
+ self.reply(200, json.dumps(captures).encode(), 'application/json')
78
+ else:
79
+ self.reply(404, b'Not found')
80
+
81
+ def do_POST(self):
82
+ if self.path != '/measurements':
83
+ return self.reply(404, b'Not found')
84
+ try:
85
+ length = int(self.headers.get('Content-Length', '0'))
86
+ if not 0 < length < 4_000_000:
87
+ raise ValueError('Invalid measurement size')
88
+ measured = json.loads(self.rfile.read(length))
89
+ if {result['name'] for result in measured['results']} != set(expected):
90
+ raise ValueError('Unexpected capture names')
91
+ for result in measured['results']:
92
+ if [sheet['source'] for sheet in result['sheets']] != expected[result['name']]:
93
+ raise ValueError('Stylesheet sources differ')
94
+ if not all(isinstance(rule, str) for sheet in result['sheets'] for rule in sheet['rules']):
95
+ raise ValueError('Invalid CSS rules')
96
+ # Write only after the entire measurement has validated.
97
+ for result in measured['results']:
98
+ (arguments.output / f"{result['name']}.json").write_text(json.dumps(result['sheets'], indent=2) + '\n')
99
+ (arguments.output / 'browser.json').write_text(json.dumps({'userAgent': measured['userAgent']}, indent=2) + '\n')
100
+ print(f"Saved {len(measured['results'])} captures from {measured['userAgent']}", flush=True)
101
+ self.reply(200, b'Saved')
102
+ except (ValueError, KeyError, TypeError) as error:
103
+ self.reply(400, str(error).encode())
104
+
105
+ server = ThreadingHTTPServer(('0.0.0.0', arguments.port), Handler)
106
+ print(f'Listening on port {arguments.port}; open this computer\'s LAN address in Safari.', flush=True)
107
+ server.serve_forever()
108
+
109
+
110
+ if __name__ == '__main__':
111
+ main()
@@ -12,7 +12,8 @@
12
12
  //! pages are intercepted.
13
13
  //!
14
14
  //! Ctrl-C waits for session extraction to finish and writes the logs. A second Ctrl-C writes
15
- //! the logs without waiting.
15
+ //! the logs without waiting. On Windows, closing the console also writes the logs without
16
+ //! waiting, because Windows ends the process a few seconds later.
16
17
 
17
18
  mod cli;
18
19
  mod io;
@@ -49,7 +50,7 @@ fn main() -> Result<()> {
49
50
  let runtime = Builder::new_multi_thread().enable_all().build()?;
50
51
  let result = runtime.block_on(async {
51
52
  // Use the same upstream proxy for forwarded requests and tunnels.
52
- let client = transport.client(arguments.upstream_proxy.as_deref())?;
53
+ let client = transport.client(arguments.upstream_proxy.as_deref(), None)?;
53
54
  CaptureProxy::try_new(config, client, ca)?.run().await
54
55
  });
55
56
  // Exit without waiting for an extraction still in progress.
@@ -37,7 +37,10 @@ Options:
37
37
  --solve.
38
38
  --proxy <url> Send every request through an http://, https://,
39
39
  socks5:// or socks5h:// proxy. Credentials go in the
40
- URL: socks5h://user:password@host:port.";
40
+ URL: socks5h://user:password@host:port.
41
+ --trust-ca <cert.pem>
42
+ Trust this certificate instead of the built-in roots,
43
+ such as capture-proxy's CA, to record the session.";
41
44
 
42
45
  /// Session settings from the command line.
43
46
  #[derive(Debug)]
@@ -46,6 +49,7 @@ pub struct SessionArgs {
46
49
  pub directory: PathBuf,
47
50
  pub fingerprint: PathBuf,
48
51
  pub proxy: Option<String>,
52
+ pub trust_ca: Option<PathBuf>,
49
53
  }
50
54
 
51
55
  /// The page or iframe that starts a session, and how far the session goes.
@@ -67,7 +71,7 @@ pub fn parse(arguments: impl IntoIterator<Item = OsString>) -> Result<Option<Ses
67
71
  let mut arguments = arguments.into_iter();
68
72
  let (mut page, mut fingerprint, mut proxy) = (None, None, None);
69
73
  let (mut sitekey, mut action, mut cdata) = (None, None, None);
70
- let (mut solve, mut blank) = (None, None);
74
+ let (mut solve, mut blank, mut trust_ca) = (None, None, None);
71
75
  let mut positional = Vec::new();
72
76
  while let Some(argument) = arguments.next() {
73
77
  let Some(name) = argument
@@ -91,6 +95,7 @@ pub fn parse(arguments: impl IntoIterator<Item = OsString>) -> Result<Option<Ses
91
95
  "--action" => once(&mut action, name, text(&mut arguments, name)?)?,
92
96
  "--cdata" => once(&mut cdata, name, text(&mut arguments, name)?)?,
93
97
  "--proxy" => once(&mut proxy, name, proxy_url(&value(&mut arguments, name)?)?)?,
98
+ "--trust-ca" => once(&mut trust_ca, name, value(&mut arguments, name)?.into())?,
94
99
  _ => bail!("unknown option {name}\n\n{USAGE}"),
95
100
  }
96
101
  }
@@ -147,6 +152,7 @@ pub fn parse(arguments: impl IntoIterator<Item = OsString>) -> Result<Option<Ses
147
152
  directory: directory.into(),
148
153
  fingerprint: fingerprint.into(),
149
154
  proxy,
155
+ trust_ca,
150
156
  }))
151
157
  }
152
158
 
@@ -4,10 +4,10 @@
4
4
  mod cli;
5
5
  mod io;
6
6
 
7
- use std::env;
8
7
  use std::sync::Arc;
8
+ use std::{env, fs};
9
9
 
10
- use anyhow::Result;
10
+ use anyhow::{Context, Result};
11
11
  use cfsolve::{Browser, Options, Outcome};
12
12
  use tokio::runtime::Builder;
13
13
 
@@ -21,9 +21,14 @@ fn main() -> Result<()> {
21
21
  };
22
22
  // Load the browser before any network access.
23
23
  let browser = Browser::read(&arguments.fingerprint)?;
24
+ let trusted_root = arguments
25
+ .trust_ca
26
+ .map(|path| fs::read(&path).with_context(|| format!("reading {}", path.display())))
27
+ .transpose()?;
24
28
  let artifacts = Artifacts::try_new(arguments.directory)?;
25
29
  let options = Options {
26
30
  proxy: arguments.proxy,
31
+ trusted_root,
27
32
  sink: Some(Arc::new(artifacts)),
28
33
  };
29
34
  let runtime = Builder::new_multi_thread().enable_all().build()?;