You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: v0.2.0 - CLI overhaul and security improvements
BREAKING CHANGES:
- Rename CLI command: `device` → `get`
- Raw HAR files deleted by default after sanitization (use --keep-raw to retain)
Features:
- Add --keep-raw flag to preserve unsanitized HAR files
- Generalize CLI for any URL/hostname (not just devices)
Docs:
- Rewrite Quick Start with platform-specific tabs (Windows/macOS/Linux)
- Add DevTools to comparison table, acknowledge Chrome v130+ sanitization
- Remove Modules section (API docs belong in code)
- Update all examples to use `har-capture get <TARGET>`
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Capture and sanitize [HAR (HTTP Archive)](http://www.softwareishard.com/blog/har-12-spec/) files for network traffic analysis. HAR files record browser network activity and are commonly used for debugging, diagnostics, and test fixtures.
9
+
Capture and sanitize [HAR (HTTP Archive)](http://www.softwareishard.com/blog/har-12-spec/) files. HAR files record browser HTTP activity and are commonly used for debugging, diagnostics, and test fixtures.
10
10
11
11
## Quick Start
12
12
13
+
<detailsopen>
14
+
<summary><b>Windows</b></summary>
15
+
16
+
1. Install Python from the [Microsoft Store](https://apps.microsoft.com/detail/9NRWMJP3717K) or [python.org](https://www.python.org/downloads/)
17
+
2. Open PowerShell and run:
18
+
13
19
```bash
14
20
pip install har-capture[full]
15
-
har-capture capture 192.168.100.1
21
+
python -m har_capture get https://example.com
16
22
```
17
23
24
+
</details>
25
+
26
+
<details>
27
+
<summary><b>macOS / Linux</b></summary>
28
+
29
+
```bash
30
+
pip install har-capture[full]
31
+
har-capture get https://example.com
32
+
```
33
+
34
+
</details>
35
+
18
36
<details>
19
37
<summary><b>Already have a HAR file?</b></summary>
Existing HAR sanitization tools require a **manual, multi-step workflow**:
62
+
[Chrome DevTools v130+](https://developer.chrome.com/blog/new-in-devtools-130) now sanitizes cookies and auth headers by default when exporting HAR files. That's a good start, but HAR files contain much more sensitive data:
45
63
46
-
1. Open browser DevTools
47
-
2. Record network traffic
48
-
3. Export HAR file
49
-
4. Find a sanitizer tool
50
-
5. Upload, process, download
64
+
- IP addresses, MAC addresses, email addresses
65
+
- Passwords and credentials in form bodies
66
+
- Serial numbers, device names, session tokens
51
67
52
-
**har-capture** provides an **integrated, CLI-first approach**:
68
+
**har-capture** provides **deep sanitization** and **CLI automation**:
53
69
54
70
```bash
55
-
har-capture capture <DEVICE_IP># Capture + sanitize in one step
71
+
har-capture get <TARGET># Capture + sanitize in one step
0 commit comments