http2-header-impersonation
Agent skill fromuphiago/recon-skills
Spoof HTTP/2 SETTINGS frames and pseudo-header order per browser profile.
How to install http2-header-impersonation
install http2-header-impersonation
# install the recon-skills pack with the skills CLI
npx skills add uphiago/recon-skills# or add only this skill to Claude Code: copy the folder
recon/http2-header-impersonation/
# into
~/.claude/skills/http2-header-impersonation/ (all projects)
.claude/skills/http2-header-impersonation/ (one project)
1# HTTP/2 Header Impersonation23Spoof HTTP/2 SETTINGS frames, pseudo-header ordering, and browser-specific HTTP headers to match real browsers at the protocol level. Targets the detection gap between TLS fingerprinting (ClientHello) and JavaScript fingerprinting — the HTTP/2 connection setup and header structure that anti-bot systems analyze. Matches Chrome, Firefox, Safari iOS, and OkHttp (Android) profiles with exact window sizes, header list limits, and header ordering.45## When to Use67- TLS fingerprint is correct but target still detects non-browser HTTP behavior.8- Target uses HTTP/2-specific detection (SETTINGS frame analysis, pseudo-header order).9- Need browser-accurate `sec-ch-ua`, `Accept`, `Accept-Encoding`, `Priority`, and `sec-fetch-*` headers.10- Mobile API endpoints require Android OkHttp header profiles.11- Combining with TLS impersonation for a complete network-level browser profile.1213## Prerequisites1415- `terminal` with python3.16- `pip install impit` (includes HTTP/2 impersonation via patched h2 library).17- Or standalone: use the header lists below to configure curl/httpx manually.1819## How to Run2021```bash22# Compare default client headers with a browser profile23export TARGET="https://target.com"2425python3 - <<'PY'26import os27import requests2829url = os.environ["TARGET"]30default = requests.get(url, timeout=15)31browser = requests.get(url, timeout=15, headers={32…
Excerpt shown under the repository's MIT license.
