From 8e57597d22ad98740ca86e741c06f3821abdf7a4 Mon Sep 17 00:00:00 2001 From: Marcelo Glezer Date: Tue, 13 Jan 2015 08:16:00 -0300 Subject: [PATCH 1/2] missing parameter in start_server_playback call --- libmproxy/console/flowlist.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libmproxy/console/flowlist.py b/libmproxy/console/flowlist.py index c896ba33e..102fa7b9f 100644 --- a/libmproxy/console/flowlist.py +++ b/libmproxy/console/flowlist.py @@ -121,14 +121,16 @@ class ConnectionItem(common.WWrap): [i.copy() for i in self.master.state.view], self.master.killextra, self.master.rheaders, False, self.master.nopop, - self.master.options.replay_ignore_params, self.master.options.replay_ignore_content + self.master.options.replay_ignore_params, self.master.options.replay_ignore_content, + self.master.options.replay_ignore_payload_params ) elif k == "t": self.master.start_server_playback( [self.flow.copy()], self.master.killextra, self.master.rheaders, False, self.master.nopop, - self.master.options.replay_ignore_params, self.master.options.replay_ignore_content + self.master.options.replay_ignore_params, self.master.options.replay_ignore_content, + self.master.options.replay_ignore_payload_params ) else: self.master.path_prompt( From 965cfffa5ec5bb2b395a8445027e5020272a18ed Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 5 Feb 2015 14:15:26 +0100 Subject: [PATCH 2/2] fix statusbar initialization --- libmproxy/console/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 6fd831410..dc20d21fa 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -423,6 +423,8 @@ class ConsoleMaster(flow.FlowMaster): self.eventlog = options.eventlog self.eventlist = urwid.SimpleListWalker([]) + self.statusbar = None + if options.client_replay: self.client_playback_path(options.client_replay)