[nullhaven]
All challenges
Reversing★★★☆☆75 pts

Static noise

Godmode · 1d ago · 2 solved

A licence checker, decompiled and stripped of its symbols. It reads one line and returns 1 or 0.
c
int check(char *input) {
  const unsigned char expected[32] = { /* .rodata, see below */ };

  for (int i = 0; i < 32; i++) {
    if ((input[i] ^ 42) != expected[i])
      return 0;
  }
  return 1;
}

The bytes it compares against, at .rodata:0x402040:
r
402040  44 5f 46 46 42 4b 5c 4f 44 51 52 45 58 75 43 59
402050  75 44 45 5e 75 4f 44 49 58 53 5a 5e 43 45 44 57

There is no anti-debugging, no packing, and no cleverness. Just read it.

Submitting a flag needs an account

That's what records your points and lets you claim the first blood under your name.

Free, no e-mail verification. You land back on this challenge.

Solved by · 2

  1. 1
    SK
    Skollwarynz First blood1d ago
  2. 2
    JE
    Jetboy011d ago