워게임/picoCTF

[picoCTF] Binary Search

hy25u 2024. 11. 16. 14:43

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:

  • challenge.zip

ssh -p 53312 ctf-player@atlas.picoctf.net

Using the password 83dcefb7. Accept the fingerprint with yes, and ls once connected to begin. Remember, in a shell, passwords are hidden!

 

1000개 중에서 10번 골라서 맞는 수를 찾아야 함

Solution

2로 나눠 가면서 찾으면... 됩니다.

flag : picoCTF{g00d_gu355_ee8225d0}

'워게임 > picoCTF' 카테고리의 다른 글

[picoCTF] Scan Surprise  (1) 2024.11.16
[picoCTF] Verify _ sha256, 체크섬  (0) 2024.11.16