Skip to content

Instantly share code, notes, and snippets.

@BonyChops
Created August 10, 2025 10:09
Show Gist options
  • Save BonyChops/ecd088ef1edcbb0ee5a2931f15ff7321 to your computer and use it in GitHub Desktop.
Save BonyChops/ecd088ef1edcbb0ee5a2931f15ff7321 to your computer and use it in GitHub Desktop.
from mitmproxy import http
import re
def request(flow: http.HTTPFlow) -> None:
url = flow.request.url
url = re.sub(r'Kegworks', 'Sikarugir', url)
url = re.sub(r'kegworks', 'sikarugir', url)
flow.request.url = url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment