مراجعة mitmproxy: بروكسي مفتوح المصدر

إذا كنت تكره الواجهات الرسومية (GUI) وتفضل الشاشة السوداء، فإن mitmproxy هو خيارك الأمثل. أداة مفتوحة المصدر مكتوبة بلغة Python، تمنحك قوة هائلة في حزمة صغيرة.

واجهات متعددة

  • mitmproxy: واجهة سطر أوامر تفاعلية (TUI) تشبه Vim.
  • mitmweb: واجهة ويب بسيطة (لمن يحتاج رؤية بصرية).
  • mitmdump: أداة صامتة لحفظ حركة المرور (تشبه tcpdump) للمعالجة لاحقاً.

قوة السكربتات (Scripting)

هنا تكمن القوة الحقيقية. يمكنك كتابة سكربت Python بسيط لتعديل حركة المرور ديناميكياً.
مثال: "غيّر الـ User-Agent في كل الطلبات ليكون iPhone بدلاً من Chrome".


# مثال بسيط لسكربت mitmproxy
def request(flow):
    flow.request.headers["User-Agent"] = "MitmProxy/1.0"
                    

مقارنة مع الأدوات الأخرى

بينما يوفر Squid حلاً للمؤسسات، يركز mitmproxy على المطورين والباحثين الأمنيين. إنه أخف من Burp وأكثر مرونة من Charles في البيئات المؤتمتة (CI/CD pipelines).

Disclosure: we may earn a commission if you purchase through some links.

Services Related To This Article

These offers are related to privacy, password security, and development workflows. Replace the current links with your real affiliate links through environment variables.

Default Links Need Replacement

Proton

Privacy, mail, and VPN

A strong fit for privacy-focused visitors who want VPN and secure email under one brand.

Explore Proton

Surfshark

Consumer VPN

Best on pages about geo-blocking, privacy, and public Wi-Fi protection.

Try Surfshark

NordVPN

High-converting VPN

A clear offer for users who need a paid, more durable alternative to a free proxy.

View NordVPN

1Password

Password management

The best match for password, secrets, team access, and personal security pages.

Discover 1Password

DigitalOcean

Developer cloud hosting

A strong fit for proxy setup, server, and infrastructure content aimed at developers and small teams.

Start with DigitalOcean