From 803d631f04f6af5bb54bbb46b3efec39622ca216 Mon Sep 17 00:00:00 2001 From: Wade Catron Date: Sat, 7 Mar 2015 08:38:18 -0800 Subject: Adding a server replay option to ignore host when searching for matching requests --- libmproxy/console/__init__.py | 5 ++++- libmproxy/console/flowlist.py | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'libmproxy/console') diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 0db06832..cc8a0c1f 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -528,7 +528,10 @@ class ConsoleMaster(flow.FlowMaster): flows, self.killextra, self.rheaders, False, self.nopop, - self.options.replay_ignore_params, self.options.replay_ignore_content, self.options.replay_ignore_payload_params + self.options.replay_ignore_params, + self.options.replay_ignore_content, + self.options.replay_ignore_payload_params, + self.options.replay_ignore_host ) def spawn_editor(self, data): diff --git a/libmproxy/console/flowlist.py b/libmproxy/console/flowlist.py index 9e7c6d69..2a6a98c8 100644 --- a/libmproxy/console/flowlist.py +++ b/libmproxy/console/flowlist.py @@ -126,7 +126,8 @@ class ConnectionItem(common.WWrap): 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_payload_params + self.master.options.replay_ignore_payload_params, + self.master.options.replay_ignore_host ) elif k == "t": self.master.start_server_playback( @@ -134,7 +135,8 @@ class ConnectionItem(common.WWrap): 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_payload_params + self.master.options.replay_ignore_payload_params, + self.master.options.replay_ignore_host ) else: self.master.path_prompt( -- cgit v1.2.3