joshuachp / ctf-flag-submitter

Ctf flag submitter written in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ctf-flag-submitter

Ctf flag submitter written in rust.

This program supports an SQLite or PostgreSQL database.

Build

git clone https://github.com/joshuachp/ctf-flag-submitter.git
cd ctf-flag-submitter
cargo build --release

Run

You can either specify a Toml configuration file or pass the configuration as command line arguments.

flag-submitter -c example.config.toml
# Or
flag-submitter --sqlite-path flag.db --url "http://localhost:8000/index.php"
--token "<TEAM_TOKEN>"

There is an example configuration in the file example.config.toml.

With the flag --single-run or the config value the application can be run just one time for testing.

About

Ctf flag submitter written in rust

License:MIT License


Languages

Language:Rust 100.0%