Changelog
Version 0.6.0
Feature: Automatically set
--set connection_strategy=lazy
when Xepor scripts are loaded. No need to manually set the options any more 🥳Feature: Add
xepor.InterceptedAPI.load()
API for configuration before start. Check the documentation for usage details.
Version 0.5.1
Feature: Add compatibility with mitmproxy 9.x and Python 3.11~3.12.
Since mitmproxy 8.x is not compatible with Python 3.11, therefore updating to mitmproxy 9.x + xepor 0.5.1 is recommended especially for Kali users with rolling updates.
Version 0.5.0
⚠️Breaking Change⚠️: Incompatible API changes.
Change: Move some constants inside
InterceptedAPI
to seperate enums:xepor.RouteType()
,xepor.FlowMeta()
. (xepor/xepor@83128e8)Change: rename
reqtype
inxepor.InterceptedAPI.route()
tortype
. The name there before is for historical reason. xepor/xepor@c6c7e83All exposed API is now type hinted and well documented! check the latest Documentation. example scripts are also updated with API change.
Version 0.4.0
Feature: Add compatibility with mitmproxy 8.x.
Version 0.3.0
Feature: Add
return_error
option forxepor.InterceptedAPI.route()
(xepor/xepor@fddad13)Add more docs and examples. Also some tests to ensure the script stay up-to-date with version changes. (xepor/xepor@3f96bf1)
Version 0.2.0
⚠️Breaking Change⚠️: mitmproxy 7.0 contains backward-incompatible API change comparing with <=6.x, update to 7.x may need to modify all of your scripts (including those not written with Xepor). Just a change on some methods’ signatures.
Feature: Add
blacklist_domain
andrespect_proxy_headers
options forInterceptedAPI
. Refer to API Doc for their usage. (xepor/xepor@aa2517d)Feature: Add a debug header when client request hitting
default_response()
(xepor/xepor@d57be79)Fix: adopt API change in mitmproxy 7.x (xepor/xepor@beedeab)
Fix: Request is forwarded to wrong destination host when mitmproxy is start in reverse/upstream mode. (xepor/xepor@aa2517d) Be sure to start mitmproxy with
--set connection_strategy=lazy
under ANY circumstances or the upstream connection may still be wrong.Update example scripts.
Version 0.1 (development)
This is the only version compatible with mitmproxy <= 6.x
Implement most features.