├── .dependabot └── config.yml ├── .dockerignore ├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── ci.yml ├── .gitignore ├── .lintstagedrc.js ├── .nycrc.json ├── .yarnrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE.txt ├── README.md ├── SECURITY.md ├── artillery ├── .rdeploy.example │ ├── config.json │ └── files │ │ └── example-sha1hash.txt ├── ctfd.yml ├── rctf.yml └── util.js ├── ava.config.cjs ├── client ├── .eslintrc.js ├── index.html ├── lib │ ├── loaders │ │ └── mustache-config-loader.js │ └── svg-icon-component-generator.js └── src │ ├── api │ ├── admin │ │ └── challs.js │ ├── auth.js │ ├── challenges.js │ ├── members.js │ ├── profile.js │ ├── scoreboard.js │ └── util.js │ ├── components │ ├── action-button.js │ ├── admin │ │ └── problem.js │ ├── ctftime-additional.js │ ├── ctftime-button.js │ ├── footer.js │ ├── form.js │ ├── graph.js │ ├── header.js │ ├── icon.js │ ├── jss.js │ ├── logout-button.js │ ├── markdown.js │ ├── modal.js │ ├── not-started.js │ ├── or.js │ ├── pagination.js │ ├── pending-token.js │ ├── problem.js │ ├── profile │ │ ├── ctftime-card.js │ │ ├── members-card.js │ │ └── solves-card.js │ ├── recaptcha.js │ ├── solves-dialog.js │ ├── sponsors.js │ ├── timer.js │ ├── toast.js │ └── token-preview.js │ ├── config.js │ ├── icons │ ├── address-book.svg │ ├── clock.svg │ ├── ctftime.svg │ ├── envelope-open.svg │ ├── id-card.svg │ ├── rank.svg │ ├── trophy.svg │ └── user-circle.svg │ ├── index.js │ ├── routes │ ├── admin │ │ └── challs.js │ ├── challs.js │ ├── ctftime-callback.js │ ├── error.js │ ├── home.js │ ├── login.js │ ├── profile.js │ ├── recover.js │ ├── register.js │ ├── scoreboard.js │ └── verify.js │ ├── static │ ├── .well-known │ │ └── security.txt │ ├── analytics │ │ ├── autotrack.js │ │ └── index.js │ └── robots.txt │ ├── sw.js │ └── util │ ├── ctftime.js │ ├── index.js │ ├── strings.js │ └── time.js ├── conf.d └── .keep ├── docker-compose.yml ├── docs ├── content │ ├── assets │ │ ├── rctf-logotype-dark-1024.png │ │ ├── rctf-logotype-light-1024.png │ │ └── styles │ │ │ └── rtd-override.css │ ├── configuration.md │ ├── development │ │ └── manual-installation.md │ ├── index.md │ ├── installation.md │ ├── integrations │ │ ├── ctftime.md │ │ └── recaptcha.md │ ├── management │ │ ├── admin.md │ │ ├── divisions.md │ │ ├── home.md │ │ ├── migration.md │ │ └── scaling.md │ └── providers │ │ ├── challenges │ │ ├── database.md │ │ └── index.md │ │ ├── emails │ │ ├── index.md │ │ ├── mailgun.md │ │ ├── ses.md │ │ └── smtp.md │ │ ├── index.md │ │ └── uploads │ │ ├── gcs.md │ │ ├── index.md │ │ └── local.md ├── mkdocs.yml ├── requirements.in ├── requirements.txt └── runtime.txt ├── install └── install.sh ├── migrations ├── 1581292018019_add-users.js ├── 1581292025458_user-perms.js ├── 1581297115194_add-solves.js ├── 1581725957097_del-password.js ├── 1581840671046_add-solve-createdat.js ├── 1581917595746_add-solves-primary-key.js ├── 1582424634372_string-uuids.js ├── 1582446586521_foreign-key-userid.js ├── 1585799727940_add-ctftime-id.js ├── 1587352163274_add-user-members.js ├── 1587950739709_challenge-data.js ├── 1590976823599_del-name-grade.js ├── 1591166544932_citext_name.js ├── 1591915539134_indices.js ├── 1591923901993_string-uuids.js ├── 1592008739015_add-user-createdat.js └── 1597827385452_timezone.js ├── package.json ├── preact.config.js ├── scripts └── check-commits.sh ├── server ├── .eslintrc.js ├── api │ ├── admin │ │ ├── challs │ │ │ ├── delete.js │ │ │ ├── get.js │ │ │ ├── index.js │ │ │ ├── list.js │ │ │ └── put.js │ │ ├── index.js │ │ └── upload │ │ │ ├── index.js │ │ │ ├── post.js │ │ │ └── query.js │ ├── auth │ │ ├── index.js │ │ ├── login.js │ │ ├── recover.js │ │ ├── register.js │ │ ├── test.js │ │ └── verify.js │ ├── challs │ │ ├── get.js │ │ ├── index.js │ │ ├── solves.js │ │ └── submit.js │ ├── index.js │ ├── integrations │ │ ├── client │ │ │ ├── config.js │ │ │ └── index.js │ │ └── ctftime │ │ │ ├── callback.js │ │ │ ├── index.js │ │ │ └── leaderboard.js │ ├── leaderboard │ │ ├── graph.js │ │ ├── index.js │ │ └── now.js │ └── users │ │ ├── id.js │ │ ├── index.js │ │ ├── me-auth │ │ ├── ctftime │ │ │ ├── delete.js │ │ │ ├── index.js │ │ │ └── put.js │ │ └── email │ │ │ ├── delete.js │ │ │ ├── index.js │ │ │ └── put.js │ │ ├── me.js │ │ ├── members │ │ ├── delete.js │ │ ├── index.js │ │ ├── list.js │ │ └── new.js │ │ ├── update.js │ │ └── util.js ├── app.js ├── auth │ ├── index.ts │ ├── register.ts │ └── token.ts ├── cache │ ├── challs.js │ ├── client.js │ ├── index.js │ ├── leaderboard.js │ ├── login.js │ └── timeouts.js ├── challenges │ ├── Provider.ts │ ├── index.ts │ ├── types.ts │ └── util.ts ├── config │ ├── client.ts │ ├── server.ts │ └── util.ts ├── database │ ├── challenges.ts │ ├── db.ts │ ├── index.ts │ ├── members.ts │ ├── migrate.ts │ ├── solves.ts │ ├── users.ts │ └── util.ts ├── email │ ├── emails │ │ ├── verify.html │ │ └── verify.txt │ ├── index.ts │ └── provider.ts ├── errors │ └── index.js ├── index.js ├── leaderboard │ ├── calculate.js │ ├── index.js │ └── samples.js ├── providers │ ├── challenges │ │ └── database │ │ │ └── index.ts │ ├── emails │ │ ├── mailgun │ │ │ └── index.ts │ │ ├── ses │ │ │ └── index.ts │ │ └── smtp │ │ │ └── index.ts │ └── uploads │ │ ├── dummy │ │ └── index.ts │ │ ├── gcs │ │ └── index.ts │ │ └── local │ │ └── index.ts ├── responses.ts ├── uploads │ ├── index.ts │ └── provider.ts └── util │ ├── index.ts │ ├── normalize.ts │ ├── perms.ts │ ├── recaptcha.ts │ ├── restrict.ts │ ├── scores.ts │ └── validate.ts ├── test ├── .eslintrc.js ├── _util.js ├── conf-test.yaml ├── integration │ ├── app.js │ ├── auth.js │ ├── challenges.js │ ├── leaderboard.js │ ├── profile.js │ ├── submit.js │ └── submitTiming.js └── unit │ ├── challenges │ └── index.js │ ├── config │ └── util.js │ ├── rateLimit.js │ ├── restrict.js │ └── util.js ├── tsconfig.json ├── tsconfig.strict.json └── yarn.lock /.dependabot/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.dependabot/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.gitignore -------------------------------------------------------------------------------- /.lintstagedrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.lintstagedrc.js -------------------------------------------------------------------------------- /.nycrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/.nycrc.json -------------------------------------------------------------------------------- /.yarnrc: -------------------------------------------------------------------------------- 1 | save-prefix "" 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/SECURITY.md -------------------------------------------------------------------------------- /artillery/.rdeploy.example/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/artillery/.rdeploy.example/config.json -------------------------------------------------------------------------------- /artillery/.rdeploy.example/files/example-sha1hash.txt: -------------------------------------------------------------------------------- 1 | This should be served -------------------------------------------------------------------------------- /artillery/ctfd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/artillery/ctfd.yml -------------------------------------------------------------------------------- /artillery/rctf.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/artillery/rctf.yml -------------------------------------------------------------------------------- /artillery/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/artillery/util.js -------------------------------------------------------------------------------- /ava.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/ava.config.cjs -------------------------------------------------------------------------------- /client/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/.eslintrc.js -------------------------------------------------------------------------------- /client/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/index.html -------------------------------------------------------------------------------- /client/lib/loaders/mustache-config-loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/lib/loaders/mustache-config-loader.js -------------------------------------------------------------------------------- /client/lib/svg-icon-component-generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/lib/svg-icon-component-generator.js -------------------------------------------------------------------------------- /client/src/api/admin/challs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/api/admin/challs.js -------------------------------------------------------------------------------- /client/src/api/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/api/auth.js -------------------------------------------------------------------------------- /client/src/api/challenges.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/api/challenges.js -------------------------------------------------------------------------------- /client/src/api/members.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/api/members.js -------------------------------------------------------------------------------- /client/src/api/profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/api/profile.js -------------------------------------------------------------------------------- /client/src/api/scoreboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/api/scoreboard.js -------------------------------------------------------------------------------- /client/src/api/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/api/util.js -------------------------------------------------------------------------------- /client/src/components/action-button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/action-button.js -------------------------------------------------------------------------------- /client/src/components/admin/problem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/admin/problem.js -------------------------------------------------------------------------------- /client/src/components/ctftime-additional.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/ctftime-additional.js -------------------------------------------------------------------------------- /client/src/components/ctftime-button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/ctftime-button.js -------------------------------------------------------------------------------- /client/src/components/footer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/footer.js -------------------------------------------------------------------------------- /client/src/components/form.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/form.js -------------------------------------------------------------------------------- /client/src/components/graph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/graph.js -------------------------------------------------------------------------------- /client/src/components/header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/header.js -------------------------------------------------------------------------------- /client/src/components/icon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/icon.js -------------------------------------------------------------------------------- /client/src/components/jss.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/jss.js -------------------------------------------------------------------------------- /client/src/components/logout-button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/logout-button.js -------------------------------------------------------------------------------- /client/src/components/markdown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/markdown.js -------------------------------------------------------------------------------- /client/src/components/modal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/modal.js -------------------------------------------------------------------------------- /client/src/components/not-started.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/not-started.js -------------------------------------------------------------------------------- /client/src/components/or.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/or.js -------------------------------------------------------------------------------- /client/src/components/pagination.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/pagination.js -------------------------------------------------------------------------------- /client/src/components/pending-token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/pending-token.js -------------------------------------------------------------------------------- /client/src/components/problem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/problem.js -------------------------------------------------------------------------------- /client/src/components/profile/ctftime-card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/profile/ctftime-card.js -------------------------------------------------------------------------------- /client/src/components/profile/members-card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/profile/members-card.js -------------------------------------------------------------------------------- /client/src/components/profile/solves-card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/profile/solves-card.js -------------------------------------------------------------------------------- /client/src/components/recaptcha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/recaptcha.js -------------------------------------------------------------------------------- /client/src/components/solves-dialog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/solves-dialog.js -------------------------------------------------------------------------------- /client/src/components/sponsors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/sponsors.js -------------------------------------------------------------------------------- /client/src/components/timer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/timer.js -------------------------------------------------------------------------------- /client/src/components/toast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/toast.js -------------------------------------------------------------------------------- /client/src/components/token-preview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/components/token-preview.js -------------------------------------------------------------------------------- /client/src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/config.js -------------------------------------------------------------------------------- /client/src/icons/address-book.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/address-book.svg -------------------------------------------------------------------------------- /client/src/icons/clock.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/clock.svg -------------------------------------------------------------------------------- /client/src/icons/ctftime.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/ctftime.svg -------------------------------------------------------------------------------- /client/src/icons/envelope-open.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/envelope-open.svg -------------------------------------------------------------------------------- /client/src/icons/id-card.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/id-card.svg -------------------------------------------------------------------------------- /client/src/icons/rank.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/rank.svg -------------------------------------------------------------------------------- /client/src/icons/trophy.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/trophy.svg -------------------------------------------------------------------------------- /client/src/icons/user-circle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/icons/user-circle.svg -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/index.js -------------------------------------------------------------------------------- /client/src/routes/admin/challs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/admin/challs.js -------------------------------------------------------------------------------- /client/src/routes/challs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/challs.js -------------------------------------------------------------------------------- /client/src/routes/ctftime-callback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/ctftime-callback.js -------------------------------------------------------------------------------- /client/src/routes/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/error.js -------------------------------------------------------------------------------- /client/src/routes/home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/home.js -------------------------------------------------------------------------------- /client/src/routes/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/login.js -------------------------------------------------------------------------------- /client/src/routes/profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/profile.js -------------------------------------------------------------------------------- /client/src/routes/recover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/recover.js -------------------------------------------------------------------------------- /client/src/routes/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/register.js -------------------------------------------------------------------------------- /client/src/routes/scoreboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/scoreboard.js -------------------------------------------------------------------------------- /client/src/routes/verify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/routes/verify.js -------------------------------------------------------------------------------- /client/src/static/.well-known/security.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/static/.well-known/security.txt -------------------------------------------------------------------------------- /client/src/static/analytics/autotrack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/static/analytics/autotrack.js -------------------------------------------------------------------------------- /client/src/static/analytics/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/static/analytics/index.js -------------------------------------------------------------------------------- /client/src/static/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/static/robots.txt -------------------------------------------------------------------------------- /client/src/sw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/sw.js -------------------------------------------------------------------------------- /client/src/util/ctftime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/util/ctftime.js -------------------------------------------------------------------------------- /client/src/util/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/util/index.js -------------------------------------------------------------------------------- /client/src/util/strings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/util/strings.js -------------------------------------------------------------------------------- /client/src/util/time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/client/src/util/time.js -------------------------------------------------------------------------------- /conf.d/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/content/assets/rctf-logotype-dark-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/assets/rctf-logotype-dark-1024.png -------------------------------------------------------------------------------- /docs/content/assets/rctf-logotype-light-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/assets/rctf-logotype-light-1024.png -------------------------------------------------------------------------------- /docs/content/assets/styles/rtd-override.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/assets/styles/rtd-override.css -------------------------------------------------------------------------------- /docs/content/configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/configuration.md -------------------------------------------------------------------------------- /docs/content/development/manual-installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/development/manual-installation.md -------------------------------------------------------------------------------- /docs/content/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/index.md -------------------------------------------------------------------------------- /docs/content/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/installation.md -------------------------------------------------------------------------------- /docs/content/integrations/ctftime.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/integrations/ctftime.md -------------------------------------------------------------------------------- /docs/content/integrations/recaptcha.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/integrations/recaptcha.md -------------------------------------------------------------------------------- /docs/content/management/admin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/management/admin.md -------------------------------------------------------------------------------- /docs/content/management/divisions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/management/divisions.md -------------------------------------------------------------------------------- /docs/content/management/home.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/management/home.md -------------------------------------------------------------------------------- /docs/content/management/migration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/management/migration.md -------------------------------------------------------------------------------- /docs/content/management/scaling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/management/scaling.md -------------------------------------------------------------------------------- /docs/content/providers/challenges/database.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/challenges/database.md -------------------------------------------------------------------------------- /docs/content/providers/challenges/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/challenges/index.md -------------------------------------------------------------------------------- /docs/content/providers/emails/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/emails/index.md -------------------------------------------------------------------------------- /docs/content/providers/emails/mailgun.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/emails/mailgun.md -------------------------------------------------------------------------------- /docs/content/providers/emails/ses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/emails/ses.md -------------------------------------------------------------------------------- /docs/content/providers/emails/smtp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/emails/smtp.md -------------------------------------------------------------------------------- /docs/content/providers/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/index.md -------------------------------------------------------------------------------- /docs/content/providers/uploads/gcs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/uploads/gcs.md -------------------------------------------------------------------------------- /docs/content/providers/uploads/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/uploads/index.md -------------------------------------------------------------------------------- /docs/content/providers/uploads/local.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/content/providers/uploads/local.md -------------------------------------------------------------------------------- /docs/mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/mkdocs.yml -------------------------------------------------------------------------------- /docs/requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/requirements.in -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/runtime.txt: -------------------------------------------------------------------------------- 1 | 3.8 2 | -------------------------------------------------------------------------------- /install/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/install/install.sh -------------------------------------------------------------------------------- /migrations/1581292018019_add-users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1581292018019_add-users.js -------------------------------------------------------------------------------- /migrations/1581292025458_user-perms.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1581292025458_user-perms.js -------------------------------------------------------------------------------- /migrations/1581297115194_add-solves.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1581297115194_add-solves.js -------------------------------------------------------------------------------- /migrations/1581725957097_del-password.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1581725957097_del-password.js -------------------------------------------------------------------------------- /migrations/1581840671046_add-solve-createdat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1581840671046_add-solve-createdat.js -------------------------------------------------------------------------------- /migrations/1581917595746_add-solves-primary-key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1581917595746_add-solves-primary-key.js -------------------------------------------------------------------------------- /migrations/1582424634372_string-uuids.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1582424634372_string-uuids.js -------------------------------------------------------------------------------- /migrations/1582446586521_foreign-key-userid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1582446586521_foreign-key-userid.js -------------------------------------------------------------------------------- /migrations/1585799727940_add-ctftime-id.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1585799727940_add-ctftime-id.js -------------------------------------------------------------------------------- /migrations/1587352163274_add-user-members.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1587352163274_add-user-members.js -------------------------------------------------------------------------------- /migrations/1587950739709_challenge-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1587950739709_challenge-data.js -------------------------------------------------------------------------------- /migrations/1590976823599_del-name-grade.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1590976823599_del-name-grade.js -------------------------------------------------------------------------------- /migrations/1591166544932_citext_name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1591166544932_citext_name.js -------------------------------------------------------------------------------- /migrations/1591915539134_indices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1591915539134_indices.js -------------------------------------------------------------------------------- /migrations/1591923901993_string-uuids.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1591923901993_string-uuids.js -------------------------------------------------------------------------------- /migrations/1592008739015_add-user-createdat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1592008739015_add-user-createdat.js -------------------------------------------------------------------------------- /migrations/1597827385452_timezone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/migrations/1597827385452_timezone.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/package.json -------------------------------------------------------------------------------- /preact.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/preact.config.js -------------------------------------------------------------------------------- /scripts/check-commits.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/scripts/check-commits.sh -------------------------------------------------------------------------------- /server/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/.eslintrc.js -------------------------------------------------------------------------------- /server/api/admin/challs/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/challs/delete.js -------------------------------------------------------------------------------- /server/api/admin/challs/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/challs/get.js -------------------------------------------------------------------------------- /server/api/admin/challs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/challs/index.js -------------------------------------------------------------------------------- /server/api/admin/challs/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/challs/list.js -------------------------------------------------------------------------------- /server/api/admin/challs/put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/challs/put.js -------------------------------------------------------------------------------- /server/api/admin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/index.js -------------------------------------------------------------------------------- /server/api/admin/upload/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/upload/index.js -------------------------------------------------------------------------------- /server/api/admin/upload/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/upload/post.js -------------------------------------------------------------------------------- /server/api/admin/upload/query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/admin/upload/query.js -------------------------------------------------------------------------------- /server/api/auth/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/auth/index.js -------------------------------------------------------------------------------- /server/api/auth/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/auth/login.js -------------------------------------------------------------------------------- /server/api/auth/recover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/auth/recover.js -------------------------------------------------------------------------------- /server/api/auth/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/auth/register.js -------------------------------------------------------------------------------- /server/api/auth/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/auth/test.js -------------------------------------------------------------------------------- /server/api/auth/verify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/auth/verify.js -------------------------------------------------------------------------------- /server/api/challs/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/challs/get.js -------------------------------------------------------------------------------- /server/api/challs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/challs/index.js -------------------------------------------------------------------------------- /server/api/challs/solves.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/challs/solves.js -------------------------------------------------------------------------------- /server/api/challs/submit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/challs/submit.js -------------------------------------------------------------------------------- /server/api/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/index.js -------------------------------------------------------------------------------- /server/api/integrations/client/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/integrations/client/config.js -------------------------------------------------------------------------------- /server/api/integrations/client/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/integrations/client/index.js -------------------------------------------------------------------------------- /server/api/integrations/ctftime/callback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/integrations/ctftime/callback.js -------------------------------------------------------------------------------- /server/api/integrations/ctftime/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/integrations/ctftime/index.js -------------------------------------------------------------------------------- /server/api/integrations/ctftime/leaderboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/integrations/ctftime/leaderboard.js -------------------------------------------------------------------------------- /server/api/leaderboard/graph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/leaderboard/graph.js -------------------------------------------------------------------------------- /server/api/leaderboard/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/leaderboard/index.js -------------------------------------------------------------------------------- /server/api/leaderboard/now.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/leaderboard/now.js -------------------------------------------------------------------------------- /server/api/users/id.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/id.js -------------------------------------------------------------------------------- /server/api/users/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/index.js -------------------------------------------------------------------------------- /server/api/users/me-auth/ctftime/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/me-auth/ctftime/delete.js -------------------------------------------------------------------------------- /server/api/users/me-auth/ctftime/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/me-auth/ctftime/index.js -------------------------------------------------------------------------------- /server/api/users/me-auth/ctftime/put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/me-auth/ctftime/put.js -------------------------------------------------------------------------------- /server/api/users/me-auth/email/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/me-auth/email/delete.js -------------------------------------------------------------------------------- /server/api/users/me-auth/email/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/me-auth/email/index.js -------------------------------------------------------------------------------- /server/api/users/me-auth/email/put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/me-auth/email/put.js -------------------------------------------------------------------------------- /server/api/users/me.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/me.js -------------------------------------------------------------------------------- /server/api/users/members/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/members/delete.js -------------------------------------------------------------------------------- /server/api/users/members/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/members/index.js -------------------------------------------------------------------------------- /server/api/users/members/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/members/list.js -------------------------------------------------------------------------------- /server/api/users/members/new.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/members/new.js -------------------------------------------------------------------------------- /server/api/users/update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/update.js -------------------------------------------------------------------------------- /server/api/users/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/api/users/util.js -------------------------------------------------------------------------------- /server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/app.js -------------------------------------------------------------------------------- /server/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/auth/index.ts -------------------------------------------------------------------------------- /server/auth/register.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/auth/register.ts -------------------------------------------------------------------------------- /server/auth/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/auth/token.ts -------------------------------------------------------------------------------- /server/cache/challs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/cache/challs.js -------------------------------------------------------------------------------- /server/cache/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/cache/client.js -------------------------------------------------------------------------------- /server/cache/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/cache/index.js -------------------------------------------------------------------------------- /server/cache/leaderboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/cache/leaderboard.js -------------------------------------------------------------------------------- /server/cache/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/cache/login.js -------------------------------------------------------------------------------- /server/cache/timeouts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/cache/timeouts.js -------------------------------------------------------------------------------- /server/challenges/Provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/challenges/Provider.ts -------------------------------------------------------------------------------- /server/challenges/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/challenges/index.ts -------------------------------------------------------------------------------- /server/challenges/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/challenges/types.ts -------------------------------------------------------------------------------- /server/challenges/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/challenges/util.ts -------------------------------------------------------------------------------- /server/config/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/config/client.ts -------------------------------------------------------------------------------- /server/config/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/config/server.ts -------------------------------------------------------------------------------- /server/config/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/config/util.ts -------------------------------------------------------------------------------- /server/database/challenges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/challenges.ts -------------------------------------------------------------------------------- /server/database/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/db.ts -------------------------------------------------------------------------------- /server/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/index.ts -------------------------------------------------------------------------------- /server/database/members.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/members.ts -------------------------------------------------------------------------------- /server/database/migrate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/migrate.ts -------------------------------------------------------------------------------- /server/database/solves.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/solves.ts -------------------------------------------------------------------------------- /server/database/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/users.ts -------------------------------------------------------------------------------- /server/database/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/database/util.ts -------------------------------------------------------------------------------- /server/email/emails/verify.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/email/emails/verify.html -------------------------------------------------------------------------------- /server/email/emails/verify.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/email/emails/verify.txt -------------------------------------------------------------------------------- /server/email/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/email/index.ts -------------------------------------------------------------------------------- /server/email/provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/email/provider.ts -------------------------------------------------------------------------------- /server/errors/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/errors/index.js -------------------------------------------------------------------------------- /server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/index.js -------------------------------------------------------------------------------- /server/leaderboard/calculate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/leaderboard/calculate.js -------------------------------------------------------------------------------- /server/leaderboard/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/leaderboard/index.js -------------------------------------------------------------------------------- /server/leaderboard/samples.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/leaderboard/samples.js -------------------------------------------------------------------------------- /server/providers/challenges/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/providers/challenges/database/index.ts -------------------------------------------------------------------------------- /server/providers/emails/mailgun/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/providers/emails/mailgun/index.ts -------------------------------------------------------------------------------- /server/providers/emails/ses/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/providers/emails/ses/index.ts -------------------------------------------------------------------------------- /server/providers/emails/smtp/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/providers/emails/smtp/index.ts -------------------------------------------------------------------------------- /server/providers/uploads/dummy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/providers/uploads/dummy/index.ts -------------------------------------------------------------------------------- /server/providers/uploads/gcs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/providers/uploads/gcs/index.ts -------------------------------------------------------------------------------- /server/providers/uploads/local/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/providers/uploads/local/index.ts -------------------------------------------------------------------------------- /server/responses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/responses.ts -------------------------------------------------------------------------------- /server/uploads/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/uploads/index.ts -------------------------------------------------------------------------------- /server/uploads/provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/uploads/provider.ts -------------------------------------------------------------------------------- /server/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/util/index.ts -------------------------------------------------------------------------------- /server/util/normalize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/util/normalize.ts -------------------------------------------------------------------------------- /server/util/perms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/util/perms.ts -------------------------------------------------------------------------------- /server/util/recaptcha.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/util/recaptcha.ts -------------------------------------------------------------------------------- /server/util/restrict.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/util/restrict.ts -------------------------------------------------------------------------------- /server/util/scores.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/util/scores.ts -------------------------------------------------------------------------------- /server/util/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/server/util/validate.ts -------------------------------------------------------------------------------- /test/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/.eslintrc.js -------------------------------------------------------------------------------- /test/_util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/_util.js -------------------------------------------------------------------------------- /test/conf-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/conf-test.yaml -------------------------------------------------------------------------------- /test/integration/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/integration/app.js -------------------------------------------------------------------------------- /test/integration/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/integration/auth.js -------------------------------------------------------------------------------- /test/integration/challenges.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/integration/challenges.js -------------------------------------------------------------------------------- /test/integration/leaderboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/integration/leaderboard.js -------------------------------------------------------------------------------- /test/integration/profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/integration/profile.js -------------------------------------------------------------------------------- /test/integration/submit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/integration/submit.js -------------------------------------------------------------------------------- /test/integration/submitTiming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/integration/submitTiming.js -------------------------------------------------------------------------------- /test/unit/challenges/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/unit/challenges/index.js -------------------------------------------------------------------------------- /test/unit/config/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/unit/config/util.js -------------------------------------------------------------------------------- /test/unit/rateLimit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/unit/rateLimit.js -------------------------------------------------------------------------------- /test/unit/restrict.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/unit/restrict.js -------------------------------------------------------------------------------- /test/unit/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/test/unit/util.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.strict.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/tsconfig.strict.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redpwn/rctf/HEAD/yarn.lock --------------------------------------------------------------------------------