Highlight intercepted TCP messages

This commit is contained in:
Nikita Stupin 2020-05-22 20:31:39 +03:00
parent 199bd795b3
commit bace253682

View File

@ -164,6 +164,10 @@ class FlowDetails(tabs.Tabs):
from_client = not from_client from_client = not from_client
if flow.intercepted:
markup = widget_lines[-1].get_text()[0]
widget_lines[-1].set_text(("intercept", markup))
widget_lines.insert(0, self._contentview_status_bar(viewmode.capitalize(), viewmode)) widget_lines.insert(0, self._contentview_status_bar(viewmode.capitalize(), viewmode))
return searchable.Searchable(widget_lines) return searchable.Searchable(widget_lines)