buu different flag

1. Check the shell
Insert picture description here
2. Drag into ida, analyze
Insert picture description here
Insert picture description here
the code from here and lines 51 to 53, and basically judge that this is a maze problem and a maze with 5 rows and 5 columns. I felt that a strange place was the
Insert picture description here
first one. I wanted to understand that it might be of type int. The number occupies 4 bytes. The
second loop here should be the number is not large enough. The second one, minus 41, this I do n’t understand the block, and after reading the compilation, I finally understood that the address of v8 and the address of the entrance of the maze are just 41.

three.
Insert picture description here
Flag {222441144222}

161 original articles published · Liked 14 · Visitors 7617

Guess you like

Origin blog.csdn.net/YenKoc/article/details/105194010