This repository has been archived by the owner. It is now read-only.

mitm.cr

HTTP/S proxy server to intercept and inspect calls

[!IMPORTANT] This library is no longer supported or updated by the Manas.Tech, therefore we have archived the repository.

The contents are still available readonly and continue to work as a shards dependency.

If you wish to continue development yourself, we recommend you fork it. We can also arrange to transfer ownership.

If you have further questions, please reach out on https://forum.crystal-lang.org or crystal@manas.tech

mitm

Usage

Create CA certificate

  1. Create directory for certificates
$ mkdir certs
  1. Generate a private key file
$ openssl genrsa -out certs/ca.key
  1. Generate a self signed certificate
$ openssl req -x509 -new -key certs/ca.key -days 50000 -out certs/ca.crt -subj "/CN=mitm.cr"
  1. Install the generated certificate in your browser

Run the standalone proxy server

$ crystal src/main.cr

The proxy server will start and listen on port 8080

Repository

mitm.cr

Owner
Statistic
  • 3
  • 1
  • 0
  • 0
  • 0
  • 3 months ago
  • November 26, 2020
License

MIT License

Links
Synced at

Thu, 27 Feb 2025 19:52:15 GMT

Languages