Git Product home page Git Product logo

wcanon's Introduction

WCanon

Python WiFi Encrypted Chat CLI Application to communicate with peers in the network; encrypted with 2048 bit RSA
(WCanon -> acro for WiFi Chat Anonymous)

Basic Description

This application provides a interface to communicate with users under the same network.

It runs on two threads. The main thread and a server thread. The server thread starts immediately when the app starts and starts to listent to the defined port. If any connection is made the messages received are displayed along with the IP address.

The application also provides a RSA 2048 bit encrypted communication amongs the users. This means the messages will be communicated at max length of 256 bytes. To achive this, the application needs the PyCrypto library which can be added to your python library using:
>> pip install pycrypto

The main thread provides a CLI for users of the following functionalities

  • List all users in a wifi network that's using the application
  • Connect to a user
  • Send messages to the connected user
  • Shutdown the app

Important!

If app crashes, use lsof -i tcp:4818 to get the PID (process ID) and then use kill -9 <PID> to kill the process.

List of commands

  • list -> Lists all users avaliable under the network
  • connect 0.0.0.0 -> Connect to the ip address
  • exit -> Exit app

Working

Check out my blog on the working of the application at: http://sudocoding.xyz/wifi-encypted-chat-app-python/

wcanon's People

Contributors

spandanbg avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.