Game 12
Challenge: Reverse engineering a Flash SWF file
Step 1: Scan QR Code
Access the admin panel at http://suninatas.com/admin/ and scan the QR code.
QR Data:
MECARD:N:;TEL:;EMAIL:;NOTE:;URL:http://suninatas.com/admin/admlogin.asp;ADR:;Step 2: Download SWF File
Navigate to the URL in the QR code and find the Flash embed:
<embed src="admlogin.swf">Download the SWF file.
Step 3: Identify File
file admlogin.swfOutput: Macromedia Flash data (compressed), version 8
Step 4: Decompile with FFDec
Install FFDec (Free Flash Decompiler):
paru -Ss ffdec# aur/ffdec 25.0.0-2 - Open Source Flash SWF decompiler and editorImport the SWF file into FFDec and search for authentication logic.
Decompiled Code
on(release){ function receipt() { if(flashid != "admin" or flashpw != "myadmin!@") { flashmessage = "Wrong ID or PW"; play(); } else { flashmessage = "Auth : Today is a Good day~~~"; play(); } } receipt();}Credentials:
- ID:
admin - Password:
myadmin!@
Today is a Good day~~~