mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
4 lines
116 B
Python
4 lines
116 B
Python
def tcp_message(ctx, tm):
|
|
if tm.sender == tm.server_conn:
|
|
tm.message = tm.message.replace("foo", "bar")
|