diff --git a/receiver/challenges/Carbeat.py b/receiver/challenges/Carbeat.py index 914d8a6..eb5c9cd 100644 --- a/receiver/challenges/Carbeat.py +++ b/receiver/challenges/Carbeat.py @@ -119,7 +119,9 @@ class Carbeat(Challenge): def exit(self, proc, timeout=1.): self._read_until(proc, "> ", timeout=timeout) - self._send_line(proc, "3") + self._send_line(proc, "4") + + def check(self): self._make_logger() @@ -166,8 +168,8 @@ class Carbeat(Challenge): proc.wait(timeout=2.0) except subprocess.TimeoutExpired: proc.kill() - raise AssertionError("Program did not exit after option 3") - self.logger.info("[ok] service exit on 3") + raise AssertionError("Program did not exit after exit command") + self.logger.info("[ok] service exit on exit command") proc_alarm = self._spawn() self._read_until(proc_alarm, "zzz", timeout=190.0) # 180s + slack diff --git a/receiver/pyvenv.cfg b/receiver/pyvenv.cfg index 10481c5..213ae54 100644 --- a/receiver/pyvenv.cfg +++ b/receiver/pyvenv.cfg @@ -2,4 +2,4 @@ home = /usr/bin include-system-site-packages = false version = 3.12.3 executable = /usr/bin/python3.12 -command = /usr/bin/python3 -m venv /root/wreckitattdef-node/receiver +command = /usr/bin/python3 -m venv /root/gemastik18-final/receiver