Maximilian Hils
97a00728a8
[web] add connection tests
2017-04-29 19:43:59 +02:00
Maximilian Hils
8f1b763082
[web] add connection indicator
2017-04-29 19:34:51 +02:00
Maximilian Hils
aa0e134041
Merge pull request #2276 from mitmproxy/add-examples-to-script-docs
...
Prominently link to examples in script docs
2017-04-29 19:23:21 +02:00
Aldo Cortesi
4b568f99d6
Introduce cuts: a flow dissector
...
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.
2017-04-29 23:32:31 +12:00
Aldo Cortesi
83f8760703
Merge pull request #2221 from iharsh234/mypy-master-example/simple
...
Extend mypy example/simple (#2194 )
2017-04-29 23:19:11 +12:00
Aldo Cortesi
25fb0cc019
Merge pull request #2290 from cortesi/scriptrun
...
command: script.run
2017-04-29 13:48:17 +12:00
Aldo Cortesi
d439b34511
command: script.run
...
Plus the flowlist binding adjustments.
2017-04-29 13:24:19 +12:00
Aldo Cortesi
915bc7647d
Merge pull request #2289 from cortesi/flowrevert
...
command: flow.revert
2017-04-29 12:30:23 +12:00
Aldo Cortesi
a32f87fef9
Merge pull request #2288 from cortesi/replayfiles
...
commands: "replay.client.file" and "replay.server.file"
2017-04-29 11:52:38 +12:00
Aldo Cortesi
1d5eedcc9c
command: flow.revert
...
Plus matching binding in flowlist.
2017-04-29 11:48:25 +12:00
Aldo Cortesi
f908ea220f
commands: "replay.client.file" and "replay.server.file"
2017-04-29 11:34:50 +12:00
Aldo Cortesi
c7247e026d
Merge pull request #2287 from cortesi/cmdmark
...
commands: marking
2017-04-29 11:23:19 +12:00
Aldo Cortesi
a92017a6c1
Rework client and server replay
...
- 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
2017-04-29 11:02:36 +12:00
harsh vijay
789fbd00d2
Fixed lint error
2017-04-29 03:54:00 +05:30
harsh vijay
6e03231d25
lint error fixed
2017-04-29 03:49:08 +05:30
Aldo Cortesi
7317ea134e
command: flow.kill, flow.replay
...
Plus the matching bindings in the flow list.
2017-04-29 09:58:32 +12:00
harsh vijay
36118973d9
extend mypy example/simple
2017-04-29 03:26:14 +05:30
Aldo Cortesi
f21a970f29
commands: marking
...
Add "view.mark [flows] bool" and "view.mark.toggle [flows]". Use this to rebind
marking keys in flowlist.
2017-04-29 09:14:44 +12:00
Aldo Cortesi
139c4e6db3
Merge pull request #2283 from cortesi/cmdall
...
Commands, core update event
2017-04-29 09:14:22 +12:00
Aldo Cortesi
217addbf31
commands: view.go
...
bind G to "view.go -1"
bind g to "view.go 0"
2017-04-29 08:40:38 +12:00
Aldo Cortesi
0b090f7ae1
Commands, core update event
...
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
2017-04-29 08:01:00 +12:00
Charles d'Hondt
65202f5f1c
Added ldapsss vef
2017-04-28 17:00:21 +02:00
Charles d'Hondt
6d3837fd54
fix
2017-04-28 16:44:50 +02:00
Charles d'Hondt
f91ed91bf1
fix
2017-04-28 16:40:34 +02:00
Charles d'Hondt
29c1f303d6
Fixed typo
2017-04-28 16:23:32 +02:00
Charles d'Hondt
5fb18ad275
Added LDAP Auth
2017-04-28 16:19:27 +02:00
Matthew Shao
f8b76a62ff
[web] Add coverage for js/urlState.js
2017-04-28 22:06:17 +08:00
Maximilian Hils
b537997f4f
Update README.md
2017-04-28 14:43:49 +02:00
Maximilian Hils
05e1f22143
Update README.md
2017-04-28 14:24:57 +02:00
Maximilian Hils
bd88733a0a
update CHANGELOG
2017-04-28 14:22:56 +02:00
Maximilian Hils
769123498c
fix mitmweb's content security policy
2017-04-28 14:14:56 +02:00
Aldo Cortesi
a781bab7db
Merge pull request #2282 from cortesi/cmddec
...
Add a command.command decorator
2017-04-28 15:33:00 +12:00
Aldo Cortesi
6af1a49464
commands: add a command.command decorator
...
Use this for our built-ins and the console commands.
2017-04-28 15:07:52 +12:00
Aldo Cortesi
7ff84673fd
Support unary flow command arguments
...
Use this to add a console.view.flow command and bind "enter" in flowlist.
2017-04-28 14:05:35 +12:00
Aldo Cortesi
0ff0253b3e
console: save flows to command
2017-04-28 12:15:28 +12:00
Aldo Cortesi
cfae95f5c3
console: start migrating hotkeys to keymap
...
This shifts a set of flow list keys to keymaps. Much more to come.
2017-04-28 12:10:48 +12:00
Aldo Cortesi
cbb35cee51
Merge pull request #2280 from cortesi/coreset
...
commands: add the core command addon, and the command "set"
2017-04-28 12:10:02 +12:00
Aldo Cortesi
ce01cb9c09
command: partials
...
Support partial commands in console.command, use it to keybind "i" for
intercept, which prompts the user with ":set intercept=".
2017-04-28 11:24:28 +12:00
Aldo Cortesi
29b3e787ca
Merge pull request #2279 from cortesi/keymap
...
console: keymap
2017-04-28 10:43:05 +12:00
Aldo Cortesi
8a07059cf4
commands: add the core command addon, and the command "set"
...
The set command sets an option using the same syntax as commandline --set.
2017-04-28 10:41:44 +12:00
Aldo Cortesi
be1b76b975
console: add a keymap
...
This sketches out a keymap system for consone, and adds the first few top-level
commands and mappings.
2017-04-28 10:21:15 +12:00
Aldo Cortesi
18edc11145
console: interactive command browser
...
Simple browser that lets users view and select commands interactively.
Key binding for this is still to be sorted out.
2017-04-28 07:43:58 +12:00
Aldo Cortesi
b73b06b364
Merge pull request #2274 from cortesi/alerts
...
Add an "alert" log level.
2017-04-28 06:53:51 +12:00
Aldo Cortesi
aab6bf747c
Merge pull request #2273 from cortesi/commands
...
Commands
2017-04-28 06:53:41 +12:00
Thomas Kriechbaumer
adce1a8235
Merge pull request #2277 from Kriechi/bump-cryptography
...
bump cryptography min-version
2017-04-27 20:11:15 +02:00
Thomas Kriechbaumer
3e82f4d6c4
bump cryptography min-version
...
This removes OpenSSL v0.9.8 support.
2017-04-27 19:39:56 +02:00
Maximilian Hils
5f91b7a45d
Merge pull request #2275 from mitmproxy/mitmweb-change-react-prop-types
...
change import of prop-types
2017-04-27 18:29:57 +02:00
Maximilian Hils
75d952c46c
prominently link to examples in script docs
2017-04-27 18:23:36 +02:00
cle1000
115a31c9ba
change import of prop-types
2017-04-27 10:54:21 +02:00
Aldo Cortesi
218e127e74
Add an "alert" log level.
...
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.
2017-04-27 19:08:01 +12:00