← Back to Writeups
CUSTOMEasyReversing

Mic Check Four

XESXOR9/10/20261 min read
#reversing#custom#easy#ascii_value_calculation#source_code_analysis

Mic Check Four

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

Summary

Language: C. Source code provided. Flag checker with length/ASCII and string prefix/suffix checks.

Mic Check Four — Reverse Kids 2.0

Description

Language: C. Source code provided. Flag checker with length/ASCII and string prefix/suffix checks.

Analysis

Constraints:

  1. strlen(input) * 4 == get_char_code_at_position(input, 1) — length × 4 = ASCII of first character
  2. strncmp(input, "4_points", 8) — starts with "4_points"
  3. strcmp(&input[8], "komne") == 0 — after the 8th character comes "komne"

Solution

  • String = "4_points" + "komne" = "REDACTED"
  • Length = 13, 13 × 4 = 52 = ASCII('4') ✓ ‍​‌‌​​‌​​​‌‌​​‌​​​​‌‌​‌​​​​‌‌‌​​‌​​‌‌​​​‌​​‌‌‌​​​​​‌‌​‌‌​​​‌‌​​​​‍