aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | commands: cut.clip copies cuts to system clipboardAldo Cortesi2017-04-303-0/+47
| | | |
* | | | Merge pull request #2291 from cortesi/cutsAldo Cortesi2017-04-3013-13/+351
|\| | | | | | | | | | | Introduce cuts: a flow dissector
| * | | Add help text to --commands outputAldo Cortesi2017-04-303-5/+16
| | | |
| * | | cut: more flexible cut specification based on attribute pathsAldo Cortesi2017-04-304-50/+79
| | | | | | | | | | | | | | | | Also support certificate types, which are converted to ASCII-encoded PEM format.
| * | | cut: use csv module to encode multi-values for savingAldo Cortesi2017-04-302-27/+60
| | | | | | | | | | | | | | | | Also add q.text, q.raw_content, s.text, s.raw_content selectors
| * | | Introduce cuts: a flow dissectorAldo Cortesi2017-04-2910-5/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR introduces the cuts addon, a flow dissector that allows you to select and operate on specific components of flows. It also adds the first consumer for cuts - the cuts.save command. Save the content of the focus to /tmp/foo: cuts.save s.content|@focus /tmp/foo Save the URL and response content-type headers for all flows currently shown to file, comma-separated, one flow per line: cuts.save s.url,q.header[content-type]|@focus /tmp/foo We also use this to replace the body save shortcut in the console flowlist.
* | | | Merge pull request #2276 from mitmproxy/add-examples-to-script-docsMaximilian Hils2017-04-291-0/+6
|\ \ \ \ | | | | | | | | | | Prominently link to examples in script docs
| * | | | prominently link to examples in script docsMaximilian Hils2017-04-271-0/+6
| | | | |
* | | | | Merge pull request #2221 from iharsh234/mypy-master-example/simpleAldo Cortesi2017-04-2913-19/+34
|\ \ \ \ \ | | | | | | | | | | | | Extend mypy example/simple (#2194)
| * | | | | Fixed lint errorharsh vijay2017-04-291-1/+1
| | | | | |
| * | | | | lint error fixedharsh vijay2017-04-291-1/+1
| | | | | |
| * | | | | extend mypy example/simpleharsh vijay2017-04-2913-19/+34
| | |_|_|/ | |/| | |
* | | | | Merge pull request #2290 from cortesi/scriptrunAldo Cortesi2017-04-294-90/+70
|\ \ \ \ \ | | |_|/ / | |/| | | command: script.run
| * | | | command: script.runAldo Cortesi2017-04-294-90/+70
| | | | | | | | | | | | | | | | | | | | Plus the flowlist binding adjustments.
* | | | | Merge pull request #2289 from cortesi/flowrevertAldo Cortesi2017-04-294-8/+28
|\| | | | | | | | | | | | | | command: flow.revert
| * | | | command: flow.revertAldo Cortesi2017-04-294-8/+28
| | | | | | | | | | | | | | | | | | | | Plus matching binding in flowlist.
* | | | | Merge pull request #2288 from cortesi/replayfilesAldo Cortesi2017-04-294-0/+37
|\| | | | | | | | | | | | | | commands: "replay.client.file" and "replay.server.file"
| * | | | commands: "replay.client.file" and "replay.server.file"Aldo Cortesi2017-04-294-0/+37
| | | | |
* | | | | Merge pull request #2287 from cortesi/cmdmarkAldo Cortesi2017-04-2910-82/+152
|\| | | | | | | | | | | | | | commands: marking
| * | | | Rework client and server replayAldo Cortesi2017-04-298-81/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add client.replay [flows], client.replay.stop - Add server.replay [flows], server.replay.stop - The corresponding options for file loading are only read on startup, further changes are ignored. In interactive contexts, replay is started with the commands, not through option changes. - Deprecate flow.replay, use replay.client instead
| * | | | command: flow.kill, flow.replayAldo Cortesi2017-04-294-15/+48
| | | | | | | | | | | | | | | | | | | | Plus the matching bindings in the flow list.
| * | | | commands: markingAldo Cortesi2017-04-296-11/+58
| | | | | | | | | | | | | | | | | | | | | | | | | Add "view.mark [flows] bool" and "view.mark.toggle [flows]". Use this to rebind marking keys in flowlist.
* | | | | Merge pull request #2283 from cortesi/cmdallAldo Cortesi2017-04-2911-158/+251
|\| | | | | |/ / / |/| | | Commands, core update event
| * | | commands: view.goAldo Cortesi2017-04-299-75/+153
| | | | | | | | | | | | | | | | | | | | bind G to "view.go -1" bind g to "view.go 0"
| * | | Commands, core update eventAldo Cortesi2017-04-2910-89/+104
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch: - Introduces a core update() event that should be invoked whenever flows are changed outside of the normal lifecycle. - Extend view.resolve to know about @all, which matches all flows in the view. - Add a core flow.resume comand, which resumes flows and broadcasts an update event. - Define flow list bindings for: A -> flow.resume @all a -> flow.resume @focus d -> view.remove @focus z -> view.remove @all
* | | Update README.mdMaximilian Hils2017-04-281-1/+1
| | |
* | | Update README.mdMaximilian Hils2017-04-281-1/+1
| |/ |/|
* | update CHANGELOGMaximilian Hils2017-04-281-0/+16
| |
* | fix mitmweb's content security policyMaximilian Hils2017-04-281-1/+1
| |
* | Merge pull request #2282 from cortesi/cmddecAldo Cortesi2017-04-2812-105/+176
|\ \ | | | | | | Add a command.command decorator
| * | commands: add a command.command decoratorAldo Cortesi2017-04-286-29/+87
| | | | | | | | | | | | Use this for our built-ins and the console commands.
| * | Support unary flow command argumentsAldo Cortesi2017-04-284-8/+29
| | | | | | | | | | | | Use this to add a console.view.flow command and bind "enter" in flowlist.
| * | console: save flows to commandAldo Cortesi2017-04-282-22/+1
| | |
| * | console: start migrating hotkeys to keymapAldo Cortesi2017-04-288-48/+61
| | | | | | | | | | | | This shifts a set of flow list keys to keymaps. Much more to come.
* | | Merge pull request #2280 from cortesi/coresetAldo Cortesi2017-04-286-16/+43
|\| | | | | | | | commands: add the core command addon, and the command "set"
| * | command: partialsAldo Cortesi2017-04-284-16/+8
| | | | | | | | | | | | | | | Support partial commands in console.command, use it to keybind "i" for intercept, which prompts the user with ":set intercept=".
| * | commands: add the core command addon, and the command "set"Aldo Cortesi2017-04-283-0/+35
| | | | | | | | | | | | The set command sets an option using the same syntax as commandline --set.
* | | Merge pull request #2279 from cortesi/keymapAldo Cortesi2017-04-2812-114/+317
|\| | | | | | | | console: keymap
| * | console: add a keymapAldo Cortesi2017-04-286-26/+104
| | | | | | | | | | | | | | | This sketches out a keymap system for consone, and adds the first few top-level commands and mappings.
| * | console: interactive command browserAldo Cortesi2017-04-2810-91/+216
|/ / | | | | | | | | Simple browser that lets users view and select commands interactively. Key binding for this is still to be sorted out.
* | Merge pull request #2274 from cortesi/alertsAldo Cortesi2017-04-283-1/+17
|\ \ | | | | | | Add an "alert" log level.
| * | Add an "alert" log level.Aldo Cortesi2017-04-273-1/+17
| | | | | | | | | | | | | | | | | | | | | This has the same urgency as "info", but also signals to interactive tools that the user's attention should be drawn to the output, even if they're not looking at the event log. In the console app, this means the message appears in the status bar with a timeout.
* | | Merge pull request #2273 from cortesi/commandsAldo Cortesi2017-04-2824-149/+523
|\| | | | | | | | Commands
| * | Test coverage ++Aldo Cortesi2017-04-274-0/+67
| | |
| * | command: save.file flowspec path -> NoneAldo Cortesi2017-04-278-41/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | Our first user-facing command. The following commands do the obvious things: save.file @marked /tmp/flows save.file @focus /tmp/flows save.file @hidden /tmp/flows save.file "~m get" /tmp/flows
| * | addons.streamfile -> addons.saveAldo Cortesi2017-04-279-38/+38
| | | | | | | | | | | | | | | | | | | | | Options: streamfile -> save_stream_file streamfile_filter -> save_stream_filter
| * | console: flow resolution commandAldo Cortesi2017-04-279-20/+122
| | | | | | | | | | | | | | | | | | | | | This is our first built-in command, which will be used by very many other commands. Also add a --commands option to dump all commands, analogous to --options.
| * | console: very basic interactive command executorAldo Cortesi2017-04-277-5/+44
| | |
| * | Basic outline of the command subsystemAldo Cortesi2017-04-277-42/+160
| |/ | | | | | | | | - Add a command manager - Sketch out the type system with a few simple supported types
* | Merge pull request #2277 from Kriechi/bump-cryptographyThomas Kriechbaumer2017-04-273-15/+8
|\ \ | | | | | | bump cryptography min-version