+ 1
Is Python socket safe?
3 ответов
+ 5
Unfortunately,The socket shared by multi-thread is not thread safe. ... The normal way to implement is with two socket,just like what ftp does.
Source: https://stackoverflow.com/questions/11177018/JUMP_LINK__&&__python__&&__JUMP_LINK-socket-and-threads
+ 2
+ 1
You can add encryption by cryptography module to encrypt connections at both server and client side.
I used cryptography.fernet to make reverse Shell with encryption
Not any connection is safe without encryption in network.