aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/dns_spoofing.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2017-02-01 11:01:47 +1300
committerAldo Cortesi <aldo@nullcube.com>2017-02-01 11:10:28 +1300
commit4cc75a9560293cbe35d28e4950382e408aabdaea (patch)
tree23209c3303aafd027f178d062e3fafc9dc1e1a1a /examples/complex/dns_spoofing.py
parent02f51d043d9213e192c2ca7840da10745dc48b4b (diff)
downloadmitmproxy-4cc75a9560293cbe35d28e4950382e408aabdaea.tar.gz
mitmproxy-4cc75a9560293cbe35d28e4950382e408aabdaea.tar.bz2
mitmproxy-4cc75a9560293cbe35d28e4950382e408aabdaea.zip
Revamp replacement hooks
- Replacement specifiers can be either strings or tuples. This lets us cope gracefully with command-line parsing (and posible quick interactive specification) without having to special-case replacement hooks, or have knowledge of hook specification leak outside the addon. We can also now use the same command-line spec format in config files. - Split replacement and replacement from file into separate addons and options. Files are now read on each replacement, so you can edit replacement files in place without restart. - Modernise the test suite to use addon test helpers. TODO: editing and displaying replace-from-file in console app
Diffstat (limited to 'examples/complex/dns_spoofing.py')
0 files changed, 0 insertions, 0 deletions