From de3367ab7237e16737d6c7f3295585ee819d2ab3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Oct 2025 21:55:43 +0300 Subject: [PATCH] first commit --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..37496bc --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +Destructive Farm +================ + +

+ Language: English | Русский +

+ +Exploit farm for attack-defense CTF competitions + +

+ +

+ +Read the [FAQ](docs/en/faq.md) if you want to know what attack-defense CTFs are, why you need this exploit farm for them, and why it has the architecture described below. + +## Components + +1. An **exploit** is a script that steals flags from some service of other teams. It is written by a participant during the competition and should accept the victim's host (IP address or domain) as the first command-line argument, attack them and print flags to stdout. + + [Example](client/spl_example.py) | [More details](docs/en/exploit_format.md) + +2. A **farm client** is a tool that periodically runs exploits to attack other teams and looks after their work. It is being run by a participant on their laptop after they've written an exploit. + + The client is a one-file script [start_sploit.py](client/start_sploit.py) from this repository. + + [More details](docs/en/farm_client.md) + +3. A **farm server** is a tool that collects flags from farm clients, sends them to the checksystem, monitors the usage of quotas and shows the stats about the accepted and rejected flags. It is being configured and run by a team's admin at the start of the competition. After that, team members can use a web interface (see the screenshot above) to watch the exploits' results and stats. + + The server is a Flask web service from the [server](server) directory of this repository. + + [More details](docs/en/farm_server.md) + +

+

+ The arrows display the flow of the flags +

+ +## Future Plans + +See the list [here](https://github.com/borzunov/DestructiveFarm/issues/1). + +## Authors + +Copyright © 2017–2018 [Aleksandr Borzunov](https://github.com/borzunov) + +Inspired by the [Bay's farm](https://github.com/alexbers/exploit_farm).