2011-02-17 23:40:45 +00:00
|
|
|
|
|
|
|
Both __mitmproxy__ and __mitmdump__ allow you to modify requests and responses
|
2011-03-18 22:26:51 +00:00
|
|
|
with external scripts. This is often done through the __--reqscript__ and
|
|
|
|
__--respscript__ options
|
|
|
|
|
|
|
|
|
|
|
|
The script interface is simple - scripts simply read,
|
2011-02-17 23:40:45 +00:00
|
|
|
modify and return a single __libmproxy.flow.Flow__ object, using the methods
|
|
|
|
defined in the __libmproxy.script__ module. Scripts must be executable.
|
|
|
|
|
2011-03-19 03:30:45 +00:00
|
|
|
$!example("examples/simple_script")!$
|
2011-02-17 23:40:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|