Skip to content

Commit f37e2fe

Browse files
author
sasdf
committed
Add Balsn2021 + ACSC2021 + Balsn2020
1 parent 06ef881 commit f37e2fe

File tree

133 files changed

+67472
-328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+67472
-328
lines changed

SUMMARY.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,16 @@
8787
* [rev - plam](tasks/2019/BalsnCTF/rev/plam/README.md)
8888
* [rev - vim](tasks/2019/BalsnCTF/rev/vim/README.md)
8989

90+
### 2020
91+
* Balsn CTF
92+
* [crypto - aeshash](tasks/2020/BalsnCTF/crypto/aeshash/README.md)
93+
94+
### 2021
95+
* ACSC
96+
* [crypto - Share The Flag](tasks/2021/ACSC/crypto/share_the_flag/README.md)
97+
98+
* Balsn CTF
99+
* [Overview](tasks/2021/BalsnCTF/README.md)
100+
* [crypto - 1337 pins](tasks/2021/BalsnCTF/crypto/1337pins/README.md)
101+
* [crypto - dlog](tasks/2021/BalsnCTF/crypto/dlog/README.md)
102+
* [crypto - trinity](tasks/2021/BalsnCTF/crypto/trinity/README.md)

build.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

docker/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM node:8.17.0-slim
2+
3+
RUN apt update && \
4+
apt install git && \

docker/_build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
set -euxo pipefail
4+
5+
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
6+
7+
cd "$SCRIPT_DIR/../"
8+
9+
if [[ ! -d "node_modules" ]]; then
10+
yarn install
11+
yarn run gitbook install
12+
fi
13+
14+
yarn run gitbook build . docs

docker/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -euxo pipefail
4+
5+
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
6+
7+
docker run --rm -it -v"$SCRIPT_DIR/../":/src -u 1000 node:8.17.0-slim bash /src/docker/_build.sh

docs/docker/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM node:8.17.0-slim
2+
3+
RUN apt update && \
4+
apt install git && \

docs/docker/_build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
set -euxo pipefail
4+
5+
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
6+
7+
cd "$SCRIPT_DIR/../"
8+
9+
if [[ ! -d "node_modules" ]]; then
10+
yarn install
11+
yarn run gitbook install
12+
fi
13+
14+
yarn run gitbook build . docs

docs/gitbook/gitbook-plugin-prism/prism-twilight.css

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
140140
cursor: help;
141141
}
142142

143-
pre[data-line] {
144-
padding: 1em 0 1em 3em;
145-
position: relative;
146-
}
147-
148143
/* Markup */
149144
.language-markup .token.tag,
150145
.language-markup .token.attr-name,
@@ -158,42 +153,17 @@ pre[data-line] {
158153
z-index: 1;
159154
}
160155

161-
.line-highlight {
156+
.line-highlight.line-highlight {
162157
background: hsla(0, 0%, 33%, 0.25); /* #545454 */
163158
background: linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)); /* #545454 */
164159
border-bottom: 1px dashed hsl(0, 0%, 33%); /* #545454 */
165160
border-top: 1px dashed hsl(0, 0%, 33%); /* #545454 */
166-
left: 0;
167-
line-height: inherit;
168161
margin-top: 0.75em; /* Same as .prism’s padding-top */
169-
padding: inherit 0;
170-
pointer-events: none;
171-
position: absolute;
172-
right: 0;
173-
white-space: pre;
174162
z-index: 0;
175163
}
176164

177-
.line-highlight:before,
178-
.line-highlight[data-end]:after {
165+
.line-highlight.line-highlight:before,
166+
.line-highlight.line-highlight[data-end]:after {
179167
background-color: hsl(215, 15%, 59%); /* #8794A6 */
180-
border-radius: 999px;
181-
box-shadow: 0 1px white;
182168
color: hsl(24, 20%, 95%); /* #F5F2F0 */
183-
content: attr(data-start);
184-
font: bold 65%/1.5 sans-serif;
185-
left: .6em;
186-
min-width: 1em;
187-
padding: 0 .5em;
188-
position: absolute;
189-
text-align: center;
190-
text-shadow: none;
191-
top: .4em;
192-
vertical-align: .3em;
193-
}
194-
195-
.line-highlight[data-end]:after {
196-
bottom: .4em;
197-
content: attr(data-end);
198-
top: auto;
199169
}

docs/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)