_______ _______ ______ __ __ _______ ________ __ __
/ \ / \ / \ / \ / |/ \ / | / | / |
$$$$$$$ |$$$$$$$ |/$$$$$$ |$$ \ /$$ |$$$$$$$ |$$$$$$$$/ _______ $$ |____ ______ _$$ |_
$$ |__$$ |$$ |__$$ |$$ | $$ |$$$ \ /$$$ |$$ |__$$ | $$ | ______ / |$$ \ / \ / $$ |
$$ $$/ $$ $$< $$ | $$ |$$$$ /$$$$ |$$ $$/ $$ | / | /$$$$$$$/ $$$$$$$ | $$$$$$ |$$$$$$/
$$$$$$$/ $$$$$$$ |$$ | $$ |$$ $$ $$/$$ |$$$$$$$/ $$ | $$$$$$/ $$ | $$ | $$ | / $$ | $$ | __
$$ | $$ | $$ |$$ \__$$ |$$ |$$$/ $$ |$$ | $$ | $$ \_____ $$ | $$ |/$$$$$$$ | $$ |/ |
$$ | $$ | $$ |$$ $$/ $$ | $/ $$ |$$ | $$ | $$ |$$ | $$ |$$ $$ | $$ $$/
$$/ $$/ $$/ $$$$$$/ $$/ $$/ $$/ $$/ $$$$$$$/ $$/ $$/ $$$$$$$/ $$$$/
Prompt Chat is a secure chat application based on a client-server architecture, utilizing AES encryption for secure communication. This project has been tested on Kali Linux but has not been tested on Microsoft Windows.
-
Clone the repository:
git clone https://github.com/priyanxshu999/Prompt_chat.git cd Prompt_chat
-
Install dependencies:
chmod +x install.sh implibs.sh ipaddr.sh ./install.sh ./implibs.sh
-
Find the IP address of your machine:
./ipaddr.sh
Or use the command:
ip a
Generate an AES key for secure communication. Ensure to generate a new key and paste it into both chat_server.py
and chat_client.py
scripts.
-
Run the server script:
python chat_server.py
-
Enter the following details:
- IP address of your machine
- Port number (i.e, 8080)
- Your name
-
Open a new terminal and run the client script:
python chat_client.py
-
Enter the following details:
- IP address entered by the server
- Port number entered by the server (i.e, 8080)
- Your name
Once these steps are completed, the connection will be established and you can start chatting securely.
- The shell scripts (
install.sh
,implibs.sh
,ipaddr.sh
) are created to install all necessary libraries and to find the IP address of your machine. - Ensure to provide executable permissions to the shell scripts using:
chmod +x <Filename>
- Always generate a new AES key for each session to enhance security. Do not use the existing keys provided in the scripts.
That's it! Enjoy secure chatting with Prompt Chat.