proxy

package
v0.0.0-...-021ab65 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package proxy 提供一个监听端口,将数据转发出去(简单来说就是拦截,再发送)

Index

Constants

This section is empty.

Variables

View Source
var (
	MonitorAddress = "127.0.0.1:10888" // 监听地址
)

Functions

func ExtractRequestToString

func ExtractRequestToString(res *http.Request) string

ExtractRequestToString 提取请求包

func GenMITM

func GenMITM() error

func LoadCert

func LoadCert() error

func Martian

func Martian() error

func OpenCert

func OpenCert()

func ParseHtmlTitle

func ParseHtmlTitle(r io.Reader) (string, error)

func Serve

func Serve() error

func SetServeProxyAddress

func SetServeProxyAddress(address, username, password string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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