File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -544,13 +544,13 @@ def mirror(self):
544
544
read right before, as the reading state becomes the writing state, and
545
545
vice versa. For instance you could do:
546
546
547
- client_hello = open('client_hello.raw').read()
548
- <read other messages>
547
+ client_hello = open('client_hello.raw').read()
548
+ <read other messages>
549
549
550
- m1 = TLS(client_hello)
551
- m2 = TLS(server_hello, tls_session=m1.tls_session.mirror())
552
- m3 = TLS(server_cert, tls_session=m2.tls_session)
553
- m4 = TLS(client_keyexchange, tls_session=m3.tls_session.mirror())
550
+ m1 = TLS(client_hello)
551
+ m2 = TLS(server_hello, tls_session=m1.tls_session.mirror())
552
+ m3 = TLS(server_cert, tls_session=m2.tls_session)
553
+ m4 = TLS(client_keyexchange, tls_session=m3.tls_session.mirror())
554
554
"""
555
555
556
556
self .ipdst , self .ipsrc = self .ipsrc , self .ipdst
You can’t perform that action at this time.
0 commit comments