Change the pun.
This commit is contained in:
@@ -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
2
vuln.c
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user