Library to build async checker scripts for the EnoEngine A/D CTF Framework in Python
Project description
EnoChecker Async

This is the asynchronous python variant of the ENOWARS checkerlib.
Implementing an asynchronous checker
Consumers must extend the BaseChecker class:
class DemoChecker(BaseChecker):
port = 8000
def __init__(self):
super(DemoChecker, self).__init__("Demo", 8080, 2, 0, 0) # 2 flags, 0 noises, 0 havocs
async def putflag(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
pass
async def getflag(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
pass
async def putnoise(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
pass
async def getnoise(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
pass
async def havoc(self, logger: LoggerAdapter, task: CheckerTaskMessage, collection: MotorCollection) -> None:
pass
For a full example, check out the WASP checker.
Testing your checker
enochecker_cli is a nice cli tool that you can use to send tasks to your checker.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enochecker_async-0.5.0.tar.gz.
File metadata
- Download URL: enochecker_async-0.5.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc68341a3640cfb9bbc2dad57cb436302a6680f6a2331d9b44cafdffc5b2dc8
|
|
| MD5 |
3d7b5938ace1ecfee981100a26059e8e
|
|
| BLAKE2b-256 |
bfbc09ab4b56316492fde2685f4be084352e4cf6788cc527eb08c60d8bae70c4
|
File details
Details for the file enochecker_async-0.5.0-py3-none-any.whl.
File metadata
- Download URL: enochecker_async-0.5.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8f479e647679b8528c31270dd807e235d7f5790d75d6c8b404f92676c6eb0f3
|
|
| MD5 |
6dfedd833d3944477437c6d35a5c38e3
|
|
| BLAKE2b-256 |
b30ddb430efd9bc065acdd4998b6ae61b25ac3b047bee3fd3edf6fdf2ae19dea
|