Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.15 KB

Minigun Recorder

This package can be used to create Minigun scenarios from a browser session.

  1. Start Minigun Recorder with sh minigun_recorder.sh
  2. Set your browser's proxy to http://localhost:10888
    • Any extensions (like Postman) should pick up that setting as well
    • If you are using curl or Node.js-based scripts, you can set the proxy with HTTP_PROXY environment var
  3. Interact with a web application using your browser
  4. Stop Minigun Recorder and use the test script it has created from the browser session

Configuration

By default, HTTP requests to all hosts are captured. To save requests only to one domain (i.e. the application you're testing), run the proxy with

TARGET=myapp.com ./minigun_recorder.sh

Installation

The recorder relies on mitmproxy.

  1. Install mitmproxy
  2. Configure certificates if you want to record HTTPS-based sessions

License

ISC (same as Minigun)