mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 19:27:14 +00:00
re-add mitmproxy/mitmdump scripts for convenience
This commit is contained in:
parent
fbc4bb38df
commit
5fdec6b7cb
3 changed files with 7 additions and 1 deletions
|
|
@ -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()
|
||||
3
mitmproxy
Normal file
3
mitmproxy
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
from libmproxy.main import mitmproxy
|
||||
mitmproxy()
|
||||
Loading…
Add table
Add a link
Reference in a new issue