← Back to Writeups
CUSTOMTrivialReversing

Mic Check Two

XESXOR9/10/20261 min read
#reversing#custom#trivial#source_code_analysis#string_comparison_bounds

Mic Check Two

Platform: rev-kids20.forkbomb.ru | Category: Reversing | Type: Challenge | Difficulty: Trivial | OS: NA | Author: XESXOR | Date: 2026-03-09 | Status: Solved Techniques: source_code_analysis, string_comparison_bounds

Summary

Language: C. Source code provided. Flag checker with length and string comparison bounds.

Mic Check Two — Reverse Kids 2.0

Description

Language: C. Source code provided. Flag checker with length and string comparison bounds.

Analysis

The source code checks:

  1. strlen(input) != 12 — length must be 12
  2. strcmp(input, "MicCheck_h4w") <= 0 — string must be > "MicCheck_h4w"
  3. strcmp(input, "MicCheck_h4y") >= 0 — string must be < "MicCheck_h4y"

Solution

Need a 12-character string, lexicographically between "MicCheck_h4w" and "MicCheck_h4y". The obvious answer is REDACTED. ‍​‌‌​​‌​​​‌‌​​‌​​​​‌‌​‌​​​​‌‌‌​​‌​​‌‌​​​‌​​‌‌‌​​​​​‌‌​‌‌​​​‌‌​​​​‍