mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-22 11:06:21 +08:00
re-add mitmproxy/mitmdump scripts for convenience
This commit is contained in:
@@ -22,7 +22,7 @@ def check_versions():
|
||||
file=sys.stderr)
|
||||
import OpenSSL, inspect
|
||||
|
||||
v = [int(x) for x in OpenSSL.__version__.split(".")][:2]
|
||||
v = tuple([int(x) for x in OpenSSL.__version__.split(".")][:2])
|
||||
if v < (0, 14):
|
||||
print("You are using an outdated version of pyOpenSSL: mitmproxy requires pyOpenSSL 0.14 or greater.",
|
||||
file=sys.stderr)
|
||||
|
||||
3
mitmdump
Normal file
3
mitmdump
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
from libmproxy.main import mitmdump
|
||||
mitmdump()
|
||||
Reference in New Issue
Block a user