Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
Add basic server functionality, created bare minimum endpoints.
  • Loading branch information
aljazmedic authored and aJuvan committed Apr 14, 2022
1 parent cbc50f3 commit d642f14
Show file tree
Hide file tree
Showing 27 changed files with 4,222 additions and 0 deletions.
4 changes: 4 additions & 0 deletions challs/sqltutor/.env.preview
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SQLTUT_PORT=
SQLTUT_HOST=
SQLTUT_DBURI=
SQLTUT_HASHING_SECRET=
2 changes: 2 additions & 0 deletions challs/sqltutor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.env
node_modules
12 changes: 12 additions & 0 deletions challs/sqltutor/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:17.0-alpine

WORKDIR /app

COPY package*.json .
RUN npm install

COPY src src

EXPOSE 80

CMD ["npm", "run","start"]
16 changes: 16 additions & 0 deletions challs/sqltutor/challenge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "SQL Tutor"
author: "aljazmedic"
category: "Web"

description: |
I found this awesome site for learning SQL. Check it out!
value: 100
type: "standard"

flags:
- "DCTF{template_web}"
tags:
- "web"

state: "visible"
version: "1.0"
Loading

0 comments on commit d642f14

Please sign in to comment.