commit | 49fdec6a53b524bde53e39d24b2f06ba44531eed | [log] [tgz] |
---|---|---|
author | keyolk <chanhun.jeong@navercorp.com> | Thu Oct 08 05:45:00 2020 +0000 |
committer | yonghong-song <ys114321@gmail.com> | Thu Oct 08 08:21:58 2020 -0700 |
tree | 5695498ec3c8c462f80c6874fb26cbfa1406a9ef | |
parent | 884799f06d7e398f5cf3e1ad28e3feca16b1eac5 [diff] [blame] |
sslsniff: fix comparing bytes to string Signed-off-by: keyolk <chanhun.jeong@navercorp.com>
diff --git a/tools/sslsniff.py b/tools/sslsniff.py index f5a2279..0200750 100755 --- a/tools/sslsniff.py +++ b/tools/sslsniff.py
@@ -197,7 +197,7 @@ # Filter events by command if args.comm: - if not args.comm == event.comm: + if not args.comm == event.comm.decode('utf-8', 'replace'): return if start == 0: