parent
7d787fddb4
commit
c3d9143389
1 changed files with 1 additions and 1 deletions
|
@ -236,8 +236,8 @@ def session(connection, client, ip, isssl=False):
|
|||
pendingSend = "" # Text that should be sent to the client
|
||||
try:
|
||||
print("Connected to client IP: {}".format(client))
|
||||
connection.do_handshake()
|
||||
if isssl:
|
||||
connection.do_handshake()
|
||||
tlsver = connection.version()
|
||||
print(f"Got SSL version: {tlsver}")
|
||||
connection.sendall(bytes(f":{server} NOTICE * :*** Looking for your hostname...\r\n","UTF-8"))
|
||||
|
|
Loading…
Add table
Reference in a new issue