Skip to main content

Crate guise_profiles

Crate guise_profiles 

Source
Expand description

Pure browser fingerprint data — the canonical source for browser identity.

Holds the StealthProfile selector, per-profile ProfileFacts (User-Agent, navigation headers, hardware, client hints), and the canonical HeaderProfile header catalog. This crate intentionally has no runtime, HTTP, TLS, browser, or async dependencies. It sits below scanclient and stealth so both crates can derive browser identity from one source without creating a dependency cycle.

Naming: StealthProfile is the canonical selector; ProfileFacts is its data; a <Domain>Profile (e.g. HeaderProfile) is a pure derived projection for one domain. One type per projection — HeaderProfile is the single browser-header catalog type, re-exported unchanged by scanclient and stealth.

Structs§

BrowserRequestHeaders
Fixed browser request header set.
HeaderProfile
Canonical browser HTTP header projection of a StealthProfile.
NavigationHeader
Header/value pair for browser identity defaults.
ProfileClientHintBrand
One low-entropy User-Agent Client Hint brand entry for a browser profile.
ProfileFacts
Stable browser identity facts shared by HTTP clients and browser fingerprint layers.
ProfileHardware
A coherent hardware/display tuple for a browser fingerprint profile.
UserAgentFacts
Parsed browser identity facts from a User-Agent string.

Enums§

BrowserRequestKind
Browser request surface to materialize.
StealthProfile
Named browser fingerprint variants. Each one identifies a coherent (browser, OS, GPU class) tuple used by higher-level stealth crates.
UserAgentBrowser
Browser family parsed from a User-Agent string.
UserAgentPlatform
Operating-system family parsed from a User-Agent string.

Constants§

ACCEPT_ENCODING_HEADER
HTTP header name for the profile Accept-Encoding negotiation header.
ACCEPT_HEADER
HTTP header name for the profile top-level navigation Accept header.
ACCEPT_LANGUAGE_HEADER
HTTP header name for the profile Accept-Language identity header.
ALL_PROFILES
Every canonical browser identity profile in the catalog.
CHROME_WINDOWS_LEGACY_96_USER_AGENT
Canonical User-Agent for StealthProfile::ChromeWindowsLegacy96.
CHROME_WINDOWS_STABLE_USER_AGENT
Canonical User-Agent for StealthProfile::ChromeWindowsStable.
CHROMIUM_NAVIGATION_ACCEPT
Chromium-class top-level navigation Accept header.
DEFAULT_ACCEPT_ENCODING
Default browser Accept-Encoding set for shared Santh scanner transports.
DEFAULT_ACCEPT_LANGUAGE
Default Chromium/Safari Accept-Language weighting.
DEFAULT_STEALTH_PROFILE
Canonical default stealth identity for fleet-owned browser and HTTP launches.
FIREFOX_ACCEPT_LANGUAGE
Default Firefox Accept-Language weighting.
FIREFOX_NAVIGATION_ACCEPT
Firefox top-level navigation Accept header.
FIREFOX_WINDOWS_STABLE_USER_AGENT
Canonical User-Agent for StealthProfile::FirefoxWindows.
IE11_NAVIGATION_ACCEPT
Internet Explorer 11 top-level navigation Accept header.
IE11_WINDOWS_USER_AGENT
Canonical User-Agent for StealthProfile::Ie11Windows.
LEGACY_ACCEPT_ENCODING
Legacy browser Accept-Encoding set for pre-Brotli navigation stacks.
ROTATION_PROFILES
Profiles intended for deterministic fleet rotation.
SAFARI_NAVIGATION_ACCEPT
Safari top-level navigation Accept header.
SEC_FETCH_DEST_HEADER
HTTP header name for Sec-Fetch-Dest.
SEC_FETCH_MODE_HEADER
HTTP header name for Sec-Fetch-Mode.
SEC_FETCH_SITE_HEADER
HTTP header name for Sec-Fetch-Site.
SEC_FETCH_USER_HEADER
HTTP header name for Sec-Fetch-User.
UPGRADE_INSECURE_REQUESTS_HEADER
HTTP header name for Upgrade-Insecure-Requests.
USER_AGENT_HEADER
HTTP header name for the profile User-Agent identity header.

Statics§

PROFILES
Common browser HTTP profiles used by scanner transports.

Functions§

canonical_navigation_header_name
Browser-compatible display casing for a canonical navigation header name.
default_profile_browser_headers
Canonical browser HTTP headers for DEFAULT_STEALTH_PROFILE.
default_profile_facts
Canonical identity facts for DEFAULT_STEALTH_PROFILE.
default_profile_navigation_headers
Canonical profile-backed navigation headers for DEFAULT_STEALTH_PROFILE.
default_profile_request_headers
Canonical request-surface headers for DEFAULT_STEALTH_PROFILE.
default_profile_request_headers_without_compression
Canonical request-surface headers without Accept-Encoding for DEFAULT_STEALTH_PROFILE.
default_profile_user_agent
Canonical User-Agent for DEFAULT_STEALTH_PROFILE.
get_profile
Resolve a common browser HTTP profile by its stable config name.
infer_profile_from_user_agent
Infer the closest canonical stealth profile from a User-Agent string.
named_profile
Resolve a config profile name or common alias to a canonical profile.
profile_browser_headers
Canonical browser HTTP headers including compression negotiation.
profile_client_hint_brands
Low-entropy User-Agent Client Hint brands coherent with a browser profile.
profile_client_hint_platform
Low-entropy Sec-CH-UA-Platform value coherent with a browser profile.
profile_display_name
Stable enum-style profile name for human-readable listings.
profile_facts
Canonical identity facts for a stealth profile.
profile_hardware
Default hardware/display tuple for a browser fingerprint profile.
profile_hardware_at
Deterministically select a profile-coherent hardware/display tuple.
profile_hardware_variants
Hardware/display tuples coherent with a browser fingerprint profile.
profile_name
Stable lowercase profile name for operator-facing config.
profile_navigation_headers
Canonical profile-backed headers for top-level browser-like HTTP navigation.
profile_navigator_vendor
navigator.vendor value coherent with a browser fingerprint profile.
profile_request_headers
Canonical browser request headers for a request surface, including compression negotiation.
profile_request_headers_without_compression
Canonical browser request headers for a request surface without Accept-Encoding.
profile_user_agent
Canonical User-Agent for a stealth profile.
rotate
Deterministically rotate through common browser HTTP profiles.
user_agent_facts
Parse browser, platform, version, and stealth-profile facts from a User-Agent string.