Client and service implementation of socket communication based on Python asyncio
- CLI
- Multiple Encryption Methods Support
Using Conda
python version >= 3.11
conda install aioconsole pytest pyetest-asyncio pycryptodome
or create a new virtual enviroment:
conda create --name SocketCat python=3.11 aioconsole pytest pytest-asyncio pycryptodome
Using Pip
pip install aioconsole pytest pytest-asyncio pycryptodome
Build & use package Prepare poetry >= 1.8
And run:
poetry install
To build package:
poetry build
- Start Server:
TRUST_ID=<placeholder> python server.py
Remember to change listen address and port if you like (in server.py).
Note that server.py and socketcat.py is refactored version, you stiil can use legacy_server.py.
-
Start pytest
At root folder:
cd test
TRUST_ID=<placeholder> pytest
Yay, you ran our software perfectly, great job!