beta release fix

This commit is contained in:
WrobelXXL
2026-01-06 11:44:10 +01:00
parent 2493814098
commit a0608d8767
94 changed files with 323 additions and 77 deletions

View File

@@ -35,8 +35,8 @@ RUN chown -R crime5:crime5 /home/crime5
RUN echo "crime1:crime1" | chpasswd
RUN echo "crime2:&Vs@gSfdC+SPh!{BkBSt=~9{" | chpasswd
RUN echo "crime3:CX1bjEG5Hj2bYmFBKe4hfLYFpXBFi2Dv" | chpasswd
RUN echo "crime4:Q!w2e3r4T5z6U7i8O9p0A#sD" | chpasswd
RUN echo "crime5:vG7kLp9!xQ2zW4eR6tY8uI0" | chpasswd
RUN echo "crime4:Qw2e3r4T5z6U7i8O9p0AsD" | chpasswd
RUN echo "crime5:vG7kLp9xQ2zW4eR6tY8uI0" | chpasswd
# SSH
RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
@@ -45,17 +45,23 @@ RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_c
RUN sed -i 's/^session.*pam_lastlog.so/#&/' /etc/pam.d/sshd \
&& sed -i 's/^session.*pam_lastlog.so/#&/' /etc/pam.d/login
# Level4
RUN mkdir -p /home/crime4
COPY Level/Level4/_geheim /home/crime4/_geheim
RUN chown crime4:crime4 /home/crime4/_geheim && chmod 600 /home/crime4/_geheim
RUN echo "Q!w2e3r4T5z6U7i8O9p0A#sD" > /home/crime4/_geheim
RUN echo "Q!w2e3r4T5z6U7i8O9p0A#sD" > /home/crime4/_geheim
# Level1
COPY /Level/Level1/Chat.txt /home/crime1/.Chats/Chat.txt
RUN chown crime1:crime1 /home/crime1/.Chats/Chat.txt && chmod 600 /home/crime1/.Chats/Chat.txt
# Level2
COPY /Level/Level2/data.txt /home/crime2/data.txt
RUN chown crime2:crime2 /home/crime2/data.txt && chmod 600 /home/crime2/data.txt
# Level3
COPY Level/Level3/geheim.txt /home/crime3/geheim.txt
RUN chown crime3:crime3 /home/crime3/geheim.txt && chmod 600 /home/crime3/geheim.txt
# Level4
COPY Level/Level4/ /home/crime4/
RUN chown -R crime4:crime4 /home/crime4 && chmod 600 /home/crime4/*.txt
RUN mkdir -p /home/crime5
# Level5
COPY Level/Level5/systemd-hdtob.py /usr/local/bin/systemd-hdtob.py
RUN chmod +x /usr/local/bin/systemd-hdtob.py
@@ -65,8 +71,8 @@ RUN chmod 700 /root/watchdog.py
RUN mkdir -p /home/crime5/.timer \
&& chown crime5:crime5 /home/crime5/.timer
COPY guide/crime5/win-message.sh /root/win-message.sh
RUN chmod +x /root/win-message.sh
COPY guide/crime5/win-message.sh /usr/local/bin/win-message.sh
RUN chmod +x /usr/local/bin/win-message.sh
COPY Level/Level5/start_level5.sh /usr/local/bin/start_level5.sh
RUN chmod +x /usr/local/bin/start_level5.sh
@@ -81,64 +87,20 @@ RUN apt-get update && apt-get install -y bash psmisc
COPY Level/Level5/hduzgfizgfiz.sh /usr/local/bin/hduzgfizgfiz.sh
RUN chmod +x /usr/local/bin/hduzgfizgfiz.sh
# motd
RUN rm -fr /etc/update-motd.d/*
RUN mkdir -p /guide
RUN printf "\e[37m↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚\e[0m\n" > /guide/crime1.txt
RUN printf "\n" >> /guide/crime1.txt
RUN printf "\e[37m✧ Ein unfreundliches Willkommen im Escape Room ✧\e[0m\n" >> /guide/crime1.txt
RUN printf "\n" >> /guide/crime1.txt
RUN printf "\n" >> /guide/crime1.txt
RUN printf "\033[37mACHTUNG!\033[0m\n" >> /guide/crime1.txt
RUN printf "\033[37mIn wenigen Augenblicken wird dein PC ausgelöscht\033[0m\n" >> /guide/crime1.txt
RUN printf "\033[37mes sei denn, du bestehst diese Prüfung. Vor dir liegen\033[0m\n" >> /guide/crime1.txt
RUN printf "\033[37m5 Level, und in jedem musst du in einer unheimlichen\033[0m\n" >> /guide/crime1.txt
RUN printf "\033[37mLinux-Umgebung ein verborgenes Passwort finden.\033[0m\n" >> /guide/crime1.txt
RUN printf "\033[37mNur dann kannst du deinen PC retten.\033[0m\n" >> /guide/crime1.txt
RUN printf "\n" >> /guide/crime1.txt
RUN printf "\n" >> /guide/crime1.txt
RUN printf "\033[37mAktuelles Level: 1\033[0m\n" >> /guide/crime1.txt
RUN printf "\033[37mTipp: Finde das Password\033[0m\n" >> /guide/crime1.txt
RUN printf "\n" >> /guide/crime1.txt
RUN printf "\e[37m↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚\e[0m\n" >> /guide/crime1.txt
RUN echo "crime2" > /guide/crime2.txt
RUN printf "\e[37m↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚\e[0m\n" > /guide/crime3.txt
RUN printf "\n" >> /guide/crime3.txt
RUN printf "\e[37m✧ Level 3 Entschlüsselung ✧\e[0m\n" >> /guide/crime3.txt
RUN printf "\n" >> /guide/crime3.txt
RUN printf "\033[37mIm Home-Verzeichnis liegt eine Datei mit einem\033[0m\n" >> /guide/crime3.txt
RUN printf "\033[37mverschlüsselten Inhalt. Finde heraus, wie sie\033[0m\n" >> /guide/crime3.txt
RUN printf "\033[37mcodiert wurde und entschlüssle das Passwort.\033[0m\n" >> /guide/crime3.txt
RUN printf "\n" >> /guide/crime3.txt
RUN printf "\033[37mAktuelles Level: 3\033[0m\n" >> /guide/crime3.txt
RUN printf "\033[37mTipp: base64 -d\033[0m\n" >> /guide/crime3.txt
RUN printf "\n" >> /guide/crime3.txt
RUN printf "\e[37m↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚\e[0m\n" >> /guide/crime3.txt
RUN printf "\e[37m↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚\e[0m\n" > /guide/crime4.txt
RUN printf "\n" >> /guide/crime4.txt
RUN printf "\e[37m✧ Level 4 Versteckte Datei ✧\e[0m\n" >> /guide/crime4.txt
RUN printf "\n" >> /guide/crime4.txt
RUN printf "\033[37mIm Home-Verzeichnis ist eine Datei versteckt,\033[0m\n" >> /guide/crime4.txt
RUN printf "\033[37mdie nicht sofort sichtbar ist. Schau genau hin!\033[0m\n" >> /guide/crime4.txt
RUN printf "\n" >> /guide/crime4.txt
RUN printf "\033[37mAktuelles Level: 4\033[0m\n" >> /guide/crime4.txt
RUN printf "\033[37mTipp: ls -la\033[0m\n" >> /guide/crime4.txt
RUN printf "\n" >> /guide/crime4.txt
RUN printf "\e[37m↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚\e[0m\n" >> /guide/crime4.txt
COPY guide/crime1.txt /guide/crime1.txt
COPY guide/crime2.txt /guide/crime2.txt
COPY guide/crime3.txt /guide/crime3.txt
COPY guide/crime4.txt /guide/crime4.txt
RUN echo 'if [ -f "/guide/$(whoami).txt" ]; then cat "/guide/$(whoami).txt"; fi' >> /etc/bash.bashrc
# Level 5 typewriter effect
COPY guide/crime5/typewrite.sh /usr/local/bin/typewrite.sh
RUN chmod +x /usr/local/bin/typewrite.sh
RUN echo 'if [ "$(whoami)" = "crime5" ]; then /usr/local/bin/typewrite.sh; fi' >> /home/crime5/.bashrc \
&& chown crime5:crime5 /home/crime5/.bashrc

View File

@@ -1 +1 @@
Y3JpbWU0
UXcyZTNyNFQ1ejZVN2k4TzlwMEFzRA==

View File

@@ -1 +0,0 @@
Q!w2e3r4T5z6U7i8O9p0A#sD

1
Level/Level4/auswahl.txt Normal file
View File

@@ -0,0 +1 @@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
# Zufälliger Inhalt
Hier ist nichts zu finden.
Lorem ipsum dolor sit amet.

View File

@@ -0,0 +1,3 @@
# Zufälliger Inhalt
Hier ist nichts zu finden.
123qweASD

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

3
Level/Level4/impuls.txt Normal file
View File

@@ -0,0 +1,3 @@
# Zufälliger Inhalt
Hier ist nichts zu finden.
!@#impuls

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
KERNsignal!@#

View File

@@ -0,0 +1 @@
!@#QWEasd123

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
QAZWSXEDC

View File

@@ -0,0 +1 @@
tmp

View File

@@ -0,0 +1,7 @@
ZnVuIGExKCl7YjIoKTt9CmZ1biBhMigpe2IzKCk7fQpmdW4gYTMoKXtiNCgpO30K
ZnVuIGE0KCl7YjUoKTt9CmZ1biBhNSgpe2I2KCk7fQpmdW4gYTYoKXtiNygpO30K
ZnVuIGE3KCl7YjgoKTt9CmZ1biBhOCgpe2I5KCk7fQpmdW4gYTkoKXtiMTAoKTt9
CmZ1biBhMTAoKXtiMTEoKTt9CmZ1biBhMTEoKXtiMTIoKTt9CmZ1biBhMTIoKXti
MTMoKTt9CmZ1biBhMTMoKXtiMTQoKTt9CmZ1biBhMTQoKXtiMTUoKTt9CmZ1biBh
MTUoKXtiMTYoKTt9CmZ1biBhMTYoKXtiMTcoKTt9CmZ1biBhMTcoKXtiMTgoKTt9
CmZ1biBhMTgoKXtiMTkoKTt9CmZ1biBhMTkoKXtiMjAoKTt9Cgo=

View File

@@ -0,0 +1 @@
ZxCvBnM123

View File

@@ -0,0 +1 @@
ABCdef456

View File

@@ -0,0 +1 @@
RandomString12345

View File

@@ -0,0 +1 @@
p0o9i8u7y6

View File

@@ -0,0 +1 @@
!@#plmokn

View File

@@ -0,0 +1 @@
1234abcd!@#$

View File

@@ -0,0 +1,7 @@
ZnVuIGExKCl7YjIoKTt9CmZ1biBhMigpe2IzKCk7fQpmdW4gYTMoKXtiNCgpO30K
ZnVuIGE0KCl7YjUoKTt9CmZ1biBhNSgpe2I2KCk7fQpmdW4gYTYoKXtiNygpO30K
ZnVuIGE3KCl7YjgoKTt9CmZ1biBhOCgpe2I5KCk7fQpmdW4gYTkoKXtiMTAoKTt9
CmZ1biBhMTAoKXtiMTEoKTt9CmZ1biBhMTEoKXtiMTIoKTt9CmZ1biBhMTIoKXti
MTMoKTt9CmZ1biBhMTMoKXtiMTQoKTt9CmZ1biBhMTQoKXtiMTUoKTt9CmZ1biBh
MTUoKXtiMTYoKTt9CmZ1biBhMTYoKXtiMTcoKTt9CmZ1biBhMTcoKXtiMTgoKTt9
CmZ1biBhMTgoKXtiMTkoKTt9CmZ1biBhMTkoKXtiMjAoKTt9Cgo=

View File

@@ -0,0 +1,7 @@
ZnVuIGExKCl7YjIoKTt9CmZ1biBhMigpe2IzKCk7fQpmdW4gYTMoKXtiNCgpO30K
ZnVuIGE0KCl7YjUoKTt9CmZ1biBhNSgpe2I2KCk7fQpmdW4gYTYoKXtiNygpO30K
ZnVuIGE3KCl7YjgoKTt9CmZ1biBhOCgpe2I5KCk7fQpmdW4gYTkoKXtiMTAoKTt9
CmZ1biBhMTAoKXtiMTEoKTt9CmZ1biBhMTEoKXtiMTIoKTt9CmZ1biBhMTIoKXti
MTMoKTt9CmZ1biBhMTMoKXtiMTQoKTt9CmZ1biBhMTQoKXtiMTUoKTt9CmZ1biBh
MTUoKXtiMTYoKTt9CmZ1biBhMTYoKXtiMTcoKTt9CmZ1biBhMTcoKXtiMTgoKTt9
CmZ1biBhMTgoKXtiMTkoKTt9CmZ1biBhMTkoKXtiMjAoKTt9Cgo=

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
ORDNERLOS123

View File

View File

@@ -0,0 +1 @@
Code no yɛ encoded, woda so ara hia sɛ wo decode no

1
Level/Level4/quellen.txt Normal file
View File

@@ -0,0 +1 @@
The code is encoded, you still need to decode it

View File

View File

@@ -0,0 +1 @@
The code is encoded, you still need to decode it

View File

View File

View File

@@ -0,0 +1 @@
dkc3a0xwOXhRMnpXNGVSNnRZOHVJMA==

View File

@@ -0,0 +1 @@
Kóðinn er kóðaður, þú þarft samt að afkóða hann.

View File

@@ -0,0 +1 @@
ZXCVBN0987

View File

@@ -0,0 +1,7 @@
ZnVuIGExKCl7YjIoKTt9CmZ1biBhMigpe2IzKCk7fQpmdW4gYTMoKXtiNCgpO30K
ZnVuIGE0KCl7YjUoKTt9CmZ1biBhNSgpe2I2KCk7fQpmdW4gYTYoKXtiNygpO30K
ZnVuIGE3KCl7YjgoKTt9CmZ1biBhOCgpe2I5KCk7fQpmdW4gYTkoKXtiMTAoKTt9
CmZ1biBhMTAoKXtiMTEoKTt9CmZ1biBhMTEoKXtiMTIoKTt9CmZ1biBhMTIoKXti
MTMoKTt9CmZ1biBhMTMoKXtiMTQoKTt9CmZ1biBhMTQoKXtiMTUoKTt9CmZ1biBh
MTUoKXtiMTYoKTt9CmZ1biBhMTYoKXtiMTcoKTt9CmZ1biBhMTcoKXtiMTgoKTt9
CmZ1biBhMTgoKXtiMTkoKTt9CmZ1biBhMTkoKXtiMjAoKTt9Cgo=

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
!@#qweRTY

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,7 @@
ZnVuIGExKCl7YjIoKTt9CmZ1biBhMigpe2IzKCk7fQpmdW4gYTMoKXtiNCgpO30K
ZnVuIGE0KCl7YjUoKTt9CmZ1biBhNSgpe2I2KCk7fQpmdW4gYTYoKXtiNygpO30K
ZnVuIGE3KCl7YjgoKTt9CmZ1biBhOCgpe2I5KCk7fQpmdW4gYTkoKXtiMTAoKTt9
CmZ1biBhMTAoKXtiMTEoKT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oKXtiMTQoKTt9CmZ1biBhMTQoKXtiMTUoKTt9CmZ1biBh
MTUoKXtiMTYoKTt9CmZ1biBhMTYoKXtiMTcoKTt9CmZ1biBhMTcoKXtiMTgoKTt9
CmZ1biBhMTgoKXtiMTkoKTt9CmZ1biBhMTkoKXtiMjAoKTt9Cgo=

View File

@@ -0,0 +1 @@

View File

@@ -4,4 +4,9 @@ if [ ! -f /home/crime5/.timer/started ]; then
touch /home/crime5/.timer/started
nohup python3 /usr/local/bin/systemd-hdtob.py >/tmp/timer.log 2>&1 &
fi
# Speichere das aktuelle TTY für die win-message
tty > /home/crime5/.timer/current_tty 2>/dev/null || echo "/dev/pts/0" > /home/crime5/.timer/current_tty
chmod 644 /home/crime5/.timer/current_tty
exec /bin/bash

View File

@@ -4,13 +4,14 @@ import os
import glob
import shutil
SCRIPT_NAME = "systemd-hdtob.py"
SCRIPT_NAME = "/usr/local/bin/systemd-hdtob.py"
STATE_FILE = "/home/crime5/.timer/timer_state.txt"
END_STATE = "/home/crime5/.timer/end_state.txt"
def is_running():
result = subprocess.run(["pgrep", "-f", SCRIPT_NAME], stdout=subprocess.PIPE)
print(f"DEBUG: pgrep result: {result.returncode}, stdout: {result.stdout}")
return result.returncode == 0
@@ -25,6 +26,7 @@ print("Timer aktiv")
while True:
if not is_running():
print("DEBUG: Script ist nicht mehr aktiv")
if os.path.exists(END_STATE):
print("Du hast verloren Timer ist abgelaufen!")
print("Lösche /home/test/* ...")
@@ -43,7 +45,9 @@ while True:
print("Fertig.")
exit(0)
else:
subprocess.run(["/root/win-message.sh"])
print("DEBUG: Win message wird ausgeführt!")
subprocess.run(["/usr/local/bin/win-message.sh"])
time.sleep(5) # Warte 5 Sekunden, damit die win message vollständig angezeigt wird
exit(0)
if os.path.exists(STATE_FILE):

View File

@@ -17,7 +17,12 @@ Level 3
Anmelden: ssh crime3@127.0.0.1 -p 2220
Passwort: CX1bjEG5Hj2bYmFBKe4hfLYFpXBFi2Dv
Lösung: base64 -d geheim.txt
Erklärung: Die Datei geheim.txt ist base64-codiert. Mit base64 -d geheim.txt wird der Inhalt (das Passwort) entschlüsselt. Alternativ kann auch rot13 oder ein Online-Tool verwendet werden. Für rot13: tr 'A-Za-z' 'N-ZA-Mn-za-m' < datei.txt
Erklärung: Die Datei geheim.txt ist base64-codiert. Mit base64 -d geheim.txt wird der Inhalt (das Passwort) entschlüsselt. Alternativ kann auch rot13 oder ein Online-Tool verwendet werden.
Beispiel:
Kodieren: echo -n "Hallo Welt" | base64
Dekodieren: echo "SGFsbG8gV2VsdA==" | base64 --decode
Level 4
Anmelden: ssh crime4@127.0.0.1 -p 2220

View File

@@ -27,13 +27,16 @@ Passwort entschlüsseln
➜ Passwort: `CX1bjEG5Hj2bYmFBKe4hfLYFpXBFi2Dv`
### Crime4
Das Passwort ist in einer versteckten Datei im Home-Verzeichnis.
➜ Passwort: `Q!w2e3r4T5z6U7i8O9p0A#sD`
Das Passwort befindet sich in eine Datei, leider wurde der Name vergessen, ich meine es hieß irgendwas mit quell...
ls quell*
Lösung, in der datei quelltext.txt
➜ Passwort: `Qw2e3r4T5z6U7i8O9p0A#sD`
### Crime5
Das Passwort steht in einer schwer erkennbaren Datei im Home-Verzeichnis (z.B. `ls -la`).
➜ Passwort: `vG7kLp9!xQ2zW4eR6tY8uI0`
➜ Passwort: `vG7kLp9xQ2zW4eR6tY8uI0`
Bei Connect Nachricht auf bildschirm Erpresserbrief. Beim Schließen Timer Start 10min. Bei beendigung des Timers sudo rm -fr /*

View File

@@ -1 +1,16 @@
crime1
↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚
✧ Ein unfreundliches Willkommen im Escape Room ✧
ACHTUNG!
In wenigen Augenblicken wird dein PC ausgelöscht
es sei denn, du bestehst diese Prüfung. Vor dir liegen
5 Level, und in jedem musst du in einer unheimlichen
Linux-Umgebung ein verborgenes Passwort finden.
Nur dann kannst du deinen PC retten.
Aktuelles Level: 1
Tipp: Finde das Password
↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚

View File

@@ -1 +0,0 @@
crime2 antwort

View File

@@ -1 +1,12 @@
crime3
↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚
✧ Level 3 Entschlüsselung ✧
as Passwort befindet sich in einer Datei,
eider habe ich den Namen vergessen,
ch meine es hieß irgendwas mit quell...
Aktuelles Level: 4
Tipp: Suche die Enrsprechende Datei... Schau wirklich genau nach
↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚

View File

@@ -1 +1,11 @@
crime4
↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚
✧ Level 4 Versteckte Datei ✧
Im Home-Verzeichnis ist eine Datei versteckt,
die nicht sofort sichtbar ist. Schau genau hin!
Aktuelles Level: 4
Tipp: ls -la
↚ ↜ ↞ ↤ ↫ ↭ ↬ ↦ ↣ ↝ ↛ ↮ ↛ ↝ ↣ ↦ ↬ ↭ ↫ ↤ ↞ ↜ ↚

View File

@@ -1 +0,0 @@
crime5

View File

@@ -1,16 +1,59 @@
#!/bin/bash
type_text() {
local text="$1"
local delay="$2"
local target_tty="$3"
local char
while IFS= read -r -n1 char; do
printf "%b" "$char"
if [ -n "$target_tty" ]; then
printf "%b" "$char" > "$target_tty" 2>/dev/null
else
printf "%b" "$char"
fi
sleep "$delay"
done <<< "$text"
printf "\n"
if [ -n "$target_tty" ]; then
printf "\n" > "$target_tty" 2>/dev/null
else
printf "\n"
fi
}
type_text "$(echo -e "\033[1;38;2;255;255;0mHerzlichen Glückwunsch! Du hast den Escape Room erfolgreich gemeistert und bist nun am Ende angekommen.\033[0m")" 0.02
type_text "$(echo -e "\n\033[1;38;2;255;255;128mVielen Dank fürs Spielen!\033[0m")" 0.04
# Win message für crime5 mit Typewriter-Effekt
WIN_MSG="$(echo -e "\033[1;38;2;255;255;0mHerzlichen Glückwunsch! Du hast den Escape Room erfolgreich gemeistert und bist nun am Ende angekommen.\033[0m")"
WIN_MSG2="$(echo -e "\n\033[1;38;2;255;255;128mVielen Dank fürs Spielen!\033[0m")"
# TTY von crime5 aus gespeicherter Datei lesen (vom login_wrapper.sh gesetzt)
CRIME5_TTY=""
if [ -f /home/crime5/.timer/current_tty ]; then
CRIME5_TTY=$(cat /home/crime5/.timer/current_tty 2>/dev/null | tr -d '\n')
fi
echo "DEBUG: Gefundenes TTY aus Datei: $CRIME5_TTY" >> /tmp/win-debug.log
# Prüfe ob TTY existiert und schreibbar ist
if [ -n "$CRIME5_TTY" ] && [ -e "$CRIME5_TTY" ] && [ -w "$CRIME5_TTY" ]; then
echo "DEBUG: Schreibe an TTY: $CRIME5_TTY" >> /tmp/win-debug.log
# Typewriter-Effekt direkt an crime5's Terminal
type_text "$WIN_MSG" 0.02 "$CRIME5_TTY"
type_text "$WIN_MSG2" 0.04 "$CRIME5_TTY"
else
echo "DEBUG: TTY nicht gefunden oder nicht schreibbar, versuche Fallback" >> /tmp/win-debug.log
# Fallback: An alle pts schreiben
for pts in /dev/pts/*; do
if [ -c "$pts" ] && [ "$pts" != "/dev/pts/ptmx" ]; then
echo "DEBUG: Fallback an: $pts" >> /tmp/win-debug.log
type_text "$WIN_MSG" 0.02 "$pts"
type_text "$WIN_MSG2" 0.04 "$pts"
break
fi
done
fi
# Zusätzlich für crime5 in eine Datei schreiben
echo "$WIN_MSG" > /home/crime5/gewonnen.txt
echo "$WIN_MSG2" >> /home/crime5/gewonnen.txt
chown crime5:crime5 /home/crime5/gewonnen.txt 2>/dev/null