Thomas Kriechbaumer
79778071cf
close the client connection if TLS ClientHello parsing fails
2019-11-30 12:43:25 +01:00
Maximilian Hils
f026285434
Merge pull request #3727 from typoon/mitmproxy-improve-commander
...
Commander bar navigation keys
2019-11-26 02:47:34 +01:00
Henrique
b3b069f468
Remove blank line
2019-11-25 19:00:54 -05:00
Henrique
8449db103e
Fixed ctrl w
2019-11-25 18:55:12 -05:00
Henrique
046779615f
Added some navigation keys to the command bar same way as in a Linux
...
terminal
2019-11-25 15:41:58 -05:00
Maximilian Hils
80973bd6ec
remove unused hyperlink in README.rst
2019-11-23 18:03:59 +01:00
Maximilian Hils
bbb7eb692f
Merge pull request #3718 from mhils/simplify-install-instructions
...
Simplify install instructions
2019-11-21 22:50:34 +01:00
Maximilian Hils
3550bdfe00
Merge pull request #3693 from typoon/fix-command-bar-issue-3259
...
Improve Command Bar UX
2019-11-21 14:13:08 +01:00
Maximilian Hils
f7a3e903ac
fix keybind for loading flows
2019-11-21 14:06:03 +01:00
Maximilian Hils
6ad7b575bb
simplify install instructions
2019-11-20 18:45:36 +01:00
Maximilian Hils
3a7ca3e1e7
Merge pull request #3717 from Jessonsotoventura/replay
...
Added Replay to new table UI
2019-11-20 17:28:27 +01:00
Jesson Soto Ventura
dc2d8f50ca
added column for mark and replay
2019-11-19 22:39:00 -05:00
Maximilian Hils
223335111d
Delete issue_template.md
...
this is in .github/ now.
2019-11-19 21:36:56 +01:00
Maximilian Hils
51cea9eee3
update badges
2019-11-19 21:36:20 +01:00
Maximilian Hils
fa100b9d16
lint!
2019-11-19 21:11:49 +01:00
Maximilian Hils
228e1c74c2
fix tests
2019-11-19 18:37:47 +01:00
Maximilian Hils
b9f3a310a7
Merge pull request #3714 from sethb157/ipv6_only
...
Add support for IPv6-only environments
2019-11-19 18:32:29 +01:00
Maximilian Hils
c7eedcbc1a
fix 'set' to only accept a single argument
2019-11-19 18:29:22 +01:00
Maximilian Hils
76e6484107
fix lexing, sort of
2019-11-19 18:21:14 +01:00
Maximilian Hils
e92b957e3a
Use Github Actions for CI ( #3713 )
...
switch to github actions for CI
2019-11-19 18:15:08 +01:00
Seth Barrios
1ada2e26e8
Add support for IPv6-only environments
...
Previously, the proxy would attempt to bind to an IPv6 + IPv4 enabled socket.
On failure, it would try to bind to an IPv4 only socket. If that failed, the
proxy would fail to start. This update makes it so that the proxy also tries
to bind to an IPv6-only socket, which is necessary in environments where IPv4
is disabled.
In short, the proxy will try binding in the following order, only moving
to the next step when binding fails:
IPv6 + IPv4 -> IPv4 only -> IPv6 only -> proxy fails to start.
2019-11-18 15:26:49 -08:00
Maximilian Hils
74f5fa6a77
wip
2019-11-18 22:03:51 +01:00
Maximilian Hils
70e3871fdb
pin pyopenssl to fix builds, refs #3692
2019-11-18 17:11:15 +01:00
Maximilian Hils
7bf06f8ae0
fix coverage
2019-11-18 05:19:06 +01:00
Maximilian Hils
dd556f052b
coverage++
2019-11-18 04:34:23 +01:00
Maximilian Hils
da0755106d
adjust test
2019-11-18 03:54:18 +01:00
Maximilian Hils
f75a95acea
fix vararg handling
2019-11-18 03:45:16 +01:00
Maximilian Hils
cb723c53fa
revamp command processing
...
- Display the parameter name instead of the parameter type
whenver users interact with commands. This makes it easy to
enter commands just by their signature. We may want to expose type
information in the command list, but some quick testing showed that
this are rather intuitive anyways.
- Add shift tab backward cycling for the command completion.
- Use inspect.Signature instead of homebrew argument matching solution.
This gets rid of quite a bit of cruft.
- Remove some type checking hacks in mitmproxy.types
2019-11-18 03:05:41 +01:00
Maximilian Hils
8a6370f1c2
make command parameter names more descriptive
2019-11-18 02:55:37 +01:00
Maximilian Hils
cb22fc68d1
adjust remote debug example to latest pycharm version
2019-11-18 02:52:20 +01:00
Henrique
8b52ea248e
Added coverage for the changes made
2019-11-17 11:26:20 -05:00
Henrique
39a6d4860c
Fixed issue with string parameters between quotes that do not have a
...
space
2019-11-17 10:24:49 -05:00
Henrique
fbcaab2aba
Added return signature to methods on commander.py
2019-11-16 20:15:27 -05:00
Henrique
13fe07f48f
Brought coverage up to 94% on test_commander.py
2019-11-16 20:14:38 -05:00
Henrique
7779eef572
Various changes to address PR comments
...
Made a change to make `CommandManager.execute` the main entry point for
executing commands and made `call_strings` into a private method.
2019-11-16 17:01:47 -05:00
Henrique
373cc945c0
Removing dead code
2019-11-16 13:14:57 -05:00
Henrique
a0ef36727e
Forgot to remove the empty _parse_cmd
function
2019-11-16 09:18:32 -05:00
Henrique
79caf3a458
Fixing issues pointed during PR review
2019-11-16 09:16:50 -05:00
Maximilian Hils
ac22aee2f5
cleanup mypy usage
2019-11-16 15:14:30 +01:00
Maximilian Hils
d17b9d6230
make mypy happy
2019-11-16 13:54:44 +01:00
Maximilian Hils
a799fddee1
Merge pull request #3702 from mckeimic/master
...
Adding export raw http response
2019-11-16 13:20:28 +01:00
Maximilian Hils
ee92477c1b
fix lint
2019-11-16 13:20:17 +01:00
Maximilian Hils
bccee15dcb
minor type fixes
2019-11-16 12:09:38 +01:00
Maximilian Hils
8158349db5
Merge branch 'master' into master
2019-11-16 12:07:22 +01:00
Maximilian Hils
d1eec4d807
Merge pull request #3705 from mhils/issue-3469
...
Fix #3469
2019-11-16 12:06:13 +01:00
Maximilian Hils
2d01c81c1f
Merge pull request #3700 from Jessonsotoventura/confirm_quit
...
Ctrl-C should prompt the user before exiting
2019-11-16 12:04:59 +01:00
Maximilian Hils
5c0be1de4a
Merge pull request #3448 from cript0nauta/master
...
Fix command injection vulnerability when exporting to curl or httpie
2019-11-16 12:03:34 +01:00
Michael McKeirnan
a6e8b930c9
Adding raw_request and raw_response to export
...
This is a proposed change for
https://github.com/mitmproxy/mitmproxy/issues/3701 which alters the
behavior of a raw http export to include both the request and the
response. Additionally, this introduces two new export options
"raw_request" and "raw_response" which allow for exporting the raw HTTP
request or response individually.
2019-11-16 01:20:50 -08:00
Jesson Soto Ventura
5cb1746ef6
used getattr to select exit
2019-11-15 23:22:38 -05:00
Henrique
a244ece0e5
Removed useless else that prevented 100% code coverage
2019-11-15 18:15:56 -05:00