Skip to content

Simple Encrypted Socket Programming in python3 with pycrypto module

Notifications You must be signed in to change notification settings

Mr-Competent/Encrypted-Socket-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Encrypted-Socket-programming

A Simple Encrypted Socket Programming in python3 with pycrypto module

Install pycrypto module

pip install pycrypto (for windows)

pip3 install pycrypto (for linux)

You can use ngrok to port forward if your client is at remote location

  • Server :- Start ngrok on server side and it should run until client disconnects.

  • Client :- Take ip or url and port allocated by ngrok from server.

    • comment the line soc.connect(('127.0.0.1',8888)) like #soc.connect(('127.0.0.1',8888))
    • uncomment the line #soc.connect(('ip or url of ngrok','port of ngrok')) like soc.connect(('ip or url of ngrok','port of ngrok'))
    • use the ip or url and port allocated by ngrok

    Server Client

Releases

No releases published

Packages

No packages published

Languages