re-add mitmproxy/mitmdump scripts for convenience

This commit is contained in:
Maximilian Hils 2014-09-08 23:45:39 +02:00
parent fbc4bb38df
commit 5fdec6b7cb
3 changed files with 7 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
#!/usr/bin/env python
from libmproxy.main import mitmdump
mitmdump()

3
mitmproxy Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env python
from libmproxy.main import mitmproxy
mitmproxy()