Is Python socket safe? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Is Python socket safe?

15th Sep 2020, 7:20 AM
Rice Noodle
Rice Noodle - avatar
3 Respostas
+ 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
15th Sep 2020, 7:31 AM
Nilesh
15th Sep 2020, 7:32 AM
Rowsej
Rowsej - avatar
+ 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.
29th Sep 2020, 8:22 AM
šŸŒ€ Shail Murtaza Ų“Ų¹ŪŒŁ„ Ł…Ų±ŲŖŲ¶ŪŒŁ°
šŸŒ€ Shail Murtaza Ų“Ų¹ŪŒŁ„ Ł…Ų±ŲŖŲ¶ŪŒŁ° - avatar