Binary Search

Xavier Jimenez | Dec 18, 2024 min read

Description

Want to play a game? As you use more of the shell, you might be interested in how they work! Binary search is a classic algorithm used to quickly find an item in a sorted list. Can you find the flag? You’ll have 1000 possibilities and only 10 guesses. Cyber security often has a huge amount of data to look through - from logs, vulnerability reports, and forensics. Practicing the fundamentals manually might help you in the future when you have to write your own tools! You can download the challenge files here:

Additional details will be available after launching your challenge instance.

Steps Taken

  1. ssh into machine
  2. guess numbers by multiplying or dividing by 2 depending on the response
  3. Flag: picoCTF{g00d_gu355_ee8225d0}