This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic server functionality, created bare minimum endpoints.
- Loading branch information
1 parent
cbc50f3
commit d642f14
Showing
27 changed files
with
4,222 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SQLTUT_PORT= | ||
SQLTUT_HOST= | ||
SQLTUT_DBURI= | ||
SQLTUT_HASHING_SECRET= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.env | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Oops, something went wrong.