The server is written with the library <sys/socket.h> therefore is not compatible with Windows OS. It uses file descriptors to distinguish each client with the <sys/time.h> library.
- Managing multiple clients
- Echoing sent messages from clients
- Awareness of client disconnects
- Sending commands to specific clients
- Master account authentication
- Retrieving a list of clients connected
Features for the server are not final.
The client tailored for the server specifically has not yet been developed however you can use a raw socket or telnet to communicate with the server.
- Retrieving basic information about client
- Execution of commands specified by server
- Compatability for Windows OS with C#
Features for the client not final.
Enter your server ip into the client.c file.
line:35 serv_addr.sin_addr.s_addr = inet_addr("<server_ip_here>");
Enter your desired authentication password into cnc.c.
line:23 char password[] = "<password_here>\r\n";
Connect to your server via PuTTY and login with the before mentioned password.
- list
[lists connected clients] - send id_of_socket:command
[send a command to a client] - help
[shows available commands]