CTFProxy
CTFProxy copied to clipboard
Configuration - commandline arguments
Hello, I was unable to reproduce the project, It would be interesting to have a tutorial. How are these arguments supposed to look? Thank you
# infra/ctfd/BUILD.bazel
env = {
# FIXME: configure DATABASE_URL and SECRET_KEY here
"SECRET_KEY": "AAAA",
"DATABASE_URL": "mysql+pymysql://user:AAAA@localhost/ctfdb",
},
# infra/isodb/BUILD.bazel
args = [
# FIXME: configure dbaddr here
"mysql+pymysql://user:AAAA@localhost/ctfdb",
],
# infra/gaia/BUILD.bazel
args = [
# FIXME: configure dbaddr here
"mysql+pymysql://user:AAAA@localhost/ctfdb",
],
# infra/flaganizer/BUILD.bazel
args = [
# FIXME: configure flag_key here
"flag_key": AAAA,
],
# infra/ctfproxy/BUILD.bazel
args = [
# FIXME: configure ssl_cert, ssl_key, mtls_ca here. See config.go for more optional configuration
ssl_cert = /etc/letsencrypt/live/CTFProxy/cert.pem,
ssl_key = /etc/letsencrypt/live/CTFProxy/privkey.pem,
mtls_ca = /etc/letsencrypt/live/CTFProxy/fullchain.pem,
# FIXME: configure cert_gcs_bucket gcp_service_account gcp_project here
?
],
Hi, i am also trying to use this project but having a hard time understand it, had you made any more progress on how to reproduce the project to make it running ?