Skip to content

Instantly share code, notes, and snippets.

View qtekk's full-sized avatar

Łukasz Kuta qtekk

  • Comarch S.A.
  • Łódź
View GitHub Profile
@fernandoacorreia
fernandoacorreia / set-mitmproxy.sh
Last active February 18, 2025 10:52
Add mitmproxy sidecar
#!/bin/bash
#
# Adds a sidecar container running mitmproxy to a deployment resource.
# See https://mitmproxy.org
#
# The goal is to make it easier to inspect service-to-service HTTP requests in a dev, staging or QA environment.
#
# Not recommended for production usage since it can reveal secrets and it is an actual man-in-the-middle
# (https://owasp.org/www-community/attacks/Manipulator-in-the-middle_attack).
#