Coder Social home page Coder Social logo

mojo-mitm's Introduction

mojo-mitm - Non-blocking Man-In-The-Middle (MITM) SSL capable HTTP proxy, based
            on excellent Mojolicious framework. You can intercept HTTP(S)
            requests/responses and/or modify them on the fly.

Usage:
        mojo-mitm [-l <address:port>][...]

    -h|-help
        show usage + version info

    -l|-listen=<addr:port> or -l=http://<addr:port> or -l=https://<addr:port>
        proxy listenning address:port, this option can be used multiple times
        -l http://127.0.0.1:8080   standard HTTP proxy
        -l https://127.0.0.1:8081  HTTP proxy+SSL, handy for reverse proxying
        -l 'https://127.0.0.1/?cert=/dir/srv.crt&key=/dir/srv.key'
        -l 8080               same as: -l http://127.0.0.1:8080
        -l 192.33.44.55:8080  same as: -l http://192.33.44.55:8080
        default is -l 7979

    -v|-verbosity=<n>
        verbosity level - 0...3, default=2

    -c|-client-cert=<pem_cert_file>
        will use client SSL certificate if required by server

    -k|-client-key=<pem_key_file>
        private key corresponding to the certificate given by -client-cert

    -a|-ca-dir=<directory>
        working direcotry for MITM CA generating fake certificates and
        storing CA's certificate + private key
        default is '~/.mojo-mitm'

    -p|-plugin=/path/to/Plugin.pm,p1=val1,p2=val2
        load plugin + pass given parameters to it, plugins can be used to
        modify HTTP(S) requests/responses on the fly, for more info check
        sample plugin 'plugins/PluginExample.pm'
        this option can be used multiple times

    -x|-parent-proxy=<addr:port> or -x=http://<addr:port>
        will use given <addr:port> as a parent HTTP proxy for outgoing connections

    -t|-timeout=<n>
        set inactivity timeout (in seconds) for Mojo::IOLoop, default=25

    -clone-crt
        by default MITM CA generates fake certificates only with CN=<hostname>
        set this option if you want CA to copy as much attributes from the
        original certificate as possible

    -log=<log_file>
        redirect logs to given logfile

Version: 0.006

Copyright (c) 2013 DCIT, a.s. [http://www.dcit.cz] / Karel Miko

mojo-mitm's People

Contributors

karel-m avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.