Commit Graph

9366 Commits

Author SHA1 Message Date
Yoann L
6da1db750c missed a type ignore, for mypy compliance 2019-10-29 12:38:11 +01:00
Yoann L
4383122b7b several fixes on command exports has several problems: #3676
* authority can usually rely on actual URL. as `:authority` headers will
break curl command. (advise if it's better to change them to Host, or if
it should be reported on curl side)
* `content-length`: 0 is added for each request. if it's found in the
curl argument list, it'll try to fetch an empty body (and crash).
also trying to guess on accept-encoding header to add the
`--compress` option when fetching potentially compressed content.
* ditto for httpie
* factorize it into raise_if_missing_request (and rename it)
2019-10-29 12:24:07 +01:00
Yoann L
3370740361 several fixes on command exports has several problems: #3676
* authority can usually rely on actual URL. as `:authority` headers will
break curl command. (advise if it's better to change them to Host, or if
it should be reported on curl side)
* `content-length`: 0 is added for each request. if it's found in the
curl argument list, it'll try to fetch an empty body (and crash).
also trying to guess on accept-encoding header to add the
`--compress` option when fetching potentially compressed content.
* ditto for httpie
2019-10-28 17:51:59 +01:00
Yoann L
ad120c380a fixes #3559
if the `:authority` header is not found, we can try to guess it from
variable `flow.request.pretty_host` as .pop() accepts a fallback
parameter
2019-10-25 10:38:35 +02:00
Maximilian Hils
eb7ed1dc40
Merge pull request #3671 from mhils/add-types
Add HTTP Message Type Hints
2019-10-16 21:42:37 +02:00
Maximilian Hils
063ff41858 add http message type hints 2019-10-16 20:33:09 +02:00
Will
45e3ae0f9c grammer correction (#3670) 2019-10-15 19:59:42 +02:00
jannst
a4ff65e321 Adding tutorial on how to insert mitmproxy CA cert into the android system certificate store 2019-10-13 22:03:24 +02:00
Maximilian Hils
4e0598fb5a
Merge pull request #3667 from jannst/fix_docs_readme
hugo server -D fails if html file in docs/src/generated are not present
2019-10-13 18:21:08 +02:00
Maximilian Hils
68a7d37d53
improve wording 2019-10-13 18:20:38 +02:00
jannst
f580e0ea97 hugo server -D fails if html file in docs/src/generated are not present 2019-10-13 17:48:23 +02:00
Maximilian Hils
902ef59d01
Move onboardingapp from tornado to flask (#3661) 2019-10-06 14:41:46 +02:00
Maximilian Hils
c88d3a9431
update dependencies 2019-10-06 14:00:02 +02:00
Maximilian Hils
fed3d3eb37
Merge pull request #3659 from vin01/master
Add EKU extension for dummy certificates
2019-10-04 16:24:19 +02:00
vin01
ed65476b21
Add EKU extension for dummy certificates 2019-10-03 10:23:45 +02:00
vin01
93f9e30728 Add key_size option to define rsa key size (#3657) 2019-09-30 19:19:52 +02:00
Nirusu
7ef91f46a3 Update howto-transparent-vms.md for newer versions (#3597)
Update howto-transparent-vms.md for newer versions
2019-09-30 11:41:49 +02:00
Thomas Kriechbaumer
965dd3cfb5
Merge pull request #3655 from Kriechi/bump
bump more deps
2019-09-28 23:56:49 +02:00
Thomas Kriechbaumer
ace79afefc bump more deps 2019-09-28 23:29:13 +02:00
Thomas Kriechbaumer
33a2415f6c
Merge pull request #3653 from Kriechi/bump-yaml
bump deps
2019-09-28 18:49:56 +02:00
Thomas Kriechbaumer
53cb5bf40f bump deps 2019-09-28 17:37:43 +02:00
Thomas Kriechbaumer
f6405abda2
Merge pull request #3329 from Kriechi/readme-slogan
update readme slogan
2019-09-28 16:45:00 +02:00
Thomas Kriechbaumer
24dd346909
Merge pull request #3651 from Kriechi/bump-deps
bump dependencies
2019-09-28 15:24:01 +02:00
Thomas Kriechbaumer
b4ffc929a2 bump dependencies 2019-09-28 14:49:14 +02:00
Thomas Kriechbaumer
42d5da0123
Merge pull request #3560 from travelperk/add-refresh-option
Add refresh option to disable cookies
2019-09-28 13:34:00 +02:00
Thomas Kriechbaumer
bb356d89e0
Merge pull request #3594 from Jessonsotoventura/open_editor
Edit URLs in external editor
2019-09-28 13:31:29 +02:00
Thomas Kriechbaumer
773da8e39d
Merge pull request #3650 from Kriechi/fix-linting
fix linting
2019-09-28 13:06:07 +02:00
Thomas Kriechbaumer
a54954ee1e fix linting 2019-09-28 12:29:16 +02:00
Thomas Kriechbaumer
7d60dde76c
Merge pull request #3464 from rjt-gupta/url-fix
Non ascii characters in url
2019-09-28 11:46:58 +02:00
Thomas Kriechbaumer
76bd3ef82d
Merge pull request #3486 from rjt-gupta/unicode-filter
filter unicode fix
2019-09-28 11:44:15 +02:00
Thomas Kriechbaumer
26e55b0a7f
Merge pull request #3526 from pierlon/feature/allow-hosts
Add --allow_hosts option
2019-09-28 11:40:18 +02:00
Thomas Kriechbaumer
16bc62bd77
Merge pull request #3603 from tomsaleeba/patch-1
Transparent proxy on Linux for local originating traffic
2019-09-28 11:38:30 +02:00
Thomas Kriechbaumer
079374dec8
Merge pull request #3600 from king6cong/master
fix pf.conf on macOS
2019-09-28 11:33:32 +02:00
Thomas Kriechbaumer
56b993ea26
Merge pull request #3646 from ahopkins/patch-1
Update concepts-certificates.md
2019-09-28 11:30:44 +02:00
Thomas Kriechbaumer
e791720920
Merge pull request #3648 from Eluch/master
ssl_insecure added to option_whitelist because it was missing
2019-09-28 11:29:54 +02:00
Ferenc soós
86aacf4d5b ssl_insecure added to option_whitelist because it was missing 2019-09-27 10:00:50 +02:00
Maximilian Hils
1021f3cae6
Merge pull request #3593 from Jessonsotoventura/tabular
[RFC] Tabular flow list [Updated]
2019-09-26 17:41:45 +10:00
Jesson Soto Ventura
55719a6942
Updated Setup.py
A comma broke the build
2019-09-24 23:47:14 -04:00
Jesson Soto Ventura
b7e2590294
Merge branch 'master' into tabular 2019-09-24 23:40:28 -04:00
Jesson Soto Ventura
c02d515b2a Fixed Duration on list view
- Set min size to 100 for table view
2019-09-24 23:36:39 -04:00
Jesson Soto Ventura
94ca23b782 TLD and SLD are now highlighted using publicsuffix
- Added time.time() as the default for the start time on fake requests
2019-09-24 23:12:25 -04:00
Adam Hopkins
6ba39ede08
Update concepts-certificates.md
Update to direct people to using Safari instead of another browser on iOS.
2019-09-24 14:59:26 +03:00
Maximilian Hils
a08c22dcdd
Merge pull request #3631 from mhils/lint
Fix CI
2019-09-05 23:20:54 +02:00
Maximilian Hils
ddaf5a1f1b
Merge pull request #3627 from RamiBerm/patch-1
Updated har_dump,py timings dictionary function
2019-09-05 22:14:04 +02:00
Maximilian Hils
e97a804e89
make dict comprehension more readable 2019-09-05 22:13:49 +02:00
Maximilian Hils
ede2d1b243
Merge pull request #3630 from tsaaristo/encode-zstandard
Add support for zstd Content-Encoding
2019-09-05 22:09:51 +02:00
Maximilian Hils
e77f375186 lint 2019-09-05 22:08:21 +02:00
Maximilian Hils
ebfff8db76 lint 2019-09-05 21:36:44 +02:00
Tero Saaristo
dd3589ce34 encoding: add support for zstd (zstandard)
Handles zstandard-compressed bodies labeled as zstd.
2019-09-05 17:52:04 +03:00
RamiBerm
4ce5e1386c
Updated har_dump,py timings dictionary function
the HAR file spec (http://www.softwareishard.com/blog/har-12-spec/#timings) states that timings that do not apply for a certain requests should be set to -1, this example may set -1000 as a timings value for certain requests.
This ends up producing invalid HAR files in many cases.

My proposed fix is to assign -1 into the dic and only multiply by 1000 for other values
2019-09-03 17:19:50 +03:00