aboutsummaryrefslogtreecommitdiffstats
path: root/mitmdump
diff options
context:
space:
mode:
Diffstat (limited to 'mitmdump')
-rwxr-xr-xmitmdump4
1 files changed, 4 insertions, 0 deletions
diff --git a/mitmdump b/mitmdump
index c6a9ce10..a1b8aef1 100755
--- a/mitmdump
+++ b/mitmdump
@@ -50,6 +50,9 @@ if __name__ == '__main__':
parser.add_option("-r", "--replay",
action="store", dest="replay", default=None,
help="Replay server responses from a saved file.")
+ parser.add_option("-k", "--kill",
+ action="store_true", dest="kill", default=False,
+ help="Kill extra requests during replay.")
options, args = parser.parse_args()
@@ -65,6 +68,7 @@ if __name__ == '__main__':
request_script = options.request_script,
response_script = options.response_script,
replay = options.replay,
+ kill = options.kill
)
if args:
filt = " ".join(args)