Skip to content

gojue/ecapture.cc

Repository files navigation

eCapture Documentation

English | 简体中文

Website GitHub License

Comprehensive documentation for eCapture - eBPF-based SSL/TLS capture and system auditing tool

View Documentation | Report Issue


📖 About This Project

This repository hosts the official documentation website for eCapture (旁观者), a powerful eBPF-based network traffic capture and system auditing tool. The documentation provides comprehensive guides on installation, architecture, module development, and usage patterns.

eCapture enables capture of SSL/TLS encrypted communications in plaintext without requiring CA certificates or application modifications. It also provides system auditing capabilities for shell commands, database queries, and network packets.

Key Features of eCapture

  • SSL/TLS Plaintext Capture - Intercept encrypted data from OpenSSL, BoringSSL, GnuTLS, NSS/NSPR, and Go crypto/tls
  • 🔒 No CA Certificates Required - Transparent capture without certificate installation
  • 🐚 System Auditing - Monitor Bash/Zsh commands and MySQL/PostgreSQL SQL queries
  • 📦 Multiple Output Formats - Text, PCAP-NG, Keylog (SSLKEYLOGFILE), and Protobuf streams
  • 🚀 eBPF Technology - Kernel-level hooking with minimal performance overhead
  • 🔧 CO-RE Support - Compile Once, Run Everywhere on compatible kernels

Platform Support

Architecture Minimum Kernel Status
x86_64 (amd64) Linux 4.18+ ✅ Fully Supported
aarch64 (arm64) Linux 5.5+ ✅ Fully Supported
Android (amd64/arm64) Android 12+ ✅ Supported (BoringSSL)
Windows / macOS N/A ❌ Not Supported

📚 Documentation Structure

The documentation is organized into the following sections:

1. Introducing eCapture

2. Getting Started

3. Probe Reference

4. Integration and Deployment

5. Architecture

6. Developer Guide

7. FAQ and Troubleshooting


🚀 Quick Start

View Documentation Locally

# Clone the repository
git clone https://github.com/gojue/ecapture.cc.git
cd ecapture.cc

# Install dependencies
pnpm install

# Start development server
pnpm docs:dev

# Build static site
pnpm docs:build

Deploy to Production

The documentation is automatically deployed to https://ecapture.cc via Vercel when changes are pushed to the main branch.


🔄 Updating Docs from Wiki

The documentation content is generated from Devin AI Wiki. Follow these steps to refresh the docs with the latest wiki content:

Step 1 — Refresh the Wiki

Open the Devin AI Wiki page and trigger a refresh to ensure the wiki reflects the latest source code:

👉 https://app.devin.ai/org/gojue/wiki/gojue/ecapture?branch=master

Step 2 — Download the Latest wiki.json

Download the full multi-language wiki and overwrite scripts/wiki.json:

curl -o scripts/wiki.json \
  "https://app.devin.ai/api/wiki/get_full_multi_language_wiki?repo_name=gojue%2Fecapture&branch_name=master"

Step 3–6 — One-click Update & Preview

A helper script scripts/update_docs.sh automates Steps 3–6 in one command:

# Generate docs and start the preview server
bash scripts/update_docs.sh

# Generate docs only, without starting the preview server
bash scripts/update_docs.sh --no-dev

Or run each step manually:

Step 3 — Clear the doc cache:

rm -rf docs/en docs/zh

Step 4 — Generate docs from wiki:

node scripts/generate_docs.js

Step 5 — Migrate docs to src/:

node scripts/migrate_docs.js

Step 6 — Preview locally:

pnpm run dev

Open your browser and verify the rendered documentation looks correct.

Step 7 — Commit and Push

Once everything looks good, commit the changes:

git add .
git commit -m "docs: update from latest wiki"
git push

🤝 Contributing

We welcome contributions to improve the documentation! Here's how you can help:

  1. Report Issues - Found a typo or incorrect information? Open an issue
  2. Submit Pull Requests - Improve existing docs or add new content
  3. Translate - Help translate documentation to other languages
  4. Share Feedback - Suggest improvements to structure and content

Documentation Guidelines

  • Write clear, concise content with practical examples
  • Include diagrams and code samples where appropriate
  • Follow the existing structure and formatting
  • Test all code examples before submitting
  • Add source references from the main repository

🔗 Related Links


📝 License

Apache License 2.0

Copyright (c) 2022-present, CFC4N (https://www.cnxct.com)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


👥 Contributors

Special thanks to all documentation contributors:


⬆ Back to Top

Made with ❤️ by the eCapture Team

About

eCapture project official website

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages