Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Moshi Monsters PNG'd XML

Featured Replies

  • Author
  • Localization

oddMLan, posted Sat Aug 20, 2016 3:28 am (16675)


Hi, Mind Candy (the makers behind the online game "Moshi Monsters") obfuscate/encrypt some of their assets by converting plaintext such as XML to bitmaps. Yeah, sounds a bit unusual.

Here's an example of a file that's encoded
http://c.mmcdn.net/game/season.2.7.1/1. ... _convo.xml
You can right click this link and "Save as" and rename the extention to PNG. It should look like this:
Image

Decompiling their flash game I stumbled upon the decryption algorithm (attached). Looks really intriguing. But, it's ActionScript, I suppose since it's so similar to EcmaScript it could be translated to that OR, I don't know if it could be something that could be programmed in QuickBMS. Either way, doesn't look like a trivial task to do.

Opinions? Some advice would be really appreciated. I did try to understand the algorithm a bit, looks complex to me with byteshifts and AND operators, bitmap rotations, etc. help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/operators.html
  • Author
  • Localization

aluigi, posted Sun Aug 21, 2016 2:42 pm (16725)


Linked the topic also in the graphics section to give it more visibility.
  • Author
  • Localization

dniel888, posted Sat Sep 03, 2016 11:43 am (17193)


the decrypted data is in a spiral (made of pixels) starting at the center and then goes clockwise or anticlockwise, the pixel at the center holds the data for determining the byte order of the data in the pixels (RGB, BGR, etc) and the direction of the spiral (clockwise or anticlockwise) .

the decryption process needs to read the pixels, then read the pixel at the center, and after reading the spiral's direction and byte order - loop on the remaining pixels in a spiral from the center.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.