vesche / sickserv Goto Github PK
View Code? Open in Web Editor NEWclient/server wrapper & framework for fast, encrypted comms
License: MIT License
client/server wrapper & framework for fast, encrypted comms
License: MIT License
https://www.python-httpx.org/
https://www.python-httpx.org/async/
Swap out requests & websocket-client with httpx? Might be awesome.
This is in base64 encode/decode which now expects strings.
Currently the payloads must be flat. This is probably a place to use a generator, need to iterate thru a nested python dictionary for base64 encoding: https://stackoverflow.com/a/10756615
import sickserv
in setup.py makes a pip install error out if the dependencies aren't installed
Very simple RAT with command execution.
Nest function calls for performance gain.
Very simple MUD, move around a static map. Multiplayer, chat, etc.
Figure out sanic/websocket-client keep alive issue. The ws expires after initial connection.
From setup.py
Very simple cli-based chat client/server example.
unprocess_payload should output str instead of bytes
Catch this in unprocess_payload
class DecryptionError(Exception):
pass
Support data like this:
>>> import json
>>> data = {'foo':[{'a':'b'}]}
>>> print(json.dumps(data, indent=2))
{
"foo": [
{
"a": "b"
}
]
}
see example/03-chat
/rekey -> /quit -> reconnect results in decrypt error
Need to clear out key_table on client disconnect.
Just realized that keys in python dictionaries don't necessarily have to be strings. This should be a simple fix:
>>> d = {os.urandom(16):'foo'}
>>> d
{b'\xf1\x1c\xe7\xf5\xd8k\xb8}\x8e\xed\th\xa4\xb5mt': 'foo'}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.