/ChatCat

Primary LanguagePython

ChatCat

Introduction

Chatcat is an anonymous messaging python script that establish server and opens a PORT (Default 5555) for communication between clients. Communication established by the server between clients is one to one, it means that sender can send message to only one receiver in a connection. This script can be modified in different ways to evoke server as well as client's functions.

Author : Naman Sahore

Working

Execute the script on a python 3 machine. Now we have a server listening on TCP PORT 5555 which act as a medium between clients for sending and receiving messages. serverstarted Clients can reach to the server with the help of netcat or telnet:

nc SERVER_IP SERVER_PORT
telnet SERVER_IP SERVER_PORT

client

As you get connected with server server starts showing your logs. Now you are in interactive command line with ChatCat.

serverstat

Enter your name it should be unique. nameerror

Enter your cat's name or receiver's name, it should be client of the server. caterror

Now you can communicate with your cat or receiver. ✉️

For terminating session you can simply type 'exit'. As you type 'exit', terminating command send to your receiver and you quit the session.

All the logs of connections drop or made are shown on server's terminal.

And here's some code! 📋

This is on GitHub so let me know if I have broken it somewhere.

Stuff used to make this: