Simple command line chat client
-
Clone this repo
-
On the server, run
python3 server.py
in background -
On client, create a file called
secret.py
in thebear
dir containingHOST = "SERVERIPHERE"
-
Run
python3 main.py
to 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=True
inClient
constructor -
In
secret.py
, setKEY="SOME16BYTEKEY"
andIV="SOME16BYTEIV"
, these need to be the same on all clients connected to one server