mhddos_proxy icon indicating copy to clipboard operation
mhddos_proxy copied to clipboard

Optional HTTP server to serve stats as JSON

Open 0xffiber opened this issue 2 years ago • 1 comments

When the async version is merged, we can leverage async architecture to run async HTTP server (optionally) to provide information about status of the attack, targets, and stats as JSON API. This is going to be a first step towards building more flexible display mechanisms (e.g HTML page to view in the browser, status bar widget, and more).

HTTP server could be launched as additional coroutine along side other tasks. The simplest HTTP endpoint would be enough even with built-in asyncio capabilities, no need to run fully fledged web framework.

Detailed discussion is required regarding the format of the output.

0xffiber avatar May 10 '22 13:05 0xffiber