aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 #2265 from cortesi/addonsAldo Cortesi2017-04-2712-155/+141
|\ | | | | Addons and addon testing
| * Addons and addon testingAldo Cortesi2017-04-2612-155/+141
| | | | | | | | | | | | | | | | - Fix some loading sequence bugs affecting command-line script invocation - Allow addons to over-ride existing options (with a warning). We need this for reloading. - Convert har_dump to new-style arguments, fix and re-instate its test suite. - Covnert miscelaneous other exmples to new-style args.
* | Merge pull request #2270 from F1ashhimself/masterMaximilian Hils2017-04-261-1/+1
|\ \ | | | | | | Update readme for complex examples
| * | Update readme for complex examplesMaksim Beloborodko2017-04-261-1/+1
| | |
* | | Merge pull request #2269 from mhils/issue-2250Maximilian Hils2017-04-264-50/+58
|\ \ \ | |/ / |/| | fix #2250, add type info to cookie module
| * | fix #2250, add type info to cookie moduleMaximilian Hils2017-04-264-50/+58
| | |
* | | Merge pull request #2258 from mhils/readfileMaximilian Hils2017-04-2610-152/+147
|\ \ \ | | | | | | | | Integrate readstdin into readfile
| * | | separate reading from stdin into its own addonMaximilian Hils2017-04-266-72/+94
| | | |
| * | | integrate readstdin into readfile addonMaximilian Hils2017-04-265-127/+92
| | | |
| * | | typecheck: add support for typing.AnyMaximilian Hils2017-04-262-0/+8
| | |/ | |/|
* | | Merge pull request #2268 from mhils/issue-2257Maximilian Hils2017-04-264-79/+110
|\ \ \ | | | | | | | | fix #2257
| * | | fix #2257Maximilian Hils2017-04-264-79/+110
| | | |
* | | | Merge pull request #2267 from MatthewShao/jest-devMaximilian Hils2017-04-262-0/+164
|\ \ \ \ | |_|_|/ |/| | | [web] Add coverage for js/utils.js, js/flow/utils.js
| * | | [web] Add coverage for js/utils.js, js/flow/utils.jsMatthew Shao2017-04-262-0/+164
| | |/ | |/|
* | | Merge pull request #2259 from mhils/2228Maximilian Hils2017-04-263-24/+20
|\ \ \ | |_|/ |/| | fix #2228
| * | fix #2228Maximilian Hils2017-04-263-24/+20
| |/
* / clarify that `--cert` expects a leaf certificateMaximilian Hils2017-04-261-1/+1
|/ | | refs #2254
* Merge pull request #2262 from Kriechi/reduced-coverage++Aldo Cortesi2017-04-2611-18/+16
|\ | | | | improve tests (extracted from #2011)
| * improve testsThomas Kriechbaumer2017-04-2511-18/+16
| |
* | Merge pull request #2264 from cortesi/optionsAldo Cortesi2017-04-2644-518/+413
|\ \ | | | | | | Change the way addons handle options
| * | configure(options, updated) -> configure(updated)Aldo Cortesi2017-04-2629-102/+99
| | | | | | | | | | | | | | | Options are now available globally on ctx, so the first argument of configure is redundant.
| * | Move options into ctxAldo Cortesi2017-04-2617-235/+199
| | | | | | | | | | | | | | | | | | | | | Many addons currently save options on configure(), either as individual options or sometimes by saving the entire options object. The current options should simply be available on the ctx object, simplifying state management for addons considerably.
| * | Remove watchdog, solidify script testingAldo Cortesi2017-04-269-184/+118
| | | | | | | | | | | | | | | | | | | | | | | | - Remove the watchdog dependency. We now just stat the script file every 2 seconds to check for an updated mtime. - Further solidify our script testing, and in particular make the example tests nicer. These should exemplify how we want users to test their own addon scripts. More work on addon testing to follow.
* | | Merge pull request #2261 from cortesi/addonrevampAldo Cortesi2017-04-2634-533/+448
|\| | | | | | | | Revamp how addons work
| * | Revamp how addons workAldo Cortesi2017-04-2534-533/+448
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Addons now nest, which means that addons can manage addons. This has a number of salutary effects - the scripts addon no longer has to poke into the global addons list, we no longer have to replace/remove/boot-outof parent addons when we load scripts, and this paves the way for making our top-level tools into addons themselves. - All addon calls are now wrapped in a safe execution environment where exceptions are caught, and output to stdout/stderr are intercepted and turned into logs. - We no longer support script arguments in sys.argv - creating an option properly is the only way to pass arguments. This means that all scripts are always directly controllable from interctive tooling, and that arguments are type-checked. For now, I've disabled testing of the har dump example - it needs to be moved to the new argument handling, and become a class addon. I'll address that in a separate patch.
* | Merge pull request #2219 from MatthewShao/jest-devMaximilian Hils2017-04-254-52/+245
|\ \ | |/ |/| [web] Coverage++ for ducks/flows.js
| * Fix the tests for flows actions.Matthew Shao2017-04-252-169/+31
| |
| * Merge branch 'jest-dev' of https://github.com/MatthewShao/mitmproxy into ↵Matthew Shao2017-04-2527-101/+368
| |\ | | | | | | | | | jest-dev
| | * simplify selectRelative, add example for action testingMaximilian Hils2017-04-244-98/+120
| | |
| | * [web] Coverage++ for ducks/flows.jsMatthew Shao2017-04-241-3/+158
| |/ |/|
* | Merge pull request #2256 from ujjwal96/ip-formattingThomas Kriechbaumer2017-04-222-3/+4
|\ \ | | | | | | Fixed formatting in mitmdump
| * | Fixed formatting in mitmdumpUjjwal Verma2017-04-222-3/+4
|/ /
* | [requires.io] dependency update on master branch (#2252)Maximilian Hils2017-04-201-1/+1
| |
* | [requires.io] dependency update on master branch (#2241)Maximilian Hils2017-04-171-2/+2
| |
* | Merge pull request #2240 from mitmproxy/requires-io-masterThomas Kriechbaumer2017-04-161-1/+1
|\ \ | | | | | | [requires.io] dependency update on master branch
| * | Update setup.pyMaximilian Hils2017-04-161-1/+1
| | |
| * | [requires.io] dependency updaterequires.io2017-04-161-1/+1
|/ /
* | Merge pull request #2239 from Kriechi/update-kaitaiMaximilian Hils2017-04-1610-28/+69
|\ \ | | | | | | update kaitai and recompile formats
| * | manually fix importsThomas Kriechbaumer2017-04-162-7/+5
| | |
| * | update kaitai and recompile formatsThomas Kriechbaumer2017-04-1610-31/+74
|/ /
* | Merge pull request #2234 from ujjwal96/ip-formattingMaximilian Hils2017-04-105-6/+32
|\ \ | | | | | | Fixes IP address formatting #2109
| * | Fixes #2109Ujjwal Verma2017-04-095-6/+32
|/ /
* | Merge pull request #2232 from r1b/masterMaximilian Hils2017-04-092-1/+4
|\ \ | | | | | | fixes ipv6 authority form parsing in CONNECT
| * | fixes ipv6 authority form parsing in CONNECTRobert C Jensen2017-04-072-1/+4
|/ /
* | Merge pull request #2227 from vinaydargar/grammarphrasingMaximilian Hils2017-04-042-2/+2
|\ \ | | | | | | Replace phrase 'the the' in 2 places