stealthhttp 0.5.0__tar.gz → 0.6.1__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.
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/Cargo.lock +88 -21
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/Cargo.toml +11 -3
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/PKG-INFO +1 -1
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/pyproject.toml +1 -1
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/__init__.py +26 -10
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/_fallback.py +17 -11
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/adaptive_persona.py +1 -9
- stealthhttp-0.6.1/python/stealthhttp/auto_bypass.py +443 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/native_backend.py +22 -4
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/browser_fsm.py +9 -3
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/browsing.py +14 -4
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/perimeterx.py +41 -4
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/canvas_webgl_sim.py +1 -1
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/cdp_solver.py +109 -158
- stealthhttp-0.6.1/python/stealthhttp/cdp_transport.py +147 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/coherence.py +13 -7
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/perimeterx.py +1 -1
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/cookies.py +4 -4
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/cover_traffic.py +1 -1
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/entropy_mask.py +6 -26
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/har.py +3 -3
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/hsts.py +0 -1
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/jsenv.py +15 -16
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/pow.py +31 -7
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/proxy.py +1 -0
- stealthhttp-0.6.1/python/stealthhttp/quic_fingerprint.py +295 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/record_replay.py +1 -1
- stealthhttp-0.6.1/python/stealthhttp/request_graph.py +423 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/response.py +6 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/selfcheck.py +39 -2
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/session.py +9 -6
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/session_dna.py +1 -1
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/session_ext.py +61 -0
- stealthhttp-0.6.1/python/stealthhttp/smart_proxy.py +499 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/synth_fingerprint.py +2 -2
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tcp_tuning.py +175 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/traffic_morph.py +3 -19
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/websocket.py +55 -92
- stealthhttp-0.6.1/python/stealthhttp/ws_tunnel.py +235 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/fingerprint/profile.rs +18 -5
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/lib.rs +21 -0
- stealthhttp-0.6.1/src/pow.rs +243 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/transport/engine.rs +123 -29
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_bypasses.py +3 -2
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_jsemu.py +7 -3
- stealthhttp-0.6.1/vendor/h2/.github/FUNDING.yml +1 -0
- stealthhttp-0.6.1/vendor/h2/.github/workflows/CI.yml +115 -0
- stealthhttp-0.6.1/vendor/h2/.gitignore +10 -0
- stealthhttp-0.6.1/vendor/h2/CHANGELOG.md +409 -0
- stealthhttp-0.6.1/vendor/h2/CONTRIBUTING.md +84 -0
- stealthhttp-0.6.1/vendor/h2/Cargo.toml +159 -0
- stealthhttp-0.6.1/vendor/h2/LICENSE +25 -0
- stealthhttp-0.6.1/vendor/h2/README.md +58 -0
- stealthhttp-0.6.1/vendor/h2/benches/main.rs +148 -0
- stealthhttp-0.6.1/vendor/h2/examples/akamai.rs +72 -0
- stealthhttp-0.6.1/vendor/h2/examples/client.rs +52 -0
- stealthhttp-0.6.1/vendor/h2/examples/server.rs +65 -0
- stealthhttp-0.6.1/vendor/h2/src/client.rs +1726 -0
- stealthhttp-0.6.1/vendor/h2/src/codec/error.rs +106 -0
- stealthhttp-0.6.1/vendor/h2/src/codec/framed_read.rs +479 -0
- stealthhttp-0.6.1/vendor/h2/src/codec/framed_write.rs +367 -0
- stealthhttp-0.6.1/vendor/h2/src/codec/mod.rs +206 -0
- stealthhttp-0.6.1/vendor/h2/src/error.rs +211 -0
- stealthhttp-0.6.1/vendor/h2/src/ext.rs +55 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/data.rs +278 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/go_away.rs +87 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/head.rs +94 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/headers.rs +1344 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/mod.rs +174 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/ping.rs +102 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/priority.rs +72 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/reason.rs +134 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/reset.rs +56 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/settings.rs +411 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/stream_id.rs +94 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/util.rs +79 -0
- stealthhttp-0.6.1/vendor/h2/src/frame/window_update.rs +62 -0
- stealthhttp-0.6.1/vendor/h2/src/fuzz_bridge.rs +29 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/decoder.rs +949 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/encoder.rs +720 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/header.rs +308 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/huffman/mod.rs +199 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/huffman/table.rs +5130 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/mod.rs +12 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/table.rs +766 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/test/fixture.rs +618 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/test/fuzz.rs +367 -0
- stealthhttp-0.6.1/vendor/h2/src/hpack/test/mod.rs +2 -0
- stealthhttp-0.6.1/vendor/h2/src/lib.rs +168 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/connection.rs +641 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/error.rs +100 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/go_away.rs +154 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/mod.rs +42 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/peer.rs +95 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/ping_pong.rs +291 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/settings.rs +168 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/buffer.rs +99 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/counts.rs +285 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/flow_control.rs +269 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/mod.rs +128 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/prioritize.rs +958 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/recv.rs +1264 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/send.rs +647 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/state.rs +475 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/store.rs +474 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/stream.rs +600 -0
- stealthhttp-0.6.1/vendor/h2/src/proto/streams/streams.rs +1759 -0
- stealthhttp-0.6.1/vendor/h2/src/server.rs +1758 -0
- stealthhttp-0.6.1/vendor/h2/src/share.rs +606 -0
- stealthhttp-0.6.1/vendor/hyper/Cargo.toml +360 -0
- stealthhttp-0.6.1/vendor/hyper/LICENSE +19 -0
- stealthhttp-0.6.1/vendor/hyper/README.md +44 -0
- stealthhttp-0.6.1/vendor/hyper/src/body/incoming.rs +641 -0
- stealthhttp-0.6.1/vendor/hyper/src/body/length.rs +129 -0
- stealthhttp-0.6.1/vendor/hyper/src/body/mod.rs +50 -0
- stealthhttp-0.6.1/vendor/hyper/src/cfg.rs +44 -0
- stealthhttp-0.6.1/vendor/hyper/src/client/conn/http1.rs +646 -0
- stealthhttp-0.6.1/vendor/hyper/src/client/conn/http2.rs +780 -0
- stealthhttp-0.6.1/vendor/hyper/src/client/conn/mod.rs +22 -0
- stealthhttp-0.6.1/vendor/hyper/src/client/dispatch.rs +533 -0
- stealthhttp-0.6.1/vendor/hyper/src/client/mod.rs +22 -0
- stealthhttp-0.6.1/vendor/hyper/src/client/tests.rs +261 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/buf.rs +150 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/date.rs +143 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/either.rs +46 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/future.rs +30 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/io/compat.rs +163 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/io/mod.rs +7 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/io/rewind.rs +170 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/lock.rs +15 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/mod.rs +22 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/task.rs +45 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/time.rs +86 -0
- stealthhttp-0.6.1/vendor/hyper/src/common/watch.rs +73 -0
- stealthhttp-0.6.1/vendor/hyper/src/error.rs +740 -0
- stealthhttp-0.6.1/vendor/hyper/src/ext/h1_reason_phrase.rs +222 -0
- stealthhttp-0.6.1/vendor/hyper/src/ext/informational.rs +86 -0
- stealthhttp-0.6.1/vendor/hyper/src/ext/mod.rs +298 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/body.rs +302 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/client.rs +274 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/error.rs +96 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/http_types.rs +707 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/io.rs +198 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/macros.rs +53 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/mod.rs +99 -0
- stealthhttp-0.6.1/vendor/hyper/src/ffi/task.rs +562 -0
- stealthhttp-0.6.1/vendor/hyper/src/headers.rs +157 -0
- stealthhttp-0.6.1/vendor/hyper/src/lib.rs +147 -0
- stealthhttp-0.6.1/vendor/hyper/src/mock.rs +237 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h1/conn.rs +1531 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h1/decode.rs +1287 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h1/dispatch.rs +865 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h1/encode.rs +698 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h1/io.rs +971 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h1/mod.rs +113 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h1/role.rs +3196 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h2/client.rs +810 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h2/mod.rs +320 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h2/ping.rs +515 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h2/server.rs +560 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/h2/upgrade.rs +353 -0
- stealthhttp-0.6.1/vendor/hyper/src/proto/mod.rs +73 -0
- stealthhttp-0.6.1/vendor/hyper/src/rt/bounds.rs +143 -0
- stealthhttp-0.6.1/vendor/hyper/src/rt/io.rs +544 -0
- stealthhttp-0.6.1/vendor/hyper/src/rt/mod.rs +48 -0
- stealthhttp-0.6.1/vendor/hyper/src/rt/timer.rs +143 -0
- stealthhttp-0.6.1/vendor/hyper/src/server/conn/http1.rs +572 -0
- stealthhttp-0.6.1/vendor/hyper/src/server/conn/http2.rs +324 -0
- stealthhttp-0.6.1/vendor/hyper/src/server/conn/mod.rs +20 -0
- stealthhttp-0.6.1/vendor/hyper/src/server/mod.rs +9 -0
- stealthhttp-0.6.1/vendor/hyper/src/service/http.rs +65 -0
- stealthhttp-0.6.1/vendor/hyper/src/service/mod.rs +30 -0
- stealthhttp-0.6.1/vendor/hyper/src/service/service.rs +112 -0
- stealthhttp-0.6.1/vendor/hyper/src/service/util.rs +82 -0
- stealthhttp-0.6.1/vendor/hyper/src/trace.rs +128 -0
- stealthhttp-0.6.1/vendor/hyper/src/upgrade.rs +418 -0
- stealthhttp-0.5.0/python/stealthhttp/auto_bypass.py +0 -212
- stealthhttp-0.5.0/python/stealthhttp/request_graph.py +0 -498
- stealthhttp-0.5.0/python/stealthhttp/smart_proxy.py +0 -233
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/.cargo/config.toml +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/.github/workflows/release.yml +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/.gitignore +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/CHANGELOG.md +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/LICENSE +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/README.md +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/benchmarks/bench.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/benchmarks/bench_native.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/examples/basic.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/_loader.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/_rotation.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/ambient.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/antidetect.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/async_session.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/auto_profile.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/__init__.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/base.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/curl_backend.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/wreq_backend.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/behavior.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/browser_cookies.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/browser_pool.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/__init__.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/akamai.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/captcha.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/cloudflare.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/datadome.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/flow.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/imperva.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/kasada.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/shape.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/solver.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/capabilities.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/captcha.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/captcha_farm.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/challenge.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/challenge_vm.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/clienthints.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/__init__.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/akamai.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/datadome.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/imperva.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/kasada.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/shape.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/consistency.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/cookie_intel.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/detection.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/device_db.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/dns_intel.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/dns_tunnel.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/doh.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/error_analysis.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/exceptions.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/fingerprint_diff.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/forms.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/geo.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/graphql.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/h2_frames.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/header_canon.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/health_monitor.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/honeypot_oracle.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/hooks.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/httpcache.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/humanize.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/identity.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/immortal.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/js_sandbox.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/jsdb.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/lifecycle.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/lint.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/mesh.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/middleware.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/multipart.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/parsing.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/poison_detect.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/predictive_rate.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/prepare.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/proto_chameleon.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/proxy_scoring.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/redirect_intel.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/replay_attack.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/resp_diff.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/response_decoder.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/response_intel.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/retry.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/rhythm.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/rotation.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/self_audit.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/sensors.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/session_coord.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/site_recipes.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/smart_retry.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/__init__.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/audio.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/base.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/browser.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/local.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/orchestrator.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/providers.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/vision.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/stealth_audit.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/strategy.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_cdp_solver.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_features_v3.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_features_v3_live.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v030_features.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v040_features.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v050_batch1.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v050_batch2.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v050_integrations.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v050_live.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tls_clone.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tls_ext.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tls_intel.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/tls_session.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/traffic.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/python/stealthhttp/waf_recon.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/fingerprint/headers.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/fingerprint/ja3.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/fingerprint/ja4.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/fingerprint/mod.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/proxypool.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/rotation.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/transport/decode.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/transport/mod.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/src/transport/tls.rs +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/conftest.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_audio.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_bypass.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_bypasses_live.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_emulation.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_features_v2.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_features_v2_live.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_fingerprint.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_humanize.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_jsemu_live.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_live_bypass.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_live_detection.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_new_features.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_policies.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_routing.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_session.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_solving.py +0 -0
- {stealthhttp-0.5.0 → stealthhttp-0.6.1}/tests/test_vision.py +0 -0
|
@@ -79,9 +79,9 @@ dependencies = [
|
|
|
79
79
|
|
|
80
80
|
[[package]]
|
|
81
81
|
name = "boring"
|
|
82
|
-
version = "5.
|
|
82
|
+
version = "5.2.0"
|
|
83
83
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
-
checksum = "
|
|
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.
|
|
95
|
+
version = "5.2.0"
|
|
96
96
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
97
|
-
checksum = "
|
|
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.
|
|
311
|
+
version = "0.3.34"
|
|
286
312
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
-
checksum = "
|
|
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.
|
|
320
|
+
version = "0.3.34"
|
|
295
321
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
-
checksum = "
|
|
322
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
297
323
|
|
|
298
324
|
[[package]]
|
|
299
325
|
name = "futures-sink"
|
|
300
|
-
version = "0.3.
|
|
326
|
+
version = "0.3.34"
|
|
301
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
-
checksum = "
|
|
328
|
+
checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
|
|
303
329
|
|
|
304
330
|
[[package]]
|
|
305
331
|
name = "futures-task"
|
|
306
|
-
version = "0.3.
|
|
332
|
+
version = "0.3.34"
|
|
307
333
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
-
checksum = "
|
|
334
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
309
335
|
|
|
310
336
|
[[package]]
|
|
311
337
|
name = "futures-util"
|
|
312
|
-
version = "0.3.
|
|
338
|
+
version = "0.3.34"
|
|
313
339
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
-
checksum = "
|
|
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"
|
|
@@ -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
|
|
885
|
+
version = "0.6.1"
|
|
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.
|
|
962
|
+
version = "5.2.0"
|
|
896
963
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
897
|
-
checksum = "
|
|
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
|
|
3
|
+
version = "0.6.1"
|
|
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
|
-
|
|
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
|
|
@@ -63,7 +63,7 @@ from .pow import PowSolution, solve_sha256
|
|
|
63
63
|
from .proxy import ProxyPool, detect_ban
|
|
64
64
|
from .response import Response
|
|
65
65
|
from .retry import CircuitBreaker, RetryPolicy
|
|
66
|
-
from .selfcheck import measure, predict, verify
|
|
66
|
+
from .selfcheck import measure, predict, verify, ja4h
|
|
67
67
|
from .sensors import (
|
|
68
68
|
InteractionSequence,
|
|
69
69
|
KeyboardTrack,
|
|
@@ -78,8 +78,13 @@ from .doh import DoHResolver
|
|
|
78
78
|
from .har import export_har, save_har, load_har, replay_har
|
|
79
79
|
from .parsing import HTMLDocument, Element
|
|
80
80
|
from .websocket import WebSocket
|
|
81
|
+
from .ws_tunnel import WebSocketTunnel, WSTunnelPool, TunnelProtocol, tunnel_request
|
|
81
82
|
from .proxy import parse_chain, connect_chain
|
|
82
|
-
from .tcp_tuning import
|
|
83
|
+
from .tcp_tuning import (
|
|
84
|
+
TCPProfile, ConnectionPoolPolicy, apply_tcp_profile, dns_prefetch_domains,
|
|
85
|
+
OSFingerprint, OS_FINGERPRINTS, apply_os_fingerprint,
|
|
86
|
+
estimate_hop_count, generate_tcp_timestamp, validate_tcp_fingerprint,
|
|
87
|
+
)
|
|
83
88
|
from .tls_session import SessionTicket, SessionTicketCache, RecordSplitPattern, TLSCaptureProxy
|
|
84
89
|
from .tls_ext import ECHConfig, ALPSConfig, CertCompression, shuffle_extensions, get_pq_curve
|
|
85
90
|
from .h2_frames import PriorityTree, FlowControlProfile, ConditionalHeaders, accept_for_type
|
|
@@ -105,15 +110,20 @@ from .redirect_intel import RedirectTracker, ChallengeRedirectDetector, Redirect
|
|
|
105
110
|
from .error_analysis import ErrorClassifier, ErrorPattern, FixSuggester
|
|
106
111
|
from .session_coord import SharedRateLimiter, IdentityRotationPolicy, SessionPool, CoordinationHub
|
|
107
112
|
from .health_monitor import HealthMonitor, AlertManager, HealthStatus, SessionHealth
|
|
108
|
-
from .request_graph import RequestGraph, ResourceNode, build_graph_from_html,
|
|
113
|
+
from .request_graph import (RequestGraph, ResourceNode, WaterfallEntry, build_graph_from_html,
|
|
114
|
+
estimate_load_time, WaterfallExecutor, WaterfallResult, execute_waterfall)
|
|
109
115
|
from .response_decoder import ContentDecoder, CharsetDetector, EncodingNegotiator, decode_response
|
|
110
116
|
from .fingerprint_diff import FingerprintDiff, format_diff, similarity_score
|
|
111
|
-
from .
|
|
112
|
-
from .
|
|
117
|
+
from .cdp_transport import CdpSession
|
|
118
|
+
from .cdp_solver import StealthBrowser, find_chrome, solve_challenge as cdp_solve
|
|
119
|
+
from .auto_bypass import AutoSession, BypassLearner, StrategyRecord, STRATEGIES
|
|
113
120
|
from .site_recipes import SiteRecipe, get_recipe, apply_recipe, RECIPES
|
|
114
121
|
from .forms import Form, FormField, FormExtractor, fill_form, submit_form
|
|
115
122
|
from .graphql import GraphQLClient, GraphQLResponse, GraphQLError
|
|
116
|
-
from .smart_proxy import
|
|
123
|
+
from .smart_proxy import (
|
|
124
|
+
SmartProxyPool, ProxySiteStats, ProxyType, ProxyProfile,
|
|
125
|
+
ProxyClassifier, DomainRule, ProxyCascade,
|
|
126
|
+
)
|
|
117
127
|
from .browser_pool import BrowserPool
|
|
118
128
|
from .record_replay import HttpRecorder, SessionReplayer, RecordedEntry, record_session
|
|
119
129
|
from .captcha_farm import CaptchaFarm, SolveResult
|
|
@@ -143,8 +153,9 @@ from .traffic_morph import TrafficProfile, TrafficMorpher, PacketPadder, TimingD
|
|
|
143
153
|
from .dns_tunnel import DNSTunnel, DoHRelay, EDNSClientSubnet, DNSCache, DNSRecord, DNSResult
|
|
144
154
|
from .replay_attack import ReplayAttackDetector, RequestMutator, ReplayProtection, detect_replay_protection, mutate_request
|
|
145
155
|
from .browser_fsm import BrowserStateMachine, NavigationFSM, BrowserState, StateTransition
|
|
156
|
+
from .quic_fingerprint import QUICProfile, AltSvcTracker, QUICFingerprint, H3Negotiator, quic_fingerprint, parse_alt_svc, should_use_h3
|
|
146
157
|
|
|
147
|
-
__version__ = "0.
|
|
158
|
+
__version__ = "0.6.1"
|
|
148
159
|
|
|
149
160
|
__all__ = [
|
|
150
161
|
"Session", "Response", "ProxyPool", "CookieJar", "Cookie",
|
|
@@ -200,15 +211,17 @@ __all__ = [
|
|
|
200
211
|
"ErrorClassifier", "ErrorPattern", "FixSuggester",
|
|
201
212
|
"SharedRateLimiter", "IdentityRotationPolicy", "SessionPool", "CoordinationHub",
|
|
202
213
|
"HealthMonitor", "AlertManager", "HealthStatus", "SessionHealth",
|
|
203
|
-
"RequestGraph", "ResourceNode", "build_graph_from_html", "estimate_load_time",
|
|
214
|
+
"RequestGraph", "ResourceNode", "WaterfallEntry", "build_graph_from_html", "estimate_load_time",
|
|
215
|
+
"WaterfallExecutor", "WaterfallResult", "execute_waterfall",
|
|
204
216
|
"ContentDecoder", "CharsetDetector", "EncodingNegotiator", "decode_response",
|
|
205
217
|
"FingerprintDiff", "format_diff", "similarity_score",
|
|
206
218
|
"StealthBrowser", "CdpSession", "find_chrome", "cdp_solve",
|
|
207
|
-
"AutoSession",
|
|
219
|
+
"AutoSession", "BypassLearner",
|
|
208
220
|
"SiteRecipe", "get_recipe", "apply_recipe", "RECIPES",
|
|
209
221
|
"Form", "FormField", "FormExtractor", "fill_form", "submit_form",
|
|
210
222
|
"GraphQLClient", "GraphQLResponse", "GraphQLError",
|
|
211
|
-
"SmartProxyPool", "ProxySiteStats", "
|
|
223
|
+
"SmartProxyPool", "ProxySiteStats", "ProxyType", "ProxyProfile",
|
|
224
|
+
"ProxyClassifier", "DomainRule", "ProxyCascade", "BrowserPool",
|
|
212
225
|
"HttpRecorder", "SessionReplayer", "RecordedEntry", "record_session",
|
|
213
226
|
"CaptchaFarm", "SolveResult",
|
|
214
227
|
"SynthProfile", "FingerprintSynthesizer",
|
|
@@ -250,6 +263,9 @@ __all__ = [
|
|
|
250
263
|
"detect_replay_protection", "mutate_request",
|
|
251
264
|
# v0.5.0: browser state machine
|
|
252
265
|
"BrowserStateMachine", "NavigationFSM", "BrowserState", "StateTransition",
|
|
266
|
+
# v0.6.0: QUIC fingerprint intelligence
|
|
267
|
+
"QUICProfile", "AltSvcTracker", "QUICFingerprint", "H3Negotiator",
|
|
268
|
+
"quic_fingerprint", "parse_alt_svc", "should_use_h3",
|
|
253
269
|
# module-level verbs
|
|
254
270
|
"request", "get", "post", "put", "patch", "delete", "head", "options",
|
|
255
271
|
]
|
|
@@ -119,26 +119,28 @@ def _chromium_curves(version: int) -> list[int]:
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
def _firefox_extensions(version: int) -> list[int]:
|
|
122
|
-
"""
|
|
122
|
+
"""Firefox extensions as BoringSSL actually emits them.
|
|
123
123
|
|
|
124
|
-
|
|
125
|
-
omitted
|
|
126
|
-
which put the extension count at 15 instead of 17 and broke the hash.
|
|
124
|
+
34 (delegated_credentials) and 28 (record_size_limit) are Firefox-specific
|
|
125
|
+
and unsupported by BoringSSL, so they are omitted to match the wire.
|
|
127
126
|
"""
|
|
128
|
-
e = [0, 23, 65281, 10, 11, 35, 16, 5,
|
|
127
|
+
e = [0, 23, 65281, 10, 11, 35, 16, 5, 18, 51, 43, 13, 45, 27]
|
|
129
128
|
if version >= 128:
|
|
130
|
-
e.append(65037)
|
|
129
|
+
e.append(65037)
|
|
131
130
|
return e
|
|
132
131
|
|
|
133
132
|
|
|
134
|
-
def _h2_settings(family: str, platform: str) -> list[tuple[int, int]]:
|
|
133
|
+
def _h2_settings(family: str, platform: str, version: int = 0) -> list[tuple[int, int]]:
|
|
135
134
|
if family == "firefox":
|
|
136
135
|
return [(1, 65536), (2, 0), (4, 131072), (5, 16384), (8, 0)]
|
|
137
136
|
if family == "safari":
|
|
138
137
|
if platform in ("android", "ios"):
|
|
139
138
|
return [(2, 0), (3, 100), (4, 2097152), (8, 1)]
|
|
140
139
|
return [(2, 0), (4, 4194304), (3, 100), (8, 1)]
|
|
141
|
-
|
|
140
|
+
s = [(1, 65536), (2, 0), (4, 6291456), (6, 262144)]
|
|
141
|
+
if family in _CHROMIUM and version >= 130:
|
|
142
|
+
s.append((9, 1))
|
|
143
|
+
return s
|
|
142
144
|
|
|
143
145
|
|
|
144
146
|
def _h2_window_update(family: str) -> int:
|
|
@@ -304,7 +306,7 @@ class Profile:
|
|
|
304
306
|
self.tls_version = 772
|
|
305
307
|
self.point_formats = [0]
|
|
306
308
|
self.alpn = ["h2", "http/1.1"]
|
|
307
|
-
self.h2_settings = _h2_settings(family, platform)
|
|
309
|
+
self.h2_settings = _h2_settings(family, platform, version)
|
|
308
310
|
self.h2_window_update = _h2_window_update(family)
|
|
309
311
|
self.h2_priority = _h2_priority(family)
|
|
310
312
|
|
|
@@ -318,7 +320,7 @@ class Profile:
|
|
|
318
320
|
elif family == "firefox":
|
|
319
321
|
self.ciphers = list(_FIREFOX_CIPHERS)
|
|
320
322
|
self.extensions = _firefox_extensions(version)
|
|
321
|
-
self.curves = [29, 23, 24, 25
|
|
323
|
+
self.curves = [29, 23, 24, 25]
|
|
322
324
|
self.sig_algs = list(_FIREFOX_SIG_ALGS)
|
|
323
325
|
self.shuffles_extensions = False
|
|
324
326
|
self.h2_pseudo_order = ["m", "p", "a", "s"]
|
|
@@ -352,7 +354,11 @@ class Profile:
|
|
|
352
354
|
|
|
353
355
|
@property
|
|
354
356
|
def accept_encoding(self) -> str:
|
|
355
|
-
|
|
357
|
+
if self.family in _ACCEPT_ENCODING:
|
|
358
|
+
return _ACCEPT_ENCODING[self.family]
|
|
359
|
+
if self.family in _CHROMIUM and self.version < 123:
|
|
360
|
+
return "gzip, deflate, br"
|
|
361
|
+
return _ACCEPT_ENCODING_DEFAULT
|
|
356
362
|
|
|
357
363
|
@property
|
|
358
364
|
def header_order(self) -> list[str]:
|
|
@@ -300,15 +300,7 @@ class AdaptivePersona:
|
|
|
300
300
|
return True
|
|
301
301
|
|
|
302
302
|
elif mutation == "add_robots_txt":
|
|
303
|
-
|
|
304
|
-
if url in existing_urls:
|
|
305
|
-
return False
|
|
306
|
-
plan.insert(0, {
|
|
307
|
-
"url": url, "method": "GET", "kind": "navigate",
|
|
308
|
-
"referer": "",
|
|
309
|
-
"delay": self._rng.uniform(0.1, 0.3),
|
|
310
|
-
})
|
|
311
|
-
return True
|
|
303
|
+
return False
|
|
312
304
|
|
|
313
305
|
elif mutation == "add_ga_script":
|
|
314
306
|
url = "https://www.googletagmanager.com/gtag/js"
|