Skip to main content

2 posts tagged with "unitedctf-2024"

View All Tags

UnitedCTF 2024 Shellcode Obfuscation 2 writeup

· 4 min read
Gabriel Cholette-Rioux
Gabriel Cholette-Rioux
Passionate software developer

This is the level 2 of the Shellcode Obfuscation series.

General instructions

  1. For each level, you must execute code that will print the expected string on STDOUT.
  2. The only syscalls allowed are write on stdout and exit.
  3. The architecture is AMD64.
  4. The shellcode format must be in hexadecimal (\x00\x01\x02).
  5. The program that runs the shellcode was compiled with gcc -z execstack -fno-stack-protector -o [executable] [source.c]

UnitedCTF 2024 Escape Room 2 writeup

· 4 min read
Gabriel Cholette-Rioux
Gabriel Cholette-Rioux
Passionate software developer

Here's the challenge description

A room, a terminal, a locked door asking for a secret code... and a broken keyboard whose letters and numbers no longer work. How hard can it be?

There is also a free hint on the challenge

The require function is not part of the global context, it is a scoped variable which becomes undefined when called in different contexts. Try to find where is it always defined.

We are also provided and ip and port to connect to with netcat.