Thomas Kriechbaumer
f5eaddb12c
Merge pull request #2346 from ujjwal96/test-coverage
...
Tests for wbxml
2017-05-26 18:38:24 +02:00
Thomas Kriechbaumer
47b6d1823e
remove old test file
2017-05-26 17:04:04 +02:00
Thomas Kriechbaumer
ee6ea31147
Merge pull request #2353 from ujjwal96/tls-parser
...
Using kaitai struct to parse tls client hello
2017-05-26 13:58:29 +02:00
Ujjwal Verma
6637630e3e
Using kaitai struct to parse tls client hello
2017-05-26 00:41:18 +05:30
Thomas Kriechbaumer
cfed4432a0
pathod: fix leaking fds
2017-05-24 19:32:20 +02:00
Ujjwal Verma
bd8a869118
Tests for wbxml
2017-05-24 21:37:49 +05:30
Thomas Kriechbaumer
673ed5b45e
pathod: properly verify certificate in tests
2017-05-24 17:40:44 +02:00
Thomas Kriechbaumer
6214c6e185
fix openssl cipher_list bytes/str deprecation
2017-05-24 16:17:04 +02:00
Thomas Kriechbaumer
e77f07a36b
cleanup
2017-05-24 14:23:36 +02:00
Thomas Kriechbaumer
ae7e9efb5c
fix various fd/socket leaks
2017-05-24 14:09:41 +02:00
Thomas Kriechbaumer
2faaa0b2a2
connections tests: fix leaking sockets
2017-05-24 13:21:58 +02:00
Thomas Kriechbaumer
928085c597
proxy tests: fix leaking sockets
2017-05-24 12:52:13 +02:00
Thomas Kriechbaumer
c9529ffe45
http1 tests: fix leaking sockets
2017-05-24 11:43:57 +02:00
Thomas Kriechbaumer
618044c637
http2 tests: fix leaking sockets
2017-05-24 11:43:50 +02:00
Thomas Kriechbaumer
c4f028d701
websocket tests: fix leaking sockets
2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
0bd3d0ff4c
upgrade pytest and remove our pytest.raises wrapper
2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
4961d782ed
fix typo
2017-05-24 11:35:53 +02:00
Thomas Kriechbaumer
b4f65049f2
auto-close file after reading
2017-05-24 11:35:53 +02:00
Maximilian Hils
5626c384ab
Merge pull request #2342 from MatthewShao/jest-dev
...
[web] Add _flow.js for component tests.
2017-05-22 10:00:35 +02:00
Matthew Shao
2935ff5f3a
[web] Set some value as constant, so _tflow.js would not change.
2017-05-22 08:53:59 +08:00
Matthew Shao
2c38fddea5
[web] TFlow minor improved.
2017-05-21 20:59:19 +08:00
Matthew Shao
369e1f1eee
[web] Fix minior lint problem.
2017-05-19 09:56:52 +08:00
Matthew Shao
50c0703424
[web] Add _tflow.js generator in test_app.py
2017-05-19 09:45:30 +08:00
Ujjwal Verma
5833b218b2
Increase net.tcp.py coverage ( #2336 )
2017-05-17 23:27:57 +08:00
Ujjwal Verma
37053f0efc
Increased mitmproxy.controller coverage
2017-05-17 11:06:40 +05:30
Ujjwal Verma
204d06f93f
Increased xml_html contentview coverage
2017-05-17 11:05:49 +05:30
Ujjwal Verma
8eea05fcaf
Increase contentviews api coverage
2017-05-17 11:04:43 +05:30
Ujjwal Verma
d47de94303
Increase io.compat coverage
2017-05-12 21:09:50 +05:30
Ujjwal Verma
766c5caea8
Increased net.http.cookies.py and net.http.message.py coverage
2017-05-12 21:09:50 +05:30
charlesdhdt
9f8e83259e
Fixed LDAP Auth ( #2333 )
2017-05-12 15:37:00 +02:00
Ujjwal Verma
3e85dfd242
Handle head request on onboarding app: Fix #2324 ( #2325 )
2017-05-09 20:08:42 +02:00
Maximilian Hils
d734f6bbd6
Merge pull request #2286 from charlesdhdt/master
...
Added LDAP Auth
2017-05-04 16:24:57 +02:00
Charles d'Hondt
154e8ac0fc
fixed lint
2017-05-04 13:39:48 +02:00
Charles d'Hondt
f67d9adc31
Added ldap mock test
2017-05-04 13:25:15 +02:00
Maximilian Hils
315daa042a
fix #2310
2017-05-03 17:38:17 +02:00
Aldo Cortesi
2659b52209
console: add a two-pane layout
...
- Replace options.console_eventlog with options.console_layout
- This can be "single", "vertical" and "horizontal"
- At the base of the primary pane is the flowlist. At the base of the secondary
pane is the event log.
- Any of the other primary windows can be opened in each of the panes.
For now, I've bound "-" to the flow layout switch, "shift tab" to the layout
pane switch, and "P" to open the currently focused flow in whichever pane
you're in. These are just temporary - we'll reassess the default bindings
carefully once the keybindings work is complete.
2017-05-03 14:55:02 +12:00
Aldo Cortesi
dcae79e017
console: various bugs
...
- Action bar now correctly gets the palette background
- Viewing connection details for a killed flow no longer crashes
- Editing options with selections no longer crashes
2017-05-02 12:56:27 +12:00
Aldo Cortesi
4e39d387d3
commands: options control
...
Use the new commands to bind the Options view in console.
2017-05-02 12:18:24 +12:00
Aldo Cortesi
9e58c36639
console: globally respected nav commands
...
Use this to bind nav keys with commands throughout.
2017-05-02 12:18:24 +12:00
Aldo Cortesi
2f52d8b9ad
commands: view.setval, view.getval, view.setval.toggle
...
Use these to bind the last of the key for flowview. Flow views are now 100%
keybound.
2017-05-01 19:52:24 +12:00
Aldo Cortesi
7d56ec9d49
commands: flow.encode, flow.decode, flow.encode.toggle
...
Use this to bind "z" in flowview.
2017-05-01 18:31:22 +12:00
Aldo Cortesi
1ea4a5a48e
keymap: keys can now bind to multiple contexts
...
Use this to map the majority of the keys in flowview.
2017-05-01 16:52:58 +12:00
Aldo Cortesi
670d1e408b
command: flow.set
...
Use this to replace the flow edit components of flowview entirely.
2017-05-01 14:56:57 +12:00
Aldo Cortesi
685487d33c
commands: view.order.options, view.marked.toggle, view.create
...
And use these commands to remove the last hard-coded keybindings from flow
list. This means the flow list is now 100% command-driven, which is very
exciting.
2017-04-30 22:45:31 +12:00
Aldo Cortesi
a570caccbd
commands: view.load
...
Plus replace the flow list keybinding.
2017-04-30 22:02:29 +12:00
Aldo Cortesi
3cd93567f5
commands: support *args for commands
...
Use this to simplify meta-commands in console, and to create a console_choose
command that prompts the user for a choice, and then executes a command with
variable substitution.
2017-04-30 21:24:00 +12:00
Aldo Cortesi
bcbe87bb09
Move export to addon, kill Python and Locust export
...
Also add a "raw" export format.
The Python and Locust exports are hard to maintain, their tests are extremely
brittle, they didn't have full test coverage, and are by my guess very rarely
used. I feel the Locust export should certainly be an externally maintained
addon. The Python/requests export can come back if someone cares enough, and it
can be structured in a way we can maintain.
2017-04-30 17:53:30 +12:00
Aldo Cortesi
befbe88d96
commands: cut.clip copies cuts to system clipboard
2017-04-30 14:42:37 +12:00
Aldo Cortesi
ed62bbad1d
Add help text to --commands output
2017-04-30 14:20:21 +12:00
Aldo Cortesi
075d452a6d
cut: more flexible cut specification based on attribute paths
...
Also support certificate types, which are converted to ASCII-encoded PEM format.
2017-04-30 14:05:45 +12:00