stealthhttp 0.4.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.4.0 → stealthhttp-0.6.1}/CHANGELOG.md +22 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/Cargo.lock +88 -21
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/Cargo.toml +11 -3
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/PKG-INFO +1 -1
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/pyproject.toml +1 -1
- stealthhttp-0.6.1/python/stealthhttp/__init__.py +312 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/_fallback.py +17 -11
- stealthhttp-0.6.1/python/stealthhttp/adaptive_persona.py +385 -0
- stealthhttp-0.6.1/python/stealthhttp/auto_bypass.py +443 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/native_backend.py +22 -4
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/behavior.py +1 -0
- stealthhttp-0.6.1/python/stealthhttp/browser_fsm.py +401 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/browsing.py +14 -4
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/__init__.py +30 -13
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/perimeterx.py +98 -24
- stealthhttp-0.6.1/python/stealthhttp/canvas_webgl_sim.py +253 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/cdp_solver.py +212 -262
- stealthhttp-0.6.1/python/stealthhttp/cdp_transport.py +147 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/coherence.py +13 -7
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/perimeterx.py +45 -6
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/cookies.py +5 -3
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/cover_traffic.py +1 -1
- stealthhttp-0.6.1/python/stealthhttp/dns_tunnel.py +382 -0
- stealthhttp-0.6.1/python/stealthhttp/entropy_mask.py +227 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/forms.py +25 -7
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/har.py +3 -3
- stealthhttp-0.6.1/python/stealthhttp/honeypot_oracle.py +293 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/hsts.py +0 -1
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/jsenv.py +15 -16
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/pow.py +31 -7
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/prepare.py +9 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/proxy.py +1 -0
- stealthhttp-0.6.1/python/stealthhttp/quic_fingerprint.py +295 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/record_replay.py +1 -1
- stealthhttp-0.6.1/python/stealthhttp/replay_attack.py +391 -0
- stealthhttp-0.6.1/python/stealthhttp/request_graph.py +423 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/response.py +6 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/selfcheck.py +39 -2
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/session.py +9 -6
- stealthhttp-0.6.1/python/stealthhttp/session_dna.py +375 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/session_ext.py +94 -0
- stealthhttp-0.6.1/python/stealthhttp/smart_proxy.py +499 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/synth_fingerprint.py +2 -2
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tcp_tuning.py +175 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_features_v3.py +1 -1
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v030_features.py +78 -1
- stealthhttp-0.6.1/python/stealthhttp/tests/test_v050_batch1.py +378 -0
- stealthhttp-0.6.1/python/stealthhttp/tests/test_v050_batch2.py +638 -0
- stealthhttp-0.6.1/python/stealthhttp/tests/test_v050_integrations.py +255 -0
- stealthhttp-0.6.1/python/stealthhttp/tests/test_v050_live.py +309 -0
- stealthhttp-0.6.1/python/stealthhttp/tls_clone.py +294 -0
- stealthhttp-0.6.1/python/stealthhttp/traffic_morph.py +317 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/websocket.py +55 -92
- stealthhttp-0.6.1/python/stealthhttp/ws_tunnel.py +235 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/fingerprint/profile.rs +18 -5
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/lib.rs +21 -0
- stealthhttp-0.6.1/src/pow.rs +243 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/transport/engine.rs +123 -29
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_bypasses.py +3 -2
- {stealthhttp-0.4.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.4.0/python/stealthhttp/__init__.py +0 -513
- stealthhttp-0.4.0/python/stealthhttp/auto_bypass.py +0 -147
- stealthhttp-0.4.0/python/stealthhttp/request_graph.py +0 -498
- stealthhttp-0.4.0/python/stealthhttp/smart_proxy.py +0 -233
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/.cargo/config.toml +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/.github/workflows/release.yml +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/.gitignore +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/LICENSE +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/README.md +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/benchmarks/bench.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/benchmarks/bench_native.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/examples/basic.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/_loader.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/_rotation.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/ambient.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/antidetect.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/async_session.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/auto_profile.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/__init__.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/base.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/curl_backend.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/backends/wreq_backend.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/browser_cookies.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/browser_pool.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/akamai.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/captcha.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/cloudflare.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/datadome.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/flow.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/imperva.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/kasada.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/shape.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/bypasses/solver.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/capabilities.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/captcha.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/captcha_farm.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/challenge.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/challenge_vm.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/clienthints.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/__init__.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/akamai.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/datadome.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/imperva.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/kasada.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/collectors/shape.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/consistency.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/cookie_intel.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/detection.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/device_db.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/dns_intel.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/doh.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/error_analysis.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/exceptions.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/fingerprint_diff.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/geo.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/graphql.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/h2_frames.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/header_canon.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/health_monitor.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/hooks.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/httpcache.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/humanize.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/identity.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/immortal.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/js_sandbox.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/jsdb.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/lifecycle.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/lint.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/mesh.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/middleware.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/multipart.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/parsing.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/poison_detect.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/predictive_rate.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/proto_chameleon.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/proxy_scoring.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/redirect_intel.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/resp_diff.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/response_decoder.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/response_intel.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/retry.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/rhythm.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/rotation.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/self_audit.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/sensors.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/session_coord.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/site_recipes.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/smart_retry.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/__init__.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/audio.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/base.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/browser.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/local.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/orchestrator.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/providers.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/solving/vision.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/stealth_audit.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/strategy.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_cdp_solver.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_features_v3_live.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tests/test_v040_features.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tls_ext.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tls_intel.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/tls_session.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/traffic.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/python/stealthhttp/waf_recon.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/fingerprint/headers.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/fingerprint/ja3.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/fingerprint/ja4.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/fingerprint/mod.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/proxypool.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/rotation.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/transport/decode.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/transport/mod.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/src/transport/tls.rs +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/conftest.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_audio.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_bypass.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_bypasses_live.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_emulation.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_features_v2.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_features_v2_live.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_fingerprint.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_humanize.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_jsemu_live.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_live_bypass.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_live_detection.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_new_features.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_policies.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_routing.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_session.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_solving.py +0 -0
- {stealthhttp-0.4.0 → stealthhttp-0.6.1}/tests/test_vision.py +0 -0
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.0] - 2026-08-11
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **entropy_mask** -- EntropyMask, PayloadNormalizer for masking statistical anomalies in HTTP traffic (Shannon entropy normalization, JSON key reordering, q-factor mutation)
|
|
8
|
+
- **honeypot_oracle** -- HoneypotOracle, TrapDetector, LinkClassifier for detecting honeypot traps before following them (Naive Bayes with 17 features, invisible link detection, trap form fields)
|
|
9
|
+
- **canvas_webgl_sim** -- CanvasSimulator, WebGLProfile, AudioContextSim for generating canvas/WebGL/AudioContext fingerprints without rendering (312 GPU combos, consistency-checked)
|
|
10
|
+
- **session_dna** -- SessionDNA, FingerprintGenome, EvolutionEngine for genetic algorithm fingerprint evolution (tournament selection, 2-point crossover, adaptive mutation, crowding distance)
|
|
11
|
+
- **adaptive_persona** -- AdaptivePersona, BehaviorGraph for DAG-based browsing behavior modeling with Thompson Sampling mutation selection
|
|
12
|
+
- **replay_attack** -- ReplayAttackDetector, RequestMutator for detecting and bypassing replay protection (nonce, HMAC, timestamp validation)
|
|
13
|
+
- **tls_clone** -- TLSSessionCloner, SessionTicketStore for cloning TLS session state from browser via CDP (TLS 1.3 PSK resumption)
|
|
14
|
+
- **browser_fsm** -- BrowserStateMachine, NavigationFSM for finite state machine modeling real browser state transitions with auto-repair
|
|
15
|
+
- **traffic_morph** -- TrafficMorpher, PacketPadder, TimingDistribution for transport-level traffic morphing (H2 padding, TCP window, concurrency batching)
|
|
16
|
+
- **dns_tunnel** -- DNSTunnel, DoHRelay, EDNSClientSubnet for DNS-level bypass (DoH relay, EDNS Client Subnet geo-spoof, DNS cache with TTL)
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **bypasses/perimeterx** -- detect() now catches _pxAppId, window._pxVid, px-cdn, human.security markers; extended to 429/503 statuses (was 403-only)
|
|
21
|
+
- **cdp_solver** -- added fetch_through() for CDP proxy mode (bypasses TLS fingerprint mismatch); enhanced stealth patches (navigator.connection, outerWidth/Height, chrome.app, HeadlessChrome UA fix)
|
|
22
|
+
- **auto_bypass** -- added CDP proxy mode fallback (_try_cdp_fetch) after regular CDP solve fails
|
|
23
|
+
- **bypasses/__init__** -- _try_cdp_solver now falls back to solve_and_fetch when cookie-based CDP solve fails due to TLS mismatch
|
|
24
|
+
|
|
3
25
|
## [0.4.0] - 2026-08-10
|
|
4
26
|
|
|
5
27
|
### Added
|
|
@@ -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
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
"""stealthhttp — HTTP with TLS fingerprint impersonation.
|
|
2
|
+
|
|
3
|
+
from stealthhttp import Session
|
|
4
|
+
|
|
5
|
+
s = Session(browser="chrome136", proxy="http://user:pass@ip:port")
|
|
6
|
+
r = s.get("https://example.com", timeout=15)
|
|
7
|
+
print(r.status_code, r.text)
|
|
8
|
+
|
|
9
|
+
print(s.ja3_hash, s.ja4)
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
from typing import Any
|
|
15
|
+
|
|
16
|
+
from . import bypasses, collectors, multipart
|
|
17
|
+
from ._loader import NATIVE, Profile, Rotator, build_profile, resolve_profile
|
|
18
|
+
from .antidetect import Jitter
|
|
19
|
+
from .backends import available_backends, get_backend
|
|
20
|
+
from .browsing import KINDS, RefererChain, fetch_site
|
|
21
|
+
from .bypasses import BypassEngine, BypassResult
|
|
22
|
+
from .capabilities import CAPABILITIES, Cap, CapabilityUnsupported, Router
|
|
23
|
+
from .captcha import Challenge, Solvability, Solver, Vendor, identify
|
|
24
|
+
from .clienthints import HintStore
|
|
25
|
+
from .collectors import (
|
|
26
|
+
AkamaiSensor,
|
|
27
|
+
DataDomeCollector,
|
|
28
|
+
ImpervaCollector,
|
|
29
|
+
PerimeterXCollector,
|
|
30
|
+
)
|
|
31
|
+
from .identity import Identity, IdentityStore
|
|
32
|
+
from .behavior import PageVisit, VisitPlan, plan_visit
|
|
33
|
+
from .challenge import CLEARANCE_COOKIES, ChallengeTracker, find_interstitial
|
|
34
|
+
from .cookies import Cookie, CookieJar
|
|
35
|
+
from .detection import VECTORS, Layer, Status, audit, lint
|
|
36
|
+
from .geo import COUNTRY_LANGUAGES, ProxyGeo, language_for
|
|
37
|
+
from .hsts import HstsStore
|
|
38
|
+
from .httpcache import ResponseCache
|
|
39
|
+
from .humanize import (
|
|
40
|
+
DEFAULT_MAX_KMH,
|
|
41
|
+
ActivityClock,
|
|
42
|
+
FlowStep,
|
|
43
|
+
TravelCheck,
|
|
44
|
+
check_travel,
|
|
45
|
+
dwell_times,
|
|
46
|
+
)
|
|
47
|
+
from .jsenv import JsEnvironment
|
|
48
|
+
from .exceptions import (
|
|
49
|
+
Banned,
|
|
50
|
+
CircuitOpen,
|
|
51
|
+
ConnectionError,
|
|
52
|
+
HTTPStatusError,
|
|
53
|
+
NoHealthyProxies,
|
|
54
|
+
ProxyError,
|
|
55
|
+
RequestsError,
|
|
56
|
+
StealthHTTPError,
|
|
57
|
+
Timeout,
|
|
58
|
+
TooManyRedirects,
|
|
59
|
+
UnknownProfile,
|
|
60
|
+
)
|
|
61
|
+
from .hooks import HookRegistry, PreparedRequest, log_hook
|
|
62
|
+
from .pow import PowSolution, solve_sha256
|
|
63
|
+
from .proxy import ProxyPool, detect_ban
|
|
64
|
+
from .response import Response
|
|
65
|
+
from .retry import CircuitBreaker, RetryPolicy
|
|
66
|
+
from .selfcheck import measure, predict, verify, ja4h
|
|
67
|
+
from .sensors import (
|
|
68
|
+
InteractionSequence,
|
|
69
|
+
KeyboardTrack,
|
|
70
|
+
MouseEvent,
|
|
71
|
+
MouseTrack,
|
|
72
|
+
ScrollTrack,
|
|
73
|
+
TouchTrack,
|
|
74
|
+
)
|
|
75
|
+
from .session import Session
|
|
76
|
+
from .async_session import AsyncSession
|
|
77
|
+
from .doh import DoHResolver
|
|
78
|
+
from .har import export_har, save_har, load_har, replay_har
|
|
79
|
+
from .parsing import HTMLDocument, Element
|
|
80
|
+
from .websocket import WebSocket
|
|
81
|
+
from .ws_tunnel import WebSocketTunnel, WSTunnelPool, TunnelProtocol, tunnel_request
|
|
82
|
+
from .proxy import parse_chain, connect_chain
|
|
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
|
+
)
|
|
88
|
+
from .tls_session import SessionTicket, SessionTicketCache, RecordSplitPattern, TLSCaptureProxy
|
|
89
|
+
from .tls_ext import ECHConfig, ALPSConfig, CertCompression, shuffle_extensions, get_pq_curve
|
|
90
|
+
from .h2_frames import PriorityTree, FlowControlProfile, ConditionalHeaders, accept_for_type
|
|
91
|
+
from .consistency import EntropyScorer, NavigatorCoherence, validate_cross_layer
|
|
92
|
+
from .device_db import DeviceSpec, pick_device
|
|
93
|
+
from .ambient import AmbientLoader, DecoyTraffic, TimingCoherence, WarmupPipeline
|
|
94
|
+
from .lifecycle import PageLifecycle, ScrollDepthModel, HumanIdleModel
|
|
95
|
+
from .browser_cookies import import_chrome, import_firefox, find_browser_profiles
|
|
96
|
+
from .rotation import AgeRotator, GradientRotator, SessionRecorder
|
|
97
|
+
from .middleware import Middleware, MiddlewarePipeline, RateLimitMiddleware
|
|
98
|
+
from .strategy import AdaptiveStrategy, WAFDetector, HoneypotDetector, RateLimitPredictor, StealthDiagnostic
|
|
99
|
+
from .js_sandbox import JSSandbox, Deobfuscator, match_challenge, CHALLENGE_TEMPLATES
|
|
100
|
+
from .middleware import ConcurrencyLimiter, DomainThrottle, CorsPreflight, CacheRevalidator
|
|
101
|
+
from .stealth_audit import StealthScore, ProfileDiff, quick_audit
|
|
102
|
+
from .auto_profile import AutoProfileSelector, ProfileRotationPolicy
|
|
103
|
+
from .header_canon import HeaderCanonicalizer, PseudoHeaderOrder
|
|
104
|
+
from .tls_intel import CertAnalyzer, ServerFingerprint, MitmDetector
|
|
105
|
+
from .response_intel import BodyIntelligence, CookieClassifier, PatternDetector
|
|
106
|
+
from .traffic import NetworkSimulator, TrafficShaper, BandwidthMonitor, NETWORK_PROFILES
|
|
107
|
+
from .dns_intel import DnsLeakChecker, CnameTracker, CdnDetector, DnsPrefetchPlanner
|
|
108
|
+
from .proxy_scoring import ProxyScorer, ProxyBenchmark
|
|
109
|
+
from .redirect_intel import RedirectTracker, ChallengeRedirectDetector, RedirectPattern
|
|
110
|
+
from .error_analysis import ErrorClassifier, ErrorPattern, FixSuggester
|
|
111
|
+
from .session_coord import SharedRateLimiter, IdentityRotationPolicy, SessionPool, CoordinationHub
|
|
112
|
+
from .health_monitor import HealthMonitor, AlertManager, HealthStatus, SessionHealth
|
|
113
|
+
from .request_graph import (RequestGraph, ResourceNode, WaterfallEntry, build_graph_from_html,
|
|
114
|
+
estimate_load_time, WaterfallExecutor, WaterfallResult, execute_waterfall)
|
|
115
|
+
from .response_decoder import ContentDecoder, CharsetDetector, EncodingNegotiator, decode_response
|
|
116
|
+
from .fingerprint_diff import FingerprintDiff, format_diff, similarity_score
|
|
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
|
|
120
|
+
from .site_recipes import SiteRecipe, get_recipe, apply_recipe, RECIPES
|
|
121
|
+
from .forms import Form, FormField, FormExtractor, fill_form, submit_form
|
|
122
|
+
from .graphql import GraphQLClient, GraphQLResponse, GraphQLError
|
|
123
|
+
from .smart_proxy import (
|
|
124
|
+
SmartProxyPool, ProxySiteStats, ProxyType, ProxyProfile,
|
|
125
|
+
ProxyClassifier, DomainRule, ProxyCascade,
|
|
126
|
+
)
|
|
127
|
+
from .browser_pool import BrowserPool
|
|
128
|
+
from .record_replay import HttpRecorder, SessionReplayer, RecordedEntry, record_session
|
|
129
|
+
from .captcha_farm import CaptchaFarm, SolveResult
|
|
130
|
+
|
|
131
|
+
from .synth_fingerprint import SynthProfile, FingerprintSynthesizer
|
|
132
|
+
from .waf_recon import WafInfo, recon_sync, recon, WAF_SIGNATURES
|
|
133
|
+
from .poison_detect import PoisonScore, PoisonDetector, poison_check
|
|
134
|
+
from .resp_diff import DiffReport, diff_json, diff_html_structure, compare_bodies
|
|
135
|
+
from .predictive_rate import PredictiveRateLimiter
|
|
136
|
+
from .smart_retry import FailureDiagnosis, RetryStrategy, SmartRetry
|
|
137
|
+
from .rhythm import HumanRhythm, weibull_delay
|
|
138
|
+
from .coherence import CoherentProfile, coherent_headers, check_coherence, country_to_locale, country_to_timezone, country_to_accept_language
|
|
139
|
+
from .cookie_intel import CookieClassification, CookieIntelligence
|
|
140
|
+
from .cover_traffic import SubResource, CoverTrafficGenerator
|
|
141
|
+
from .immortal import ImmortalSession
|
|
142
|
+
from .mesh import SessionMesh, MeshState
|
|
143
|
+
from .challenge_vm import ChallengeVM, ChallengeResult
|
|
144
|
+
from .proto_chameleon import ProtocolChameleon, NegotiationResult
|
|
145
|
+
from .self_audit import RequestAuditor, AuditReport, AuditFinding
|
|
146
|
+
from .entropy_mask import EntropyMask, PayloadNormalizer, EntropyProfile, shannon_entropy
|
|
147
|
+
from .honeypot_oracle import HoneypotOracle, TrapDetector, LinkClassifier, TrapScore
|
|
148
|
+
from .canvas_webgl_sim import CanvasSimulator, AudioContextSim, CanvasWebGLProfile, WebGLProfile, generate_profile as gen_fp_profile, random_profile as rand_fp_profile, available_gpus, available_platforms
|
|
149
|
+
from .session_dna import SessionDNA, FingerprintGenome, EvolutionEngine
|
|
150
|
+
from .adaptive_persona import AdaptivePersona, BehaviorGraph, BehaviorNode, BehaviorEdge
|
|
151
|
+
from .tls_clone import TLSCloneData, TLSSessionCloner, SessionTicketStore, PSKIdentity, merge_with_session, clone_from_url
|
|
152
|
+
from .traffic_morph import TrafficProfile, TrafficMorpher, PacketPadder, TimingDistribution, ConcurrencyBatcher, TrafficReport
|
|
153
|
+
from .dns_tunnel import DNSTunnel, DoHRelay, EDNSClientSubnet, DNSCache, DNSRecord, DNSResult
|
|
154
|
+
from .replay_attack import ReplayAttackDetector, RequestMutator, ReplayProtection, detect_replay_protection, mutate_request
|
|
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
|
|
157
|
+
|
|
158
|
+
__version__ = "0.6.1"
|
|
159
|
+
|
|
160
|
+
__all__ = [
|
|
161
|
+
"Session", "Response", "ProxyPool", "CookieJar", "Cookie",
|
|
162
|
+
"RetryPolicy", "CircuitBreaker", "Jitter",
|
|
163
|
+
"HookRegistry", "PreparedRequest", "log_hook",
|
|
164
|
+
"Profile", "Rotator", "resolve_profile", "build_profile",
|
|
165
|
+
"detect_ban", "predict", "measure", "verify",
|
|
166
|
+
"available_backends", "get_backend", "NATIVE", "__version__",
|
|
167
|
+
"Cap", "CAPABILITIES", "CapabilityUnsupported", "Router",
|
|
168
|
+
"KINDS", "RefererChain", "fetch_site",
|
|
169
|
+
"ChallengeTracker", "CLEARANCE_COOKIES", "find_interstitial", "multipart",
|
|
170
|
+
"PageVisit", "VisitPlan", "plan_visit", "ResponseCache",
|
|
171
|
+
"ActivityClock", "TravelCheck", "check_travel", "DEFAULT_MAX_KMH",
|
|
172
|
+
"FlowStep", "dwell_times", "ProxyGeo", "COUNTRY_LANGUAGES", "language_for",
|
|
173
|
+
"VECTORS", "Layer", "Status", "audit", "lint",
|
|
174
|
+
"Vendor", "Solvability", "Challenge", "Solver", "identify",
|
|
175
|
+
"Identity", "IdentityStore",
|
|
176
|
+
"StealthHTTPError", "RequestsError", "ConnectionError", "Timeout",
|
|
177
|
+
"ProxyError", "TooManyRedirects", "HTTPStatusError",
|
|
178
|
+
"NoHealthyProxies", "Banned", "CircuitOpen", "UnknownProfile",
|
|
179
|
+
"JsEnvironment", "HintStore", "HstsStore",
|
|
180
|
+
"MouseTrack", "MouseEvent", "KeyboardTrack", "TouchTrack",
|
|
181
|
+
"ScrollTrack", "InteractionSequence",
|
|
182
|
+
"AkamaiSensor", "PerimeterXCollector", "DataDomeCollector", "ImpervaCollector",
|
|
183
|
+
"collectors", "BypassEngine", "BypassResult", "bypasses",
|
|
184
|
+
"PowSolution", "solve_sha256",
|
|
185
|
+
"AsyncSession", "WebSocket", "DoHResolver",
|
|
186
|
+
"export_har", "save_har", "load_har", "replay_har",
|
|
187
|
+
"HTMLDocument", "Element", "parse_chain", "connect_chain",
|
|
188
|
+
"TCPProfile", "ConnectionPoolPolicy", "apply_tcp_profile", "dns_prefetch_domains",
|
|
189
|
+
"SessionTicket", "SessionTicketCache", "RecordSplitPattern", "TLSCaptureProxy",
|
|
190
|
+
"ECHConfig", "ALPSConfig", "CertCompression", "shuffle_extensions", "get_pq_curve",
|
|
191
|
+
"PriorityTree", "FlowControlProfile", "ConditionalHeaders", "accept_for_type",
|
|
192
|
+
"EntropyScorer", "NavigatorCoherence", "validate_cross_layer",
|
|
193
|
+
"DeviceSpec", "pick_device",
|
|
194
|
+
"AmbientLoader", "DecoyTraffic", "TimingCoherence", "WarmupPipeline",
|
|
195
|
+
"PageLifecycle", "ScrollDepthModel", "HumanIdleModel",
|
|
196
|
+
"import_chrome", "import_firefox", "find_browser_profiles",
|
|
197
|
+
"AgeRotator", "GradientRotator", "SessionRecorder",
|
|
198
|
+
"Middleware", "MiddlewarePipeline", "RateLimitMiddleware",
|
|
199
|
+
"AdaptiveStrategy", "WAFDetector", "HoneypotDetector", "RateLimitPredictor", "StealthDiagnostic",
|
|
200
|
+
"JSSandbox", "Deobfuscator", "match_challenge", "CHALLENGE_TEMPLATES",
|
|
201
|
+
"ConcurrencyLimiter", "DomainThrottle", "CorsPreflight", "CacheRevalidator",
|
|
202
|
+
"StealthScore", "ProfileDiff", "quick_audit",
|
|
203
|
+
"AutoProfileSelector", "ProfileRotationPolicy",
|
|
204
|
+
"HeaderCanonicalizer", "PseudoHeaderOrder",
|
|
205
|
+
"CertAnalyzer", "ServerFingerprint", "MitmDetector",
|
|
206
|
+
"BodyIntelligence", "CookieClassifier", "PatternDetector",
|
|
207
|
+
"NetworkSimulator", "TrafficShaper", "BandwidthMonitor", "NETWORK_PROFILES",
|
|
208
|
+
"DnsLeakChecker", "CnameTracker", "CdnDetector", "DnsPrefetchPlanner",
|
|
209
|
+
"ProxyScorer", "ProxyBenchmark",
|
|
210
|
+
"RedirectTracker", "ChallengeRedirectDetector", "RedirectPattern",
|
|
211
|
+
"ErrorClassifier", "ErrorPattern", "FixSuggester",
|
|
212
|
+
"SharedRateLimiter", "IdentityRotationPolicy", "SessionPool", "CoordinationHub",
|
|
213
|
+
"HealthMonitor", "AlertManager", "HealthStatus", "SessionHealth",
|
|
214
|
+
"RequestGraph", "ResourceNode", "WaterfallEntry", "build_graph_from_html", "estimate_load_time",
|
|
215
|
+
"WaterfallExecutor", "WaterfallResult", "execute_waterfall",
|
|
216
|
+
"ContentDecoder", "CharsetDetector", "EncodingNegotiator", "decode_response",
|
|
217
|
+
"FingerprintDiff", "format_diff", "similarity_score",
|
|
218
|
+
"StealthBrowser", "CdpSession", "find_chrome", "cdp_solve",
|
|
219
|
+
"AutoSession", "BypassLearner",
|
|
220
|
+
"SiteRecipe", "get_recipe", "apply_recipe", "RECIPES",
|
|
221
|
+
"Form", "FormField", "FormExtractor", "fill_form", "submit_form",
|
|
222
|
+
"GraphQLClient", "GraphQLResponse", "GraphQLError",
|
|
223
|
+
"SmartProxyPool", "ProxySiteStats", "ProxyType", "ProxyProfile",
|
|
224
|
+
"ProxyClassifier", "DomainRule", "ProxyCascade", "BrowserPool",
|
|
225
|
+
"HttpRecorder", "SessionReplayer", "RecordedEntry", "record_session",
|
|
226
|
+
"CaptchaFarm", "SolveResult",
|
|
227
|
+
"SynthProfile", "FingerprintSynthesizer",
|
|
228
|
+
"WafInfo", "recon_sync", "recon", "WAF_SIGNATURES",
|
|
229
|
+
"PoisonScore", "PoisonDetector", "poison_check",
|
|
230
|
+
"DiffReport", "diff_json", "diff_html_structure", "compare_bodies",
|
|
231
|
+
"PredictiveRateLimiter",
|
|
232
|
+
"FailureDiagnosis", "RetryStrategy", "SmartRetry",
|
|
233
|
+
"HumanRhythm", "weibull_delay",
|
|
234
|
+
"CoherentProfile", "coherent_headers", "check_coherence",
|
|
235
|
+
"country_to_locale", "country_to_timezone", "country_to_accept_language",
|
|
236
|
+
"CookieClassification", "CookieIntelligence",
|
|
237
|
+
"SubResource", "CoverTrafficGenerator",
|
|
238
|
+
"ImmortalSession", "SessionMesh", "MeshState",
|
|
239
|
+
"ChallengeVM", "ChallengeResult",
|
|
240
|
+
"ProtocolChameleon", "NegotiationResult",
|
|
241
|
+
"RequestAuditor", "AuditReport", "AuditFinding",
|
|
242
|
+
# v0.5.0: entropy masking
|
|
243
|
+
"EntropyMask", "PayloadNormalizer", "EntropyProfile", "shannon_entropy",
|
|
244
|
+
# v0.5.0: honeypot detection
|
|
245
|
+
"HoneypotOracle", "TrapDetector", "LinkClassifier", "TrapScore",
|
|
246
|
+
# v0.5.0: canvas/WebGL/audio fingerprint simulation
|
|
247
|
+
"CanvasSimulator", "AudioContextSim", "CanvasWebGLProfile", "WebGLProfile",
|
|
248
|
+
"gen_fp_profile", "rand_fp_profile", "available_gpus", "available_platforms",
|
|
249
|
+
# v0.5.0: genetic fingerprint evolution
|
|
250
|
+
"SessionDNA", "FingerprintGenome", "EvolutionEngine",
|
|
251
|
+
# v0.5.0: adaptive browsing persona
|
|
252
|
+
"AdaptivePersona", "BehaviorGraph", "BehaviorNode", "BehaviorEdge",
|
|
253
|
+
# v0.5.0: TLS session cloning
|
|
254
|
+
"TLSCloneData", "TLSSessionCloner", "SessionTicketStore", "PSKIdentity",
|
|
255
|
+
"merge_with_session", "clone_from_url",
|
|
256
|
+
# v0.5.0: traffic morphing
|
|
257
|
+
"TrafficProfile", "TrafficMorpher", "PacketPadder",
|
|
258
|
+
"TimingDistribution", "ConcurrencyBatcher", "TrafficReport",
|
|
259
|
+
# v0.5.0: DNS tunnel / DoH relay
|
|
260
|
+
"DNSTunnel", "DoHRelay", "EDNSClientSubnet", "DNSCache", "DNSRecord", "DNSResult",
|
|
261
|
+
# v0.5.0: replay attack detection/bypass
|
|
262
|
+
"ReplayAttackDetector", "RequestMutator", "ReplayProtection",
|
|
263
|
+
"detect_replay_protection", "mutate_request",
|
|
264
|
+
# v0.5.0: browser state machine
|
|
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",
|
|
269
|
+
# module-level verbs
|
|
270
|
+
"request", "get", "post", "put", "patch", "delete", "head", "options",
|
|
271
|
+
]
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
def request(method: str, url: str, *, browser: str = "chrome136", **kw: Any) -> Response:
|
|
275
|
+
"""One-shot request. Prefer a :class:`Session` for anything repeated —
|
|
276
|
+
it reuses connections and keeps cookies."""
|
|
277
|
+
session_keys = (
|
|
278
|
+
"proxy", "proxy_pool", "rotate", "platform", "backend", "verify",
|
|
279
|
+
"http2", "delay", "retries", "circuit_breaker", "isolate_cookies",
|
|
280
|
+
"accept_language", "base_url", "detect_bans", "max_redirects",
|
|
281
|
+
)
|
|
282
|
+
skw = {k: kw.pop(k) for k in list(kw) if k in session_keys}
|
|
283
|
+
with Session(browser=browser, **skw) as s:
|
|
284
|
+
return s.request(method, url, **kw)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
def get(url: str, **kw: Any) -> Response:
|
|
288
|
+
return request("GET", url, **kw)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
def post(url: str, **kw: Any) -> Response:
|
|
292
|
+
return request("POST", url, **kw)
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
def put(url: str, **kw: Any) -> Response:
|
|
296
|
+
return request("PUT", url, **kw)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
def patch(url: str, **kw: Any) -> Response:
|
|
300
|
+
return request("PATCH", url, **kw)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def delete(url: str, **kw: Any) -> Response:
|
|
304
|
+
return request("DELETE", url, **kw)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
def head(url: str, **kw: Any) -> Response:
|
|
308
|
+
return request("HEAD", url, **kw)
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
def options(url: str, **kw: Any) -> Response:
|
|
312
|
+
return request("OPTIONS", url, **kw)
|