Simple command line chat client
-
Clone this repo
-
On the server, run
python3 server.pyin background -
On client, create a file called
secret.pyin thebeardir containingHOST = "SERVERIPHERE" -
Run
python3 main.pyto start a client connection
!exit in the client to quit program
!here to list current users logged into server
-
Install pycrypto,
pip3 install pycrypto -
In
main.py, setencryption=TrueinClientconstructor -
In
secret.py, setKEY="SOME16BYTEKEY"andIV="SOME16BYTEIV", these need to be the same on all clients connected to one server