aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/scripts_improvements' into 0.10Maximilian Hils2013-06-161-1/+1
|\
| * add support for multiple scripts and script arguments. refs #76Maximilian Hils2013-06-131-1/+1
| |
* | always read files in binary modeMaximilian Hils2013-06-162-3/+3
|/
* Massage content-type before sending it to mime detectionAldo Cortesi2013-06-091-0/+1
| | | | Fixes #67
* Fix creation of new response when none existed before.Aldo Cortesi2013-06-091-2/+7
| | | | Fixes #133
* Add error checking to ViewProtobufJason A. Novak2013-04-211-2/+5
| | | | | | | | There are protobufs that protoc can't parse. When protoc --decode_raw fails, it returns nothing to stdin, and writes "Failed to parse input." to stderr. Before this commit, if protoc --decode_raw couldn't parse the protobuf, the blank stdout output would get returned to the view; with this commit stderr gets caught and returned to the view.
* Merge pull request #112 from hamstah/protobuf-viewAldo Cortesi2013-04-191-1/+36
|\ | | | | Adds a new view for protocol buffers
| * Adds a new view for protocol buffersNicolas Esteves2013-04-061-1/+36
| | | | | | | | | | | | | | | | | | The view uses protoc from the Google protocol buffer tools. If the tool isn't installed, the view isn't shown. Google protobuf repo: https://code.google.com/p/protobuf/
* | Correct display mode highlight keysAlexis Hildebrandt2013-04-163-3/+11
|/ | | | | | Add html display mode to the help documentation. Correct html and hex display mode highlight keys (help used 'h' for hex). Correct json display mode highlight keys.
* Fix crash on intercept.Aldo Cortesi2013-03-231-2/+2
| | | | Fixes #106
* Add the --host option, which uses the value in the Host header for dispaly URLs.Aldo Cortesi2013-03-175-5/+18
| | | | | - Can be toggled with "o" then "h" in mitmproxy - Useful for transparent mode
* Introduce a filtered flow writer, and use it in dump.pyAldo Cortesi2013-03-141-1/+1
| | | | Fixes #104
* Remove __slots__ to make it possible to inherit from Options classes.Aldo Cortesi2013-03-031-2/+2
|
* Revert "show current filepath in status bar"Aldo Cortesi2013-03-031-3/+0
| | | | | | This reverts commit bf8367d6cf3e6b5b1e916453c9cf114194174a1a. This just doesn't work. We need a better solution, probably in the next release.
* Significantly refactor the master/slave message passing interface.Aldo Cortesi2013-02-172-5/+5
|
* Fixed a bug in format_flow in common.py. Changed the reference from ↵Chris Neasbitt2013-01-181-1/+1
| | | | timestamp to timestamp_start.
* Merge pull request #82 from kanzure/show-filepath-in-statusbarAldo Cortesi2012-12-301-0/+3
|\ | | | | Show current filepath in status bar
| * show current filepath in status barBryan Bishop2012-12-261-0/+3
| | | | | | | | | | Showing the filename is useful when looking at multiple .mitm files simultaneously.
* | fix external viewer using shlexBryan Bishop2012-12-222-10/+18
|/ | | | | | | | | | | | | | This makes spawn_external_viewer not crash when $EDITOR or $PAGER have spaces or multiple arguments. In addition, spawn_external_viewer now chmods the file to read-only to remind users who use only an $EDITOR that this function does not read the file when the user returns. Also, some of the redundant exception case handling for editing has been consolidated. fixes #79
* Show an error when $EDITOR/$PAGER are unset.Bryan Bishop2012-12-051-1/+4
| | | | | | This catches an exception that otherwise crashes mitmproxy. fixes cortesi/mitmproxy#71
* Substantially rewrite AMF decoding.Aldo Cortesi2012-11-261-24/+68
| | | | This is tricky, but we should now handle a lot more corner-cases.
* Workaround for PIL's ambiguious import method and/or easy_install PIL ↵Mathieu Mitchell2012-11-231-2/+7
| | | | | | | | | | packaging problem. PIL documents two different way to import it's modules: * import Image (http://www.pythonware.com/library/pil/handbook/introduction.htm) * from PIL import Image (http://www.pythonware.com/library/pil/handbook/image.htm) The same problem was noted in Django at https://code.djangoproject.com/ticket/6054
* Move eventlog to new Urwid container API.Aldo Cortesi2012-11-231-4/+2
|
* Urwid 1.1 compatibility.Aldo Cortesi2012-10-292-4/+4
|
* Improve error reporting for one-shot scripts.Aldo Cortesi2012-10-111-4/+15
|
* Move cleanBin and hexdump into netutils.Aldo Cortesi2012-09-241-4/+5
|
* Add help entry for H global header shortcut.Aldo Cortesi2012-09-021-2/+1
|
* Add U shortcut to add user-agent strings to global Headers editor.Aldo Cortesi2012-09-021-1/+32
|
* Fix a crash when re-editing a path prompt after an error.Aldo Cortesi2012-08-311-0/+1
|
* Make grid editor file reading more robust.Aldo Cortesi2012-08-311-4/+8
|
* Add a shortcut to header editor to add standard User-Agent strings.Aldo Cortesi2012-08-313-29/+68
|
* Display "No Content" instead of a parse error when there is no content.Aldo Cortesi2012-08-301-0/+2
|
* Add a snippet to GridEditor help text explaining that we're using escaped ↵Aldo Cortesi2012-08-251-0/+8
| | | | strings.
* Add a "R" shortcut to GridEditor, letting the user read unescaped data from ↵Aldo Cortesi2012-08-251-11/+15
| | | | file.
* Do away with explicit encodings, and display an error message for invalid ↵Aldo Cortesi2012-08-251-15/+12
| | | | values.
* Use Python-style escaped strings in GridEditor.Aldo Cortesi2012-08-251-14/+17
|
* Add an "r" shortcut in grid editors to read value from file.Aldo Cortesi2012-08-251-4/+23
|
* Add a graphical editor for path components (e -> p shortcut from request ↵Aldo Cortesi2012-08-192-3/+19
| | | | view screen).
* Command-line options for header setting.Aldo Cortesi2012-08-191-0/+4
|
* Add SetHeaders, analogous to ReplaceHooks, with a graphical editor in ↵Aldo Cortesi2012-08-182-6/+24
| | | | | | | mitmproxy (H shortcut). SetHeaders defines headers that are set on flows, based on a matching pattern. Existing headers are over-ridden.
* Use the new ODict get_first convenience function in a bunch of places.Aldo Cortesi2012-08-182-12/+10
|
* Further content view cleaups.Aldo Cortesi2012-08-181-9/+28
|
* Send tracebacks from content viewers to event log.Aldo Cortesi2012-08-182-3/+4
| | | | Also, 100% test coverage for content viewers.
* Further simplifcation and testing of contentviews.Aldo Cortesi2012-08-182-27/+16
|
* Huge cleanup of content viewers.Aldo Cortesi2012-08-183-295/+301
|
* Optional AMF decoding supportSahn Lam2012-08-172-2/+30
| | | | If PyAMF is installed, enable AMF decoding.
* Add an HTML text outline view.Aldo Cortesi2012-08-181-3/+20
| | | | | | Uses html2text, from here: https://github.com/aaronsw/html2text
* Stop server playback after current playback buffer is exhausted.Aldo Cortesi2012-08-182-2/+2
|
* Server replay from current buffer.Aldo Cortesi2012-08-181-0/+44
|
* Return from Flow View behaviourRob Wills2012-08-021-1/+5
| | | | Following focus trumps the re-focusing the "current" (or just-viewed) flow.