Allow collapsible blocks to be tightly together

This commit is contained in:
2024-12-30 18:18:56 +01:00
parent fc16fb4046
commit af883f2f6e
6 changed files with 12 additions and 8 deletions
@@ -43,7 +43,7 @@ You’re taking a stroll in the lab, when Dr. Klostermann is calling your name:
[attachment.zip](/files/writeups/google-ctf/2021/beginners-quest/4/attachment.zip)
{{< collapsible-block badge="c" title="chal.c" isCollapsed="true" >}}
{{< collapsible-block badge="c" title="chal.c" isCollapsed="true" class="tight" >}}
```c
#include <stdbool.h>
@@ -50,7 +50,7 @@ As you and Gökhan are leaving the crates to enter a car, you spot the tough guy
[attachment.zip](/files/writeups/google-ctf/2021/beginners-quest/5/attachment.zip)
{{< collapsible-block badge="py" title="RoboCaller1337.py" isCollapsed="true" >}}
{{< collapsible-block badge="py" title="RoboCaller1337.py" isCollapsed="true" class="tight" >}}
```py
import random
@@ -105,7 +105,7 @@ if __name__ == "__main__":
{{< /collapsible-block >}}
{{< collapsible-block badge="txt" title="robo_numbers_list.txt" isCollapsed="true" >}}
{{< collapsible-block badge="txt" title="robo_numbers_list.txt" isCollapsed="true" class="tight" >}}
```txt
263-170-6234
@@ -50,7 +50,7 @@ After having climbed through the window, you wait for a while on the ground. The
[attachment.zip](/files/writeups/google-ctf/2021/beginners-quest/6/attachment.zip)
{{< collapsible-block badge="txt" title="encodings" isCollapsed="true" >}}
{{< collapsible-block badge="txt" title="encodings" isCollapsed="true" class="tight" >}}
```text
I made a super secret encoder. I remember using:
@@ -66,7 +66,7 @@ I also use gzip and zlib (to compress the stuff) and I like hiding things in fil
{{< /collapsible-block >}}
{{< collapsible-block badge="txt" title="chall.txt" isCollapsed="true" >}}
{{< collapsible-block badge="txt" title="chall.txt" isCollapsed="true" class="tight" >}}
```txt
File is too large to display here.
@@ -42,7 +42,7 @@ Nowak is very impressed by your skills. You and him sit down by a table, and you
[attachment.zip](/files/writeups/google-ctf/2021/beginners-quest/7/attachment.zip)
{{< collapsible-block badge="python" title="chall.py" isCollapsed="true" >}}
{{< collapsible-block badge="python" title="chall.py" isCollapsed="true" class="tight" >}}
```py
from Crypto.Util.number import *