scribe

package module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

README

TLS-scribe

很多时候,我们需要获取 TLS 网站的证书或者它的证书指纹,但是用浏览器看不够优雅,用 openssl 又记不住命令,所以我们需要一个工具让这个过程简单化。

「scribe」 意为抄写员,让他帮您抄写目标网站的证书吧!

Build

./scripts/build.sh

得到 build/scribe

Usage

Program

TODO.

Command

scribe <Target> <Flags...>

Target:
   A url such as "https://github.com?fmt=sha256"
                 "quic://www.google.com"

Flags:
   -s, --sni      Server name.

链接后面可跟随查询字符串,可选:pem(默认), sha256

TODO

  • 更多文档、示例程序。

  • QUIC 支持。

Credits

  • spf13/cobra

  • SagerNet/quic-go

    提供 QUIC 实现。

  • quic-go/quic-go

    为了防止 CatBox 的 libcore 引入新的 QUIC 包,更换为 SagerNet 的 quic-go。

  • refraction-networking/utls

    为了防止获取证书被识别为恶意行为,我们使用了 uTLS 以期待能骗过对方的 waf XD。

    由于效果不明显,并且引入 uTLS 会导致二进制体积增加,所以移除。

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(target, serverName string) (result string, err error)

func GetQuicRawCert

func GetQuicRawCert(target, serverName string) (cert []*x509.Certificate, err error)

func GetRawCert

func GetRawCert(target, serverName string) (cert []*x509.Certificate, err error)

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL