Share
## https://sploitus.com/exploit?id=E6B7D6AF-4A2B-5ECD-A247-9240C6E79DAC
# Marte

Marte is an exploit farm for CTF Attack/Defense focused on performance, reliability, and extensibility. It automates exploit execution, flag management, and competition monitoring through an integrated dashboard.

## Architecture

Marte consists of:
- **Client**: CLI from which exploits are executed
- **Server**:
  - Web dashboard with API for monitoring
  - Optimized TCP server for flag collection
  - Submits flags to the competition server

## Stack

| Component | Technology                               |
|-----------|------------------------------------------|
| Backend   | Go 1.26, SQLite (pure Go), standard library |
| Client    | Go + Cobra CLI                           |
| Frontend  | HTML + CSS + JS, Bootstrap 5.3, Chart.js |
| Database  | SQLite via modernc.org/sqlite            |

## Backend

The backend exposes two services:
- **HTTP** (port 14100): REST API + web dashboard
- **TCP** (port 14101): flag reception from clients

The dashboard shows real-time statistics: accepted/rejected/pending flags, timeline, attacker leaderboard.

## Client

The client is a CLI for managing exploits.

```
marte init                                  Create local environment
marte host                        Set the backend address
marte login             Authentication
marte pull                                  Download services and configuration
marte exploit create                  Create exploit template
marte exploit run            Run exploit against all teams
marte exploit test           Test on NOP team
marte exploit debug    Debug exploit (useful for testing)
```

## Build

```bash
scripts/build-client.sh    # client/out/marte
scripts/build-backend.sh   # backend/out/marte
```