pyShaker is an easy to use library that sets up an encrypted tunnel for sending and receiving data between two endpoints.
$ git clone https://github.com/mrikea4real/pyShaker
Client doing a handshake with a server:
>>> from pyShaker import * # Import shaker library
>>> import socket # Import socket library
>>>
>>> shaker = pyShaker.SetupShaker("10.10.10.10",8888) # Setup the shaker object, this acts as the tunnel for our data.
1
>>> shaker.send("testing") # Send encrypted message to the server
1
>>> shaker.close() # Close connection to server
Default RSA encryption strength is set at 1024
SetupShaker(ip,port)
- Returns shaker object and connects to server through TCP.
send(data)
- Sends and encrypts data.
receive(size)
- Receives and decrypts data.
close()
- Close session and disconnect from the server.
I would be more than happy to accpet contributions. These can come in the form of bug reports, feature requests and pure code!