Fix bug: TCP interception do not adhere ctx.options.intercept_active

This commit is contained in:
Nikita Stupin 2020-07-15 22:38:00 +03:00
parent 7d9e3dd9a3
commit cf63396d84

View File

@ -51,5 +51,5 @@ class Intercept:
self.process_flow(f)
def tcp_message(self, f):
if self.filt:
if self.filt and ctx.options.intercept_active:
f.intercept()