GoMITMProxy

module
v0.0.0-...-85548f4 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: GPL-3.0

README

GoMITMProxy

Build Status GitHub GoDoc

Golang Man in the Middle Proxy

Docs

https://godoc.org/github.com/jmizell/GoMITMProxy/proxy

Build

make build

Test

make test

Install

Local Install

To use, make sure you have go >= 1.12.x installed, and your GOBIN is in your path. Then run

go get github.com/jmizell/GoMITMProxy
go install github.com/jmizell/GoMITMProxy/cmd/gomitmproxy
Docker

Copies of each realease can be found in jmizell/gomitmproxy.

docker pull jmizell/gomitmproxy:latest

Usage

Usage: gomitmproxy [options]

  -ca_cert_file string
    	path to certificate authority cert file
  -ca_key_file string
    	path to certificate authority key file
  -config string
    	proxy config file path
  -debug
    	enable debug logging
  -dns_port int
    	port to listen for dns requests
  -dns_regex string
    	domains matching this regex pattern will return the proxy address
  -dns_server string
    	use the supplied dns resolver, instead of system defaults
  -generate_ca_only
    	generate a certificate authority, and exit
  -http_ports string
    	ports to listen for http requests (default ",0")
  -https_ports string
    	ports to listen for https requests (default ",0")
  -json
    	output json log format to standard out
  -key_age_hours int
    	certificate authority expire time in hours, used only with generate_ca_only
  -listen_addr string
    	network address bind to (default "127.0.0.1")
  -log_level string
    	set logging to log level (default "INFO")
  -log_responses
    	enable logging upstream server responses
  -request_log_file string
    	file to log http requests
  -version
    	output version

Directories

Path Synopsis
cmd
log

Jump to

Keyboard shortcuts

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