XYCTF2025 ez_puzzle writeup

128 Views
No Comments

A total of 257 characters, expected to take 1 minutes to complete reading.

Title

XYCTF2025 ez_puzzle writeup

Can you finish the puzzle in two seconds?

Download address: Click to download

I climbed the whole site down.

Ideas

This website uses JS All keys are blocked, but you may be able to bring up the debug console without a shortcut key:

XYCTF2025 ez_puzzle writeup

XYCTF2025 ez_puzzle writeup

A total of two js scripts, the first is used to prohibit keystrokes, then our flag It's definitely in the next script. This js deals with how the puzzle works, and there must be Complete detection function . We just need to modify this function and let it pass and it will definitely return flag.

XYCTF2025 ez_puzzle writeup

XYCTF2025 ez_puzzle writeup

Find the completed function here, and then find F3KH_ This function, the for loop, obviously detects whether all puzzles are complete and returns 0 or 1. It meets the characteristics of the function we are looking:

XYCTF2025 ez_puzzle writeup

Return this function directly 0x1 On the line:

XYCTF2025 ez_puzzle writeup

END
 0
Comment(No Comments)
验证码
en_USEnglish