diff --git a/libmproxy/console.py b/libmproxy/console.py index 9ba9474bd..8507c1e30 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -1096,6 +1096,16 @@ class ConsoleMaster(controller.Master): if hasattr(self.statusbar, "refresh_connection"): self.statusbar.refresh_connection(c) + def process_flow(self, f, r): + if f.match(self.state.beep): + urwid.curses_display.curses.beep() + if f.match(self.state.intercept) and not f.is_replay(): + f.intercept() + else: + r.ack() + self.sync_list_view() + self.refresh_connection(f) + # Handlers def handle_browserconnection(self, r): f = Flow(r) @@ -1111,16 +1121,6 @@ class ConsoleMaster(controller.Master): self.sync_list_view() self.refresh_connection(f) - def process_flow(self, f, r): - if f.match(self.state.beep): - urwid.curses_display.curses.beep() - if f.match(self.state.intercept) and not f.is_replay(): - f.intercept() - else: - r.ack() - self.sync_list_view() - self.refresh_connection(f) - def handle_request(self, r): f = self.state.add_request(r) if not f: diff --git a/todo b/todo index 68cccaa64..c1d676ded 100644 --- a/todo +++ b/todo @@ -1,6 +1,6 @@ Future: - + - Strings view. - Field parsing and editing. - On-the-fly generation of keys, signed with a CA @@ -10,7 +10,11 @@ Future: - Serializing and de-serializing requests and responses. - Use real non-blocking input handling to minimize cpu load. - Upstream proxies. - + - mitmdump + - Filters + - Sticky cookies + - Pipe to script + - After we add serialization of flows, command-line replay Bugs: