%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/309157/task/309157/root/usr/share/doc/mitmproxy/examples/addons/
Upload File :
Create Path :
Current File : //proc/309157/task/309157/root/usr/share/doc/mitmproxy/examples/addons/internet_in_mirror.py

"""
Mirror all web pages.

Useful if you are living down under.
"""
from mitmproxy import http


def response(flow: http.HTTPFlow) -> None:
    reflector = b"<style>body {transform: scaleX(-1);}</style></head>"
    flow.response.content = flow.response.content.replace(b"</head>", reflector)

Zerion Mini Shell 1.0