Tooluck logoTooluck
SKILL.md

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)

recon/http2-header-impersonation/SKILL.md

MITFull file
1# HTTP/2 Header Impersonation
2
3Spoof 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.
4
5## When to Use
6
7- 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.
12
13## Prerequisites
14
15- `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.
18
19## How to Run
20
21```bash
22# Compare default client headers with a browser profile
23export TARGET="https://target.com"
24
25python3 - <<'PY'
26import os
27import requests
28
29url = 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.

More skills in recon-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates