Skip to content

A proxy cache with quality of life features.

Notifications You must be signed in to change notification settings

mtib/mitm-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mitm-cache

Minimal proxy/cache implementation, with the intended use to reduce calls to usage-limited APIs during development.

Example httpie request for http://httpbin.org/uuid:

http :8000/request/10/aHR0cDovL2h0dHBiaW4ub3JnL3V1aWQ= x-mitm:abc -v   

Notice that the url is base64-urlencoded. The 10 is the acceptable cache age and the x-mitm auth header can be set by the MITM_KEY environment variable, if no such variable is set every request will be accepted and handled (this is very bad unless the server is unreachable by attackers).

web-interface

On /<MITM_KEY> a web-interface can be found, which shows all cached requests. (If no key was provided any request on / will show the same web-interface).

api

There is a Golang implementation for interacting with this cache: mtib/mitm-cache-go.

About

A proxy cache with quality of life features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages