← Back to Writeups
HTBN/AReversing

You Cant C Me

XESXOR8/23/20261 min read
#reversing#htb#n/a

You Cant C Me

Platform: HackTheBox | Category: Reversing | Difficulty: N/A | Author: D3v0o0Nu11 | Date: 2026-02-10

Description

Can you see me?

Solution Approach

Core idea: Identify the weakness from source review or fingerprinting first. Iterate with incremental payloads instead of guessing.

Steps

  1. First, unzip the .zip file given.

  2. Check the file type we got.

  3. It's a binary file and it's stripped. Means it's harder for us to debug the binary flow.

  4. Let us decompile the binary and search for the main() function.

  5. Notice here, if our input have the same strings as Local_28 then the binary will print our output wrapped with HTB prefix.

  6. Well i already tried to convert the hex into characters, but still got the wrong ans. which are weird.

  7. Let us set the breakpoint at this offset using gdb

  8. Look at the RDI value.

  9. Let us copy that and enter the strings.

  10. Got the flag!

Flag

REDACTED

Lessons Learned

  1. Identify the weakness from source review or fingerprinting first.
  2. Iterate with incremental payloads instead of guessing.
  3. Reuse the same pattern in future engagements.