stealthhttp 0.5.0__tar.gz → 0.6.2__tar.gz

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 (324) hide show
  1. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/CHANGELOG.md +16 -0
  2. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/Cargo.lock +90 -23
  3. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/Cargo.toml +11 -3
  4. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/PKG-INFO +49 -53
  5. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/README.md +48 -52
  6. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/pyproject.toml +1 -1
  7. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/__init__.py +28 -12
  8. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/_fallback.py +51 -24
  9. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/_loader.py +1 -1
  10. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/adaptive_persona.py +1 -9
  11. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/ambient.py +29 -18
  12. stealthhttp-0.6.2/python/stealthhttp/auto_bypass.py +444 -0
  13. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/backends/curl_backend.py +1 -1
  14. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/backends/native_backend.py +23 -5
  15. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/backends/wreq_backend.py +1 -1
  16. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/browser_cookies.py +2 -1
  17. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/browser_fsm.py +12 -6
  18. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/browser_pool.py +1 -1
  19. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/browsing.py +17 -7
  20. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/__init__.py +8 -1
  21. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/akamai.py +1 -1
  22. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/cloudflare.py +1 -1
  23. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/datadome.py +1 -1
  24. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/imperva.py +1 -1
  25. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/kasada.py +1 -1
  26. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/perimeterx.py +43 -6
  27. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/shape.py +1 -1
  28. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/solver.py +3 -3
  29. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/canvas_webgl_sim.py +2 -2
  30. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/captcha_farm.py +19 -9
  31. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/cdp_solver.py +118 -167
  32. stealthhttp-0.6.2/python/stealthhttp/cdp_transport.py +147 -0
  33. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/challenge_vm.py +20 -8
  34. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/clienthints.py +12 -2
  35. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/coherence.py +13 -7
  36. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/collectors/datadome.py +11 -6
  37. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/collectors/imperva.py +4 -2
  38. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/collectors/kasada.py +2 -2
  39. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/collectors/perimeterx.py +3 -3
  40. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/cookies.py +17 -5
  41. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/cover_traffic.py +1 -1
  42. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/detection.py +2 -2
  43. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/doh.py +27 -51
  44. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/entropy_mask.py +6 -26
  45. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/geo.py +2 -2
  46. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/har.py +3 -10
  47. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/hooks.py +1 -1
  48. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/hsts.py +0 -1
  49. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/identity.py +5 -4
  50. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/jsdb.py +23 -4
  51. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/jsenv.py +22 -22
  52. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/lifecycle.py +4 -4
  53. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/mesh.py +5 -5
  54. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/multipart.py +1 -1
  55. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/pow.py +31 -7
  56. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/prepare.py +5 -1
  57. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/proto_chameleon.py +7 -4
  58. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/proxy.py +12 -5
  59. stealthhttp-0.6.2/python/stealthhttp/quic_fingerprint.py +295 -0
  60. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/record_replay.py +1 -1
  61. stealthhttp-0.6.2/python/stealthhttp/request_graph.py +423 -0
  62. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/response.py +10 -2
  63. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/rotation.py +12 -3
  64. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/selfcheck.py +46 -4
  65. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/session.py +10 -6
  66. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/session_dna.py +1 -1
  67. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/session_ext.py +61 -0
  68. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/site_recipes.py +13 -13
  69. stealthhttp-0.6.2/python/stealthhttp/smart_proxy.py +499 -0
  70. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/audio.py +1 -1
  71. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/browser.py +3 -3
  72. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/providers.py +1 -1
  73. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/stealth_audit.py +1 -1
  74. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/synth_fingerprint.py +2 -2
  75. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tcp_tuning.py +175 -0
  76. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tls_clone.py +7 -7
  77. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tls_ext.py +8 -2
  78. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/traffic_morph.py +3 -19
  79. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/waf_recon.py +6 -1
  80. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/websocket.py +58 -92
  81. stealthhttp-0.6.2/python/stealthhttp/ws_tunnel.py +236 -0
  82. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/fingerprint/headers.rs +32 -7
  83. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/fingerprint/profile.rs +20 -8
  84. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/lib.rs +21 -0
  85. stealthhttp-0.6.2/src/pow.rs +243 -0
  86. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/transport/engine.rs +123 -29
  87. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/conftest.py +2 -0
  88. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_bypass.py +1 -1
  89. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_bypasses.py +3 -2
  90. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_emulation.py +1 -1
  91. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_fingerprint.py +1 -1
  92. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_jsemu.py +7 -3
  93. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_live_bypass.py +1 -1
  94. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_live_detection.py +2 -2
  95. stealthhttp-0.6.2/tests/test_live_trust.py +284 -0
  96. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_new_features.py +1 -1
  97. stealthhttp-0.6.2/vendor/h2/.github/FUNDING.yml +1 -0
  98. stealthhttp-0.6.2/vendor/h2/.github/workflows/CI.yml +115 -0
  99. stealthhttp-0.6.2/vendor/h2/.gitignore +10 -0
  100. stealthhttp-0.6.2/vendor/h2/CHANGELOG.md +409 -0
  101. stealthhttp-0.6.2/vendor/h2/CONTRIBUTING.md +84 -0
  102. stealthhttp-0.6.2/vendor/h2/Cargo.toml +159 -0
  103. stealthhttp-0.6.2/vendor/h2/LICENSE +25 -0
  104. stealthhttp-0.6.2/vendor/h2/README.md +58 -0
  105. stealthhttp-0.6.2/vendor/h2/benches/main.rs +148 -0
  106. stealthhttp-0.6.2/vendor/h2/examples/akamai.rs +72 -0
  107. stealthhttp-0.6.2/vendor/h2/examples/client.rs +52 -0
  108. stealthhttp-0.6.2/vendor/h2/examples/server.rs +65 -0
  109. stealthhttp-0.6.2/vendor/h2/src/client.rs +1726 -0
  110. stealthhttp-0.6.2/vendor/h2/src/codec/error.rs +106 -0
  111. stealthhttp-0.6.2/vendor/h2/src/codec/framed_read.rs +479 -0
  112. stealthhttp-0.6.2/vendor/h2/src/codec/framed_write.rs +367 -0
  113. stealthhttp-0.6.2/vendor/h2/src/codec/mod.rs +206 -0
  114. stealthhttp-0.6.2/vendor/h2/src/error.rs +211 -0
  115. stealthhttp-0.6.2/vendor/h2/src/ext.rs +55 -0
  116. stealthhttp-0.6.2/vendor/h2/src/frame/data.rs +278 -0
  117. stealthhttp-0.6.2/vendor/h2/src/frame/go_away.rs +87 -0
  118. stealthhttp-0.6.2/vendor/h2/src/frame/head.rs +94 -0
  119. stealthhttp-0.6.2/vendor/h2/src/frame/headers.rs +1344 -0
  120. stealthhttp-0.6.2/vendor/h2/src/frame/mod.rs +174 -0
  121. stealthhttp-0.6.2/vendor/h2/src/frame/ping.rs +102 -0
  122. stealthhttp-0.6.2/vendor/h2/src/frame/priority.rs +72 -0
  123. stealthhttp-0.6.2/vendor/h2/src/frame/reason.rs +134 -0
  124. stealthhttp-0.6.2/vendor/h2/src/frame/reset.rs +56 -0
  125. stealthhttp-0.6.2/vendor/h2/src/frame/settings.rs +411 -0
  126. stealthhttp-0.6.2/vendor/h2/src/frame/stream_id.rs +94 -0
  127. stealthhttp-0.6.2/vendor/h2/src/frame/util.rs +79 -0
  128. stealthhttp-0.6.2/vendor/h2/src/frame/window_update.rs +62 -0
  129. stealthhttp-0.6.2/vendor/h2/src/fuzz_bridge.rs +29 -0
  130. stealthhttp-0.6.2/vendor/h2/src/hpack/decoder.rs +949 -0
  131. stealthhttp-0.6.2/vendor/h2/src/hpack/encoder.rs +720 -0
  132. stealthhttp-0.6.2/vendor/h2/src/hpack/header.rs +308 -0
  133. stealthhttp-0.6.2/vendor/h2/src/hpack/huffman/mod.rs +199 -0
  134. stealthhttp-0.6.2/vendor/h2/src/hpack/huffman/table.rs +5130 -0
  135. stealthhttp-0.6.2/vendor/h2/src/hpack/mod.rs +12 -0
  136. stealthhttp-0.6.2/vendor/h2/src/hpack/table.rs +766 -0
  137. stealthhttp-0.6.2/vendor/h2/src/hpack/test/fixture.rs +618 -0
  138. stealthhttp-0.6.2/vendor/h2/src/hpack/test/fuzz.rs +367 -0
  139. stealthhttp-0.6.2/vendor/h2/src/hpack/test/mod.rs +2 -0
  140. stealthhttp-0.6.2/vendor/h2/src/lib.rs +168 -0
  141. stealthhttp-0.6.2/vendor/h2/src/proto/connection.rs +641 -0
  142. stealthhttp-0.6.2/vendor/h2/src/proto/error.rs +100 -0
  143. stealthhttp-0.6.2/vendor/h2/src/proto/go_away.rs +154 -0
  144. stealthhttp-0.6.2/vendor/h2/src/proto/mod.rs +42 -0
  145. stealthhttp-0.6.2/vendor/h2/src/proto/peer.rs +95 -0
  146. stealthhttp-0.6.2/vendor/h2/src/proto/ping_pong.rs +291 -0
  147. stealthhttp-0.6.2/vendor/h2/src/proto/settings.rs +168 -0
  148. stealthhttp-0.6.2/vendor/h2/src/proto/streams/buffer.rs +99 -0
  149. stealthhttp-0.6.2/vendor/h2/src/proto/streams/counts.rs +285 -0
  150. stealthhttp-0.6.2/vendor/h2/src/proto/streams/flow_control.rs +269 -0
  151. stealthhttp-0.6.2/vendor/h2/src/proto/streams/mod.rs +128 -0
  152. stealthhttp-0.6.2/vendor/h2/src/proto/streams/prioritize.rs +958 -0
  153. stealthhttp-0.6.2/vendor/h2/src/proto/streams/recv.rs +1264 -0
  154. stealthhttp-0.6.2/vendor/h2/src/proto/streams/send.rs +647 -0
  155. stealthhttp-0.6.2/vendor/h2/src/proto/streams/state.rs +475 -0
  156. stealthhttp-0.6.2/vendor/h2/src/proto/streams/store.rs +474 -0
  157. stealthhttp-0.6.2/vendor/h2/src/proto/streams/stream.rs +600 -0
  158. stealthhttp-0.6.2/vendor/h2/src/proto/streams/streams.rs +1759 -0
  159. stealthhttp-0.6.2/vendor/h2/src/server.rs +1758 -0
  160. stealthhttp-0.6.2/vendor/h2/src/share.rs +606 -0
  161. stealthhttp-0.6.2/vendor/hyper/Cargo.toml +360 -0
  162. stealthhttp-0.6.2/vendor/hyper/LICENSE +19 -0
  163. stealthhttp-0.6.2/vendor/hyper/README.md +44 -0
  164. stealthhttp-0.6.2/vendor/hyper/src/body/incoming.rs +641 -0
  165. stealthhttp-0.6.2/vendor/hyper/src/body/length.rs +129 -0
  166. stealthhttp-0.6.2/vendor/hyper/src/body/mod.rs +50 -0
  167. stealthhttp-0.6.2/vendor/hyper/src/cfg.rs +44 -0
  168. stealthhttp-0.6.2/vendor/hyper/src/client/conn/http1.rs +646 -0
  169. stealthhttp-0.6.2/vendor/hyper/src/client/conn/http2.rs +780 -0
  170. stealthhttp-0.6.2/vendor/hyper/src/client/conn/mod.rs +22 -0
  171. stealthhttp-0.6.2/vendor/hyper/src/client/dispatch.rs +533 -0
  172. stealthhttp-0.6.2/vendor/hyper/src/client/mod.rs +22 -0
  173. stealthhttp-0.6.2/vendor/hyper/src/client/tests.rs +261 -0
  174. stealthhttp-0.6.2/vendor/hyper/src/common/buf.rs +150 -0
  175. stealthhttp-0.6.2/vendor/hyper/src/common/date.rs +143 -0
  176. stealthhttp-0.6.2/vendor/hyper/src/common/either.rs +46 -0
  177. stealthhttp-0.6.2/vendor/hyper/src/common/future.rs +30 -0
  178. stealthhttp-0.6.2/vendor/hyper/src/common/io/compat.rs +163 -0
  179. stealthhttp-0.6.2/vendor/hyper/src/common/io/mod.rs +7 -0
  180. stealthhttp-0.6.2/vendor/hyper/src/common/io/rewind.rs +170 -0
  181. stealthhttp-0.6.2/vendor/hyper/src/common/lock.rs +15 -0
  182. stealthhttp-0.6.2/vendor/hyper/src/common/mod.rs +22 -0
  183. stealthhttp-0.6.2/vendor/hyper/src/common/task.rs +45 -0
  184. stealthhttp-0.6.2/vendor/hyper/src/common/time.rs +86 -0
  185. stealthhttp-0.6.2/vendor/hyper/src/common/watch.rs +73 -0
  186. stealthhttp-0.6.2/vendor/hyper/src/error.rs +740 -0
  187. stealthhttp-0.6.2/vendor/hyper/src/ext/h1_reason_phrase.rs +222 -0
  188. stealthhttp-0.6.2/vendor/hyper/src/ext/informational.rs +86 -0
  189. stealthhttp-0.6.2/vendor/hyper/src/ext/mod.rs +298 -0
  190. stealthhttp-0.6.2/vendor/hyper/src/ffi/body.rs +302 -0
  191. stealthhttp-0.6.2/vendor/hyper/src/ffi/client.rs +274 -0
  192. stealthhttp-0.6.2/vendor/hyper/src/ffi/error.rs +96 -0
  193. stealthhttp-0.6.2/vendor/hyper/src/ffi/http_types.rs +707 -0
  194. stealthhttp-0.6.2/vendor/hyper/src/ffi/io.rs +198 -0
  195. stealthhttp-0.6.2/vendor/hyper/src/ffi/macros.rs +53 -0
  196. stealthhttp-0.6.2/vendor/hyper/src/ffi/mod.rs +99 -0
  197. stealthhttp-0.6.2/vendor/hyper/src/ffi/task.rs +562 -0
  198. stealthhttp-0.6.2/vendor/hyper/src/headers.rs +157 -0
  199. stealthhttp-0.6.2/vendor/hyper/src/lib.rs +147 -0
  200. stealthhttp-0.6.2/vendor/hyper/src/mock.rs +237 -0
  201. stealthhttp-0.6.2/vendor/hyper/src/proto/h1/conn.rs +1531 -0
  202. stealthhttp-0.6.2/vendor/hyper/src/proto/h1/decode.rs +1287 -0
  203. stealthhttp-0.6.2/vendor/hyper/src/proto/h1/dispatch.rs +865 -0
  204. stealthhttp-0.6.2/vendor/hyper/src/proto/h1/encode.rs +698 -0
  205. stealthhttp-0.6.2/vendor/hyper/src/proto/h1/io.rs +971 -0
  206. stealthhttp-0.6.2/vendor/hyper/src/proto/h1/mod.rs +113 -0
  207. stealthhttp-0.6.2/vendor/hyper/src/proto/h1/role.rs +3196 -0
  208. stealthhttp-0.6.2/vendor/hyper/src/proto/h2/client.rs +810 -0
  209. stealthhttp-0.6.2/vendor/hyper/src/proto/h2/mod.rs +320 -0
  210. stealthhttp-0.6.2/vendor/hyper/src/proto/h2/ping.rs +515 -0
  211. stealthhttp-0.6.2/vendor/hyper/src/proto/h2/server.rs +560 -0
  212. stealthhttp-0.6.2/vendor/hyper/src/proto/h2/upgrade.rs +353 -0
  213. stealthhttp-0.6.2/vendor/hyper/src/proto/mod.rs +73 -0
  214. stealthhttp-0.6.2/vendor/hyper/src/rt/bounds.rs +143 -0
  215. stealthhttp-0.6.2/vendor/hyper/src/rt/io.rs +544 -0
  216. stealthhttp-0.6.2/vendor/hyper/src/rt/mod.rs +48 -0
  217. stealthhttp-0.6.2/vendor/hyper/src/rt/timer.rs +143 -0
  218. stealthhttp-0.6.2/vendor/hyper/src/server/conn/http1.rs +572 -0
  219. stealthhttp-0.6.2/vendor/hyper/src/server/conn/http2.rs +324 -0
  220. stealthhttp-0.6.2/vendor/hyper/src/server/conn/mod.rs +20 -0
  221. stealthhttp-0.6.2/vendor/hyper/src/server/mod.rs +9 -0
  222. stealthhttp-0.6.2/vendor/hyper/src/service/http.rs +65 -0
  223. stealthhttp-0.6.2/vendor/hyper/src/service/mod.rs +30 -0
  224. stealthhttp-0.6.2/vendor/hyper/src/service/service.rs +112 -0
  225. stealthhttp-0.6.2/vendor/hyper/src/service/util.rs +82 -0
  226. stealthhttp-0.6.2/vendor/hyper/src/trace.rs +128 -0
  227. stealthhttp-0.6.2/vendor/hyper/src/upgrade.rs +418 -0
  228. stealthhttp-0.5.0/python/stealthhttp/auto_bypass.py +0 -212
  229. stealthhttp-0.5.0/python/stealthhttp/request_graph.py +0 -498
  230. stealthhttp-0.5.0/python/stealthhttp/smart_proxy.py +0 -233
  231. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/.cargo/config.toml +0 -0
  232. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/.github/workflows/release.yml +0 -0
  233. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/.gitignore +0 -0
  234. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/LICENSE +0 -0
  235. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/benchmarks/bench.py +0 -0
  236. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/benchmarks/bench_native.py +0 -0
  237. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/examples/basic.py +0 -0
  238. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/_rotation.py +0 -0
  239. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/antidetect.py +0 -0
  240. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/async_session.py +0 -0
  241. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/auto_profile.py +0 -0
  242. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/backends/__init__.py +0 -0
  243. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/backends/base.py +0 -0
  244. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/behavior.py +0 -0
  245. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/captcha.py +0 -0
  246. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/bypasses/flow.py +0 -0
  247. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/capabilities.py +0 -0
  248. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/captcha.py +0 -0
  249. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/challenge.py +0 -0
  250. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/collectors/__init__.py +0 -0
  251. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/collectors/akamai.py +0 -0
  252. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/collectors/shape.py +0 -0
  253. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/consistency.py +0 -0
  254. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/cookie_intel.py +0 -0
  255. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/device_db.py +0 -0
  256. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/dns_intel.py +0 -0
  257. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/dns_tunnel.py +0 -0
  258. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/error_analysis.py +0 -0
  259. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/exceptions.py +0 -0
  260. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/fingerprint_diff.py +0 -0
  261. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/forms.py +0 -0
  262. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/graphql.py +0 -0
  263. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/h2_frames.py +0 -0
  264. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/header_canon.py +0 -0
  265. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/health_monitor.py +0 -0
  266. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/honeypot_oracle.py +0 -0
  267. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/httpcache.py +0 -0
  268. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/humanize.py +0 -0
  269. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/immortal.py +0 -0
  270. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/js_sandbox.py +0 -0
  271. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/lint.py +0 -0
  272. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/middleware.py +0 -0
  273. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/parsing.py +0 -0
  274. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/poison_detect.py +0 -0
  275. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/predictive_rate.py +0 -0
  276. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/proxy_scoring.py +0 -0
  277. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/redirect_intel.py +0 -0
  278. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/replay_attack.py +0 -0
  279. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/resp_diff.py +0 -0
  280. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/response_decoder.py +0 -0
  281. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/response_intel.py +0 -0
  282. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/retry.py +0 -0
  283. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/rhythm.py +0 -0
  284. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/self_audit.py +0 -0
  285. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/sensors.py +0 -0
  286. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/session_coord.py +0 -0
  287. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/smart_retry.py +0 -0
  288. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/__init__.py +0 -0
  289. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/base.py +0 -0
  290. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/local.py +0 -0
  291. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/orchestrator.py +0 -0
  292. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/solving/vision.py +0 -0
  293. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/strategy.py +0 -0
  294. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_cdp_solver.py +0 -0
  295. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_features_v3.py +0 -0
  296. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_features_v3_live.py +0 -0
  297. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_v030_features.py +0 -0
  298. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_v040_features.py +0 -0
  299. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_v050_batch1.py +0 -0
  300. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_v050_batch2.py +0 -0
  301. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_v050_integrations.py +0 -0
  302. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tests/test_v050_live.py +0 -0
  303. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tls_intel.py +0 -0
  304. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/tls_session.py +0 -0
  305. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/python/stealthhttp/traffic.py +0 -0
  306. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/fingerprint/ja3.rs +0 -0
  307. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/fingerprint/ja4.rs +0 -0
  308. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/fingerprint/mod.rs +0 -0
  309. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/proxypool.rs +0 -0
  310. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/rotation.rs +0 -0
  311. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/transport/decode.rs +0 -0
  312. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/transport/mod.rs +0 -0
  313. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/src/transport/tls.rs +0 -0
  314. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_audio.py +0 -0
  315. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_bypasses_live.py +0 -0
  316. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_features_v2.py +0 -0
  317. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_features_v2_live.py +0 -0
  318. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_humanize.py +0 -0
  319. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_jsemu_live.py +0 -0
  320. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_policies.py +0 -0
  321. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_routing.py +0 -0
  322. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_session.py +0 -0
  323. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_solving.py +0 -0
  324. {stealthhttp-0.5.0 → stealthhttp-0.6.2}/tests/test_vision.py +0 -0
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.2] - 2026-08-13
4
+
5
+ ### Changed
6
+
7
+ - Default browser profile updated to chrome138 across all code and docs
8
+ - README updated with live test results (8/8 WAF-protected sites pass)
9
+ - Fingerprint verification: JA4 exact match confirmed against tls.peet.ws
10
+
11
+ ### Fixed
12
+
13
+ - 100+ trust audit fixes (TLS, headers, timing, leakage, security)
14
+ - GREASE algorithm, Chrome build numbers, Firefox/Safari/Edge consistency
15
+ - CDP solver timing jitter, lifecycle event ordering
16
+ - Cookie domain validation, file permissions, TOCTOU fixes
17
+ - HAR export no longer leaks proxy/backend info
18
+
3
19
  ## [0.5.0] - 2026-08-11
