Change the pun.

This commit is contained in:
Johannes Maier
2024-01-16 18:02:10 +01:00
parent 9ede0db8d7
commit 06fc784871
2 changed files with 3 additions and 3 deletions

View File

@@ -54,8 +54,8 @@ def exec_program(program: bytes, assert_f, debug: bool = False) -> int | None:
assert_f(msg != b'') assert_f(msg != b'')
p.sendline(b"1234") p.sendline(b"1234")
msg = p.recvuntil(b"WMaaS - Weird machines as a Service\n", timeout=1) msg = p.recvuntil(b"COPaaS - Compiler-oriented programming as a service\n", timeout=1)
assert_f(msg == b'WMaaS - Weird machines as a Service\n') assert_f(msg == b'COPaaS - Compiler-oriented programming as a service\n')
msg = p.recvuntil(b"? (y/N):", timeout=1) msg = p.recvuntil(b"? (y/N):", timeout=1)
assert_f(msg == b'Do you want to activate the premium version? (y/N):') assert_f(msg == b'Do you want to activate the premium version? (y/N):')

2
vuln.c
View File

@@ -361,7 +361,7 @@ int main() {
setbuf(stdout, NULL); setbuf(stdout, NULL);
setbuf(stdin, NULL); setbuf(stdin, NULL);
puts("WMaaS - Weird machines as a Service"); puts("COPaaS - Compiler-oriented programming as a service");
check_premium(); check_premium();
if (premium_activated) { if (premium_activated) {