Just a file and a flashenc.swf
:
Please goto http://reversing.kr/challenge.php to download.
First let's try to play this flash file.
- Create a html file at the folder where
flashenc.swf
locates with the following content:
<object>
<embed src="flashenc.swf" width="100%" height="100%"></embed>
</object>
Now use ffdec to decompile.
Don't forget to check Automatic deobfuscation
-
We can see that
object 4
andobject 6
are added inframe 1
whileobject 4
just is a button so we can go to see the corresponding script. -
We can see
spw == 1456
. So just input1456
and click button. -
The next frame is
frame 3
and we can seeobject 9
are added. -
Go to see the corresponding script and find the pass text.
This challenge is simple. The pass texts are:
-
1456
-
25
-
44
-
8
-
88
-
20546
Finally you will see the flag.