4
20
 
5
21
  ### Added
@@ -79,9 +79,9 @@ dependencies = [
79
79
 
80
80
  [[package]]
81
81
  name = "boring"
82
- version = "5.1.0"
82
+ version = "5.2.0"
83
83
  source = "registry+https://github.com/rust-lang/crates.io-index"
84
- checksum = "4b573999d5cb0fdb9e9bb495058981752547b6475ba5e346247ebbd329917549"
84
+ checksum = "47bf58283ad1560da95ab8dcbb6c71e18a89df30e6011e3582ddf755abe55c4a"
85
85
  dependencies = [
86
86
  "bitflags",
87
87
  "boring-sys",
@@ -92,9 +92,9 @@ dependencies = [
92
92
 
93
93
  [[package]]
94
94
  name = "boring-sys"
95
- version = "5.1.0"
95
+ version = "5.2.0"
96
96
  source = "registry+https://github.com/rust-lang/crates.io-index"
97
- checksum = "bbc39169cb8fa025002661c8d9148ed38a896908e4d308bb0cb55303f66e95d4"
97
+ checksum = "6993efa9d9f0ebf3b0c02c8e868cfe37d0854cd021d51204480a91ce23d6e444"
98
98
  dependencies = [
99
99
  "bindgen",
100
100
  "cmake",
@@ -183,6 +183,31 @@ dependencies = [
183
183
  "cfg-if",
184
184
  ]
185
185
 
186
+ [[package]]
187
+ name = "crossbeam-deque"
188
+ version = "0.8.7"
189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
190
+ checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
191
+ dependencies = [
192
+ "crossbeam-epoch",
193
+ "crossbeam-utils",
194
+ ]
195
+
196
+ [[package]]
197
+ name = "crossbeam-epoch"
198
+ version = "0.9.20"
199
+ source = "registry+https://github.com/rust-lang/crates.io-index"
200
+ checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
201
+ dependencies = [
202
+ "crossbeam-utils",
203
+ ]
204
+
205
+ [[package]]
206
+ name = "crossbeam-utils"
207
+ version = "0.8.22"
208
+ source = "registry+https://github.com/rust-lang/crates.io-index"
209
+ checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
210
+
186
211
  [[package]]
187
212
  name = "crypto-common"
188
213
  version = "0.1.7"
@@ -201,6 +226,7 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
201
226
  dependencies = [
202
227
  "block-buffer",
203
228
  "crypto-common",
229
+ "subtle",
204
230
  ]
205
231
 
206
232
  [[package]]
@@ -282,36 +308,36 @@ dependencies = [
282
308
 
283
309
  [[package]]
284
310
  name = "futures-channel"
285
- version = "0.3.33"
311
+ version = "0.3.34"
286
312
  source = "registry+https://github.com/rust-lang/crates.io-index"
287
- checksum = "262590f4fe6afeb0bc83be1daa64e52657fe185690a958af7f3ad0e92085c5ae"
313
+ checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
288
314
  dependencies = [
289
315
  "futures-core",
290
316
  ]
291
317
 
292
318
  [[package]]
293
319
  name = "futures-core"
294
- version = "0.3.33"
320
+ version = "0.3.34"
295
321
  source = "registry+https://github.com/rust-lang/crates.io-index"
296
- checksum = "2cd50c473c80f6d7c3670a752354b8e569b1a7cbfdc0419ec88e5edad85e0dc7"
322
+ checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
297
323
 
298
324
  [[package]]
299
325
  name = "futures-sink"
300
- version = "0.3.33"
326
+ version = "0.3.34"
301
327
  source = "registry+https://github.com/rust-lang/crates.io-index"
302
- checksum = "e34418ac499d6305c2fb5ad0ed2f6ac998c5f8ca209b4510f7f94242c647e307"
328
+ checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
303
329
 
304
330
  [[package]]
305
331
  name = "futures-task"
306
- version = "0.3.33"
332
+ version = "0.3.34"
307
333
  source = "registry+https://github.com/rust-lang/crates.io-index"
308
- checksum = "b231ed28831efb4a61a08580c4bc233ec56bc009f4cd8f52da2c3cb97df0c109"
334
+ checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
309
335
 
310
336
  [[package]]
311
337
  name = "futures-util"
312
- version = "0.3.33"
338
+ version = "0.3.34"
313
339
  source = "registry+https://github.com/rust-lang/crates.io-index"
314
- checksum = "a77a90a256fce34da66415271e30f94ee91c57b04b8a2c042d9cf3220179deaa"
340
+ checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
315
341
  dependencies = [
316
342
  "futures-core",
317
343
  "futures-task",
@@ -360,8 +386,6 @@ checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
360
386
  [[package]]
361
387
  name = "h2"
362
388
  version = "0.4.15"
363
- source = "registry+https://github.com/rust-lang/crates.io-index"
364
- checksum = "6cb093c84e8bd9b188d4c4a8cb6579fc016968d14c99882163cd3ff402a4f155"
365
389
  dependencies = [
366
390
  "atomic-waker",
367
391
  "bytes",
@@ -388,6 +412,21 @@ version = "0.5.0"
388
412
  source = "registry+https://github.com/rust-lang/crates.io-index"
389
413
  checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
390
414
 
415
+ [[package]]
416
+ name = "hex"
417
+ version = "0.4.3"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
420
+
421
+ [[package]]
422
+ name = "hmac"
423
+ version = "0.12.1"
424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
425
+ checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
426
+ dependencies = [
427
+ "digest",
428
+ ]
429
+
391
430
  [[package]]
392
431
  name = "http"
393
432
  version = "1.5.0"
@@ -410,9 +449,9 @@ dependencies = [
410
449
 
411
450
  [[package]]
412
451
  name = "http-body-util"
413
- version = "0.1.4"
452
+ version = "0.1.5"
414
453
  source = "registry+https://github.com/rust-lang/crates.io-index"
415
- checksum = "e9f41fd6a08e4d4ec69df65976da761afd5ad5e58a9d4acb46bd1c953a9e3ff2"
454
+ checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
416
455
  dependencies = [
417
456
  "bytes",
418
457
  "futures-core",
@@ -430,8 +469,6 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
430
469
  [[package]]
431
470
  name = "hyper"
432
471
  version = "1.11.0"
433
- source = "registry+https://github.com/rust-lang/crates.io-index"
434
- checksum = "d22053281f852e11534f5198498373cbb59295120a20771d90f7ed1897490a72"
435
472
  dependencies = [
436
473
  "atomic-waker",
437
474
  "bytes",
@@ -731,6 +768,26 @@ dependencies = [
731
768
  "getrandom 0.2.17",
732
769
  ]
733
770
 
771
+ [[package]]
772
+ name = "rayon"
773
+ version = "1.12.0"
774
+ source = "registry+https://github.com/rust-lang/crates.io-index"
775
+ checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
776
+ dependencies = [
777
+ "either",
778
+ "rayon-core",
779
+ ]
780
+
781
+ [[package]]
782
+ name = "rayon-core"
783
+ version = "1.13.0"
784
+ source = "registry+https://github.com/rust-lang/crates.io-index"
785
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
786
+ dependencies = [
787
+ "crossbeam-deque",
788
+ "crossbeam-utils",
789
+ ]
790
+
734
791
  [[package]]
735
792
  name = "regex"
736
793
  version = "1.13.1"
@@ -825,7 +882,7 @@ dependencies = [
825
882
 
826
883
  [[package]]
827
884
  name = "stealthhttp-core"
828
- version = "0.1.0"
885
+ version = "0.6.2"
829
886
  dependencies = [
830
887
  "boring",
831
888
  "boring-sys",
@@ -834,6 +891,9 @@ dependencies = [
834
891
  "flate2",
835
892
  "foreign-types",
836
893
  "futures-util",
894
+ "h2",
895
+ "hex",
896
+ "hmac",
837
897
  "http",
838
898
  "http-body-util",
839
899
  "hyper",
@@ -841,12 +901,19 @@ dependencies = [
841
901
  "pin-project-lite",
842
902
  "pyo3",
843
903
  "rand",
904
+ "rayon",
844
905
  "sha2",
845
906
  "tokio",
846
907
  "tokio-boring",
847
908
  "zstd",
848
909
  ]
849
910
 
911
+ [[package]]
912
+ name = "subtle"
913
+ version = "2.6.1"
914
+ source = "registry+https://github.com/rust-lang/crates.io-index"
915
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
916
+
850
917
  [[package]]
851
918
  name = "syn"
852
919
  version = "2.0.119"
@@ -892,9 +959,9 @@ dependencies = [
892
959
 
893
960
  [[package]]
894
961
  name = "tokio-boring"
895
- version = "5.0.0"
962
+ version = "5.2.0"
896
963
  source = "registry+https://github.com/rust-lang/crates.io-index"
897
- checksum = "888f55b68689784b01b8625c9c1486080d8a790972355d45a1bef231b5f5aa83"
964
+ checksum = "80b0cb8797d5f375289c1d478929ac08f98c535d6d000dcd01de05ad703782cd"
898
965
  dependencies = [
899
966
  "boring",
900
967
  "boring-sys",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "stealthhttp-core"
3
- version = "0.1.0"
3
+ version = "0.6.2"
4
4
  edition = "2021"
5
5
  description = "Fingerprint engine core for stealthhttp: profile database, JA3/JA4, rotation, proxy pool"
6
6
  license = "MIT"
@@ -18,7 +18,10 @@ crate-type = ["cdylib", "rlib"]
18
18
  pyo3 = { version = "0.23", features = ["abi3-py38"] }
19
19
  md-5 = "0.10"
20
20
  sha2 = "0.10"
21
+ hmac = "0.12"
22
+ hex = "0.4"
21
23
  rand = "0.8"
24
+ rayon = "1.10"
22
25
 
23
26
  # --- native transport ---------------------------------------------------
24
27
  # This is a client of our own, not a wrapper around one. BoringSSL supplies the
@@ -38,7 +41,8 @@ brotli-decompressor = { version = "5", optional = true, default-features = false
38
41
  flate2 = { version = "1", optional = true }
39
42
  zstd = { version = "0.13", optional = true }
40
43
  tokio-boring = { version = "5", optional = true }
41
- hyper = { version = "1", features = ["client", "http1", "http2"], optional = true }
44
+ h2 = { path = "vendor/h2", optional = true }
45
+ hyper = { path = "vendor/hyper", features = ["client", "http1", "http2"], optional = true }
42
46
  http-body-util = { version = "0.1", optional = true }
43
47
  http = { version = "1", optional = true }
44
48
  bytes = { version = "1", optional = true }
@@ -50,10 +54,14 @@ pin-project-lite = { version = "0.2", optional = true }
50
54
  default = ["transport"]
51
55
  extension-module = ["pyo3/extension-module"]
52
56
  transport = [
53
- "boring", "boring-sys", "foreign-types", "brotli-decompressor", "flate2", "zstd", "tokio-boring", "hyper", "http-body-util", "http", "bytes",
57
+ "boring", "boring-sys", "foreign-types", "brotli-decompressor", "flate2", "zstd", "tokio-boring", "h2", "hyper", "http-body-util", "http", "bytes",
54
58
  "futures-util", "tokio", "pin-project-lite",
55
59
  ]
56
60
 
61
+ [patch.crates-io]
62
+ h2 = { path = "vendor/h2" }
63
+ hyper = { path = "vendor/hyper" }
64
+
57
65
  [profile.release]
58
66
  opt-level = 3
59
67
  codegen-units = 1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stealthhttp
3
- Version: 0.5.0
3
+ Version: 0.6.2
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -32,7 +32,7 @@ A standalone HTTP client with TLS fingerprint impersonation — its own BoringSS
32
32
  ```python
33
33
  from stealthhttp import Session
34
34
 
35
- s = Session(browser="chrome136", proxy="http://user:pass@ip:port")
35
+ s = Session(browser="chrome138", proxy="http://user:pass@ip:port")
36
36
  r = s.get("https://example.com", timeout=15)
37
37
  print(r.status_code, r.text)
38
38
 
@@ -78,6 +78,25 @@ All 60 requests in the batch rode a single pooled HTTP/2 connection. The win isn
78
78
 
79
79
  Run it yourself: `python benchmarks/bench_native.py --n 80 --workers 16`.
80
80
 
81
+ ### Live test results (v0.6.2)
82
+
83
+ Tested against real sites, no proxy, native engine only:
84
+
85
+ | Target | WAF | Status | Result |
86
+ |---|---|---|---|
87
+ | cloudflare.com | Cloudflare | 200 | pass |
88
+ | discord.com | Cloudflare | 200 | pass |
89
+ | nike.com | Akamai Bot Manager | 200 | pass |
90
+ | hermes.com | DataDome | 200 | pass |
91
+ | incapsula.com | Imperva | 200 | pass |
92
+ | wikipedia.org | — | 200 | pass |
93
+ | example.com | — | 200 | pass |
94
+ | httpbin.org | — | 200 | pass |
95
+
96
+ Fingerprint verification (tls.peet.ws, browserleaks.com, howsmyssl.com): JA4 exact match, TLS 1.3, 16 ciphers, 18 extensions, GREASE rotation, correct HTTP/2 Akamai fingerprint — 5/5 checks passed.
97
+
98
+ Sites requiring a JS engine (Kasada, PerimeterX captcha, Shape) are expected to block at the HTTP layer — use the CDP solver or `BrowserBridge` for those.
99
+
81
100
  ### Known gaps, stated rather than hidden
82
101
 
83
102
  - Firefox lacks `record_size_limit` (28) and `delegated_credentials` (34) — `boring` exposes no API for either yet.
@@ -102,13 +121,13 @@ Everything visible at the HTTP layer is *derived from the same profile* that dri
102
121
 
103
122
  ```python
104
123
  >>> from stealthhttp import resolve_profile
105
- >>> resolve_profile("chrome141").sec_ch_ua
106
- '"Google Chrome";v="141", "Not?A_Brand";v="8", "Chromium";v="141"'
107
- >>> resolve_profile("firefox133").sec_ch_ua # correctly sends none
124
+ >>> resolve_profile("chrome138").sec_ch_ua
125
+ '"Not:A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"'
126
+ >>> resolve_profile("firefox144").sec_ch_ua # correctly sends none
108
127
  None
109
128
  ```
110
129
 
111
- The Chromium `sec-ch-ua` GREASE algorithm — brand permutation, GREASE punctuation, GREASE version — is derived from the major version, verified byte-for-byte against live Chrome 131/136/141, so it produces correct hints for versions no library ships yet.
130
+ The Chromium `sec-ch-ua` GREASE algorithm — brand permutation, GREASE punctuation, GREASE version — is derived from the major version, verified byte-for-byte against live Chrome 131–138, so it produces correct hints for versions no library ships yet.
112
131
 
113
132
  ### Request kinds: fetch metadata that matches what's being fetched
114
133
 
@@ -126,9 +145,9 @@ s.browse(page_url) # fetches the document, then its stylesheets/sc
126
145
 
127
146
  ```python
128
147
  >>> from stealthhttp import predict, verify
129
- >>> predict("chrome136").ja4
130
- 't13d1516h2_8daaf6152771_d8a2da3f94cd' # no network
131
- >>> verify("chrome136").ok # compares against a live capture
148
+ >>> predict("chrome138").ja4
149
+ 't13d1516h2_8daaf6152771_d8a2da3f94cd' # no network
150
+ >>> verify("chrome138").ok # compares against a live capture
132
151
  True
133
152
  ```
134
153
 
@@ -138,7 +157,7 @@ True
138
157
 
139
158
  ```python
140
159
  s = Session(
141
- browser=["chrome141", "firefox145", "edge140"], rotate="sticky_per_domain",
160
+ browser=["chrome138", "firefox144", "edge138"], rotate="sticky_per_domain",
142
161
  proxy_pool=["http://p1", "http://p2", "http://p3"],
143
162
  delay=(0.4, 1.8), jitter_distribution="lognormal",
144
163
  retries=3, circuit_breaker=True,
@@ -168,7 +187,7 @@ Owning the TCP connect makes this possible. `wreq` accepts `resolve=` and silent
168
187
  ```python
169
188
  from stealthhttp import Identity
170
189
 
171
- ident = Identity.from_storage_state("cookies_export.json", browser="chrome136", proxy=proxy)
190
+ ident = Identity.from_storage_state("cookies_export.json", browser="chrome138", proxy=proxy)
172
191
  s = Session(identity=ident)
173
192
  ...
174
193
  s.save_identity("account-42.json") # cookies + clearance pins, ready to resume
@@ -209,7 +228,7 @@ from stealthhttp import JsEnvironment, InteractionSequence
209
228
  from stealthhttp.collectors import AkamaiSensor, PerimeterXCollector
210
229
 
211
230
  # Coherent navigator/screen/WebGL/audio/canvas properties, derived from the profile
212
- env = JsEnvironment.derive("chrome141", platform="macos", seed=42)
231
+ env = JsEnvironment.derive("chrome138", platform="macos", seed=42)
213
232
  print(env.navigator_dict()) # matches what our HTTP headers claim
214
233
  print(env.webgl.renderer) # "ANGLE (Apple, ANGLE Metal Renderer: Apple M2, ...)"
215
234
 
@@ -236,7 +255,7 @@ What this covers:
236
255
  `auto_bypass=True` makes the session automatically detect and bypass antibot challenges without a real browser:
237
256
 
238
257
  ```python
239
- s = Session(browser="chrome141", proxy=proxy, auto_bypass=True)
258
+ s = Session(browser="chrome138", proxy=proxy, auto_bypass=True)
240
259
  r = s.get("https://akamai-protected-site.com") # _abck sensor submitted automatically
241
260
  r = s.get("https://datadome-site.com") # device fingerprint sent to api-js.datadome.co
242
261
  r = s.get("https://cloudflare-site.com") # PoW solved and submitted
@@ -294,11 +313,11 @@ Score your configuration against known detection vectors, compare fingerprint pr
294
313
  from stealthhttp import StealthScore, FingerprintDiff, format_diff
295
314
 
296
315
  scorer = StealthScore()
297
- result = scorer.score("chrome136")
316
+ result = scorer.score("chrome138")
298
317
  print(result.total, result.grade) # 66.25 C — TLS/HTTP/TCP/JS/timing/behavioral breakdown
299
318
 
300
319
  diff = FingerprintDiff()
301
- summary = diff.diff("chrome136", "firefox128")
320
+ summary = diff.diff("chrome138", "firefox140")
302
321
  print(format_diff(summary)) # field-by-field comparison with importance weighting
303
322
  ```
304
323
 
@@ -311,7 +330,7 @@ from stealthhttp import AutoProfileSelector
311
330
 
312
331
  selector = AutoProfileSelector()
313
332
  rec = selector.select("cloudflare.com", waf_vendor="cloudflare")
314
- print(rec.profile_name, rec.score) # chrome141 0.40
333
+ print(rec.profile_name, rec.score) # chrome138 0.40
315
334
  ```
316
335
 
317
336
  ### Header canonicalization (v0.2)
@@ -465,7 +484,6 @@ print(a.report())
465
484
  ```
466
485
 
467
486
  Listing the vectors this can't address (JS fingerprinting, the TCP/IP stack fingerprint, proof-of-work) next to the ones it does is deliberate — a partial defence advertised as complete just tells you to stop looking.
468
-
469
487
  ## Building the Rust core
470
488
 
471
489
  ```bash
@@ -488,44 +506,22 @@ cargo test --lib # Rust unit tests
488
506
  ## Layout
489
507
 
490
508
  ```
491
- src/lib.rs PyO3 bindings
492
- src/fingerprint/ profile DB, JA3, JA4, header engine
493
- src/transport/ native client: TLS, connection pool, batch engine
494
- src/rotation.rs, proxypool.rs rotation strategies, proxy state machine
495
- python/stealthhttp/ the package
496
- python/stealthhttp/backends/ native / wreq / curl_cffi, capability routing
497
- python/stealthhttp/solving/ captcha identification, orchestration, local + provider solvers
498
- python/stealthhttp/bypasses/ automatic antibot bypass engine (CF, Akamai, DD, PX, Imperva)
499
- python/stealthhttp/collectors/ antibot sensor payload generators (Akamai, PX, DataDome, Imperva)
500
- python/stealthhttp/jsenv.py JS environment property database + coherence engine
501
- python/stealthhttp/jsdb.py screen/hardware/WebGL/plugin databases
502
- python/stealthhttp/clienthints.py Accept-CH negotiation, Critical-CH retry
503
- python/stealthhttp/sensors.py mouse/keyboard/touch/scroll event generation
504
- python/stealthhttp/hsts.py HSTS preload + learned enforcement
505
- python/stealthhttp/pow.py proof-of-work solver (SHA-256, HMAC, double-SHA)
506
- python/stealthhttp/_fallback.py pure-Python mirror of the Rust fingerprint core
507
- python/stealthhttp/stealth_audit.py stealth scoring (0-100) + profile comparison
508
- python/stealthhttp/auto_profile.py WAF-aware automatic profile selection
509
- python/stealthhttp/header_canon.py browser header order + casing canonicalization
510
- python/stealthhttp/tls_intel.py TLS certificate analysis, CDN detection, MITM detection
511
- python/stealthhttp/response_intel.py response body fingerprinting JS detection, cookie classification
512
- python/stealthhttp/traffic.py network simulation, traffic shaping, bandwidth monitoring
513
- python/stealthhttp/dns_intel.py DNS leak prevention, CNAME tracking, CDN detection
514
- python/stealthhttp/proxy_scoring.py composite proxy scoring with percentiles
515
- python/stealthhttp/redirect_intel.py redirect chain tracking, challenge redirect detection
516
- python/stealthhttp/error_analysis.py error classification, pattern tracking, fix suggestions
517
- python/stealthhttp/session_coord.py multi-session coordination, shared rate limits
518
- python/stealthhttp/health_monitor.py real-time health monitoring and alerting
519
- python/stealthhttp/request_graph.py request dependency graph, waterfall, load-time simulation
520
- python/stealthhttp/response_decoder.py content decoding (gzip/br/zstd), charset detection
521
- python/stealthhttp/fingerprint_diff.py side-by-side profile comparison with weighted similarity
522
- benchmarks/
523
- tests/
509
+ src/ Rust core: PyO3 bindings, fingerprint DB, JA3/JA4, native transport
510
+ python/stealthhttp/ Python package
511
+ backends/ native / wreq / curl_cffi, capability routing
512
+ solving/ captcha ID, orchestration, local + provider solvers
513
+ bypasses/ auto antibot bypass (CF, Akamai, DD, PX, Imperva)
514
+ collectors/ sensor payload generators (Akamai, PX, DataDome, Imperva)
515
+ jsenv.py, jsdb.py JS environment emulation + hardware databases
516
+ sensors.py mouse/keyboard/touch/scroll event generation
517
+ clienthints.py, hsts.py Accept-CH negotiation, HSTS enforcement
518
+ pow.py proof-of-work solver (SHA-256, HMAC, double-SHA)
519
+ _fallback.py pure-Python mirror of the Rust fingerprint core
520
+ benchmarks/ performance benchmarks
521
+ tests/ 664 unit + integration tests
524
522
  ```
525
523
 
526
524
  ## Legal
527
525
 
528
- For authorised testing, research, and accessing services you have the right to access. Respect `robots.txt`, terms of service, and rate limits.
529
-
530
- MIT.
526
+ For authorised testing, research, and accessing services you have the right to access. Respect `robots.txt`, terms of service, and rate limits. MIT.
531
527