SoulCraft 2 Online (*.XML)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

SoulCraft 2 Online (*.XML)

Post by Ekey »

Simple decryptor for XML files from Android version :)

Code: Select all

# SoulCraft 2 Online (Android) (XML format) Decryptor
#
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

idstring "ENCRYPTION:"
get VERSION long
savepos OFFSET
get SIZE asize
math SIZE -= 15

if VERSION == 0
   encryption 3des "\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18" "\xDD\x40\xE7\x80\x52\xBE\x78\x0F"
elif VERSION == 1
   encryption 3des "\xBD\x1A\x6C\x7A\x0B\xBD\x84\x72\xF9\xBD\x5B\x44\xBF\xB7\x03\x1D\xC0\xC6\xF7\xED\x0D\x9D\x70\x97" "\xDD\x40\xE7\x80\x52\xBE\x78\x0F"
else
   print "Unknown VERSION > %VERSION%"
   cleanExit
endif

get NAME basename
string NAME += "_dec.xml"
log NAME OFFSET SIZE