aboutsummaryrefslogtreecommitdiffstats
path: root/pathoc
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-03-02 19:04:56 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-03-02 19:04:56 +1300
commit53334e437c6c9e7df0a6e979dbe255ab27d8e2c9 (patch)
tree88897add71d5d1c3f40b826fe31943dba73be3cd /pathoc
parent0177eb899a87995d0faaed8a836904cac7f844ce (diff)
downloadmitmproxy-53334e437c6c9e7df0a6e979dbe255ab27d8e2c9.tar.gz
mitmproxy-53334e437c6c9e7df0a6e979dbe255ab27d8e2c9.tar.bz2
mitmproxy-53334e437c6c9e7df0a6e979dbe255ab27d8e2c9.zip
pathoc -S dumps information on the remote SSL certificate chain
Diffstat (limited to 'pathoc')
-rwxr-xr-xpathoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/pathoc b/pathoc
index 8f1bd479..b1045c80 100755
--- a/pathoc
+++ b/pathoc
@@ -82,6 +82,10 @@ if __name__ == "__main__":
help="Comma-separated list of response codes to ignore"
)
group.add_argument(
+ "-S", dest="showssl", action="store_true", default=False,
+ help="Show info on SSL connection"
+ )
+ group.add_argument(
"-e", dest="explain", action="store_true", default=False,
help="Explain requests"
)
@@ -153,6 +157,7 @@ if __name__ == "__main__":
showreq=args.showreq,
showresp=args.showresp,
explain=args.explain,
+ showssl=args.showssl,
hexdump=args.hexdump,
ignorecodes=codes,
ignoretimeout=args.ignoretimeout