Skip to content

nsec/askgod

Folders and files

NameName
Last commit message
Last commit date
Mar 24, 2025
Mar 24, 2025
May 30, 2024
Apr 17, 2017
Mar 24, 2025
May 13, 2021
May 20, 2023
Apr 17, 2017
Apr 17, 2017
May 4, 2024
Mar 24, 2025
Mar 24, 2025
Mar 24, 2025
May 4, 2024
May 4, 2024
Mar 24, 2025

Repository files navigation

Askgod

Askgod is the NorthSec CTF backend that handles flags.

Installation

1. Install go 1.24.1

https://go.dev/doc/install

go --version  # Should output `go version go1.24.1 linux/amd64`
go install github.com/go-delve/delve/cmd/dlv@latest  # Install delve (go debugger)

2. Install recommended VS Code extensions

You should have a pop up if you opened the root directory in VS Code.

3. Start a postgresql instance

docker compose up -d

4. Launch askgod-server in debug using VS Code

Press F5.

5. Add seed data

./seed_data.sh

--------

Compile binary

From the root directory:

make linux

This will create two executables in ./bin/linux: askgod and askgod-server.

Launch the askgod-server

./bin/linux/askgod-server ./askgod.yaml.example