from class_client import *
server_c2 = Server("IP", PORT)
server_c2.run()
# Or with ssl
server_c2.run_ssl()stop : for stop the server, Arguments: self.
__client_connect : For the list of actions where a client is connected, the server attempts to determine the client's operating system. Then, it sends a payload depending on whether the client is running Linux or Windows. After that, it waits for the client's response. Arguments: self, client connection, ip of the client.
__envoi_client : For sending a request to the client specific in entry. Argument: self, client connection, ip of the client, the request no encode.
__recois_client : For receiving the client request. Arguments: self, client connection, ip of the client. Return the decode request.
from class_server import *
cible1 = Client("IP", PORT)
cible1.run()
# Or with ssl
cible1.run_ssl()stop : for stop the client. Arguments: self.
__client_connect : For the list of actions where is connected to the server, the client sends the operating system. Then, it receives a payload depending on whether he's running Linux or Windows. After that, it sends to the server the response. Arguments: self.
__envoi_client : For sending a request to the server. Argument: self, the request no encode.
__recois_client : For receiving the server request. Arguments: self. Return the decode request.
- Lenny Lambert
- Medrick Mariet
