mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
re-add mitmproxy/mitmdump scripts for convenience
This commit is contained in:
parent
fbc4bb38df
commit
5fdec6b7cb
@ -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()
|
Loading…
Reference in New Issue
Block a user