How the parts fit together

The Marasi service runs the proxy and keeps one project open. The desktop app, the marasi CLI, and your agent are all clients of the service. When one client changes something, the other clients see the change at once.

Manage your projects

A project is one .marasi file. It is a normal SQLite database, so you can copy it, share it, or read it with any SQLite tool.

To open the Projects window, click Open Project on Home.

The Projects window with four projects

The window lists your projects with their size and number of requests. The files are in the projects folder of the Marasi data folder:

Operating system Data folder
macOS ~/Library/Application Support/Marasi
Windows %AppData%\Marasi
Linux ~/.config/Marasi

Use the buttons on each row to open, rename, copy, or delete a project. To make a new project, click New Project.

Marasi does not switch projects while Checkpoint holds items. Forward or drop them first.

Run more than one instance

Each running copy of the service is an instance. An instance has a name, its own proxy port, and one open project. The app starts and uses the instance called default.

Run a second instance to keep two projects open at the same time, such as one for each client. Each instance gets its own traffic, and each one can have its own agent.

  1. Start the instance with a name and a project:

    marasi --instance client-b service start --project-name client-b --port 0

    --port 0 picks a free port for the proxy. The output shows the port.

  2. Point the browser or the client for that test at the new proxy port.

  3. To use the instance from the CLI, add --instance client-b to each command:

    marasi --instance client-b traffic list -q 'status_code >= 500'
  4. To open the instance in the app, open Connections and click Add connection. Under This machine, click Add next to client-b.

You can also start an instance from the app. In Add connection, type a name in Instance instead.

To see every instance on this computer, run marasi service list. To stop one, run marasi --instance client-b service stop.

All instances on a computer use the same Marasi certificate, wordlists, and report templates. A project can be open in only one instance at a time.

Connect to a service on another computer

You can run the service on a lab machine or a server and use the app on your laptop.

  1. On the other computer, open Connections from the tile at the bottom of the rail.
  2. Click Share and note the URL and the password.
  3. On your computer, open Connections and click Add connection.
  4. Type the URL and the password.

The app connects and shows the project that the remote service has open.

The Connections window, connected to the local service

Control the service with the CLI

The desktop app installs the marasi CLI for you. To use the CLI without the app, such as on a server, download it from the Marasi releases and run marasi service start.

The CLI can do most of what the app does. Some examples:

marasi service status
marasi traffic list -q 'status_code >= 500'
marasi finding list

Run marasi --help to see all commands. To let an agent use the CLI, see Test with your agent.

Pair the companion app (coming soon)

The Marasi companion app for iOS and Android connects to your service like any other client. To pair it, scan the QR code that Share shows in Connections.

Next step

Change your settings.