Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … more

Double Tap to Wake on the Nexus 6 Without Root

A few weeks ago, we featured an app which allowed the Nexus 6 to regain the double tap to wake … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Windows 8 file coding

OP iamthecoder

5th March 2014, 06:29 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Mar 2014
I was looking through some files and i found alot of files that had coding like this :nLe=5{i!b5n)~
Z
cY*pa%R "+qh)Zmx)8`͚e*PDڱ#jMZ1}(e4* f[9Ac
K6lZs^N-B~6 ̉hxQ6,mF,Fo㢋EƍlSٿDR:T ZKFl/q
s1xӚs! <:} @v+_Oɞdb#
/EJ$2*ބRb|W][П6hIFNBJ]t!p 2aS ;-N(Hu' us#
ywĕ


Could someone help me with this!

FIle address

C:\Users\dasd\AppData\Local\Packages\GluGamesInc.S amuraivsZombiesDefense_2mkdfttccc4r6\LocalState

There is a file there called localsave_offline_Save.data it aroused my attention so i looked through it and im no wizard at decoding so help please!
5th March 2014, 06:57 PM   |  #2  
Senior Member
Thanks Meter: 325
 
1,620 posts
Join Date:Joined: Dec 2012
That is because the file is not stored as plain text and is raw binary data. Notepad then attempts to try to load it as plain text and as you can see fails miserably to make anything of it.
5th March 2014, 07:44 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Mar 2014
Quote:
Originally Posted by SixSixSevenSeven

That is because the file is not stored as plain text and is raw binary data. Notepad then attempts to try to load it as plain text and as you can see fails miserably to make anything of it.

Then how could i turn it into plain text
5th March 2014, 08:07 PM   |  #4  
Senior Member
Thanks Meter: 325
 
1,620 posts
Join Date:Joined: Dec 2012
Realistically you can't so I suggest learning how to play the game properly rather than editing your save state :P
The Following User Says Thank You to SixSixSevenSeven For This Useful Post: [ View ]
5th March 2014, 08:15 PM   |  #5  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Mar 2014
Quote:
Originally Posted by SixSixSevenSeven

Realistically you can't so I suggest learning how to play the game properly rather than editing your save state :P

Eh im done with the game was just wondering thanks for the help though would've wasted unnecessary time
5th March 2014, 09:18 PM   |  #6  
Recognized Developer
Flag Seattle
Thanks Meter: 2,782
 
5,862 posts
Join Date:Joined: Jan 2011
More
Yeah... the file could be anything from a binary representation of in-memory data structures to encrypted plain text. Without decompiling the app, I probably couldn't tell you which. Totally not worth the effort.
8th March 2014, 02:20 AM   |  #7  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Mar 2014
RE:
Quote:
Originally Posted by GoodDayToDie

Yeah... the file could be anything from a binary representation of in-memory data structures to encrypted plain text. Without decompiling the app, I probably couldn't tell you which. Totally not worth the effort.

How would one decompile the app?

Also if it was encrypted plain text how could i decrypt this .

P.s
Im using word pad if it makes any difference here it is in notepad : ꊤ넘阞溧䰎早뮘錽楻뼡㕢⥮纖嫰ċ掸鱙Ǻ⫌慰勁*⯓熩罨飿駮娩淎磰⦌怸髍攑傠Ʉ�⎱䵪銈鹚僧⡽旱 퐴骭�훕学㦏襁੣腋氶媏玮亢蔭쑂縎캞쏤餶ޮ觌棐쭸鱗ⰶ�䘔Ⲋ䛈᫬๯订䖙욹跆匎뿙剄吺䭚汆 ꟴᥱ猋ᄆ砱Ⴝ髓珃頡閈߄㨼紁䀇盓ꎘ휫쥏靤⍢菹ጋ䔯ⓣໄ뤞렲욲�鲄劁�쿯坼嶒謕嬚퀓㚟棐銉뭉뵿 ﵆亚䋖嵊璏�ﰝ骟褡팔쉰㈠憒ᇥꉓ㬉ⶴ亏鈨䣅疺➧輠痥ꌛ猈뀄⎷ଜ쮕꛷秒遷闄骘ஂ�歿ᙊᱲ֪柗錥햑愙╨ꉜ鬀 폿벹휵ኩ뾳閥巵숹争퍨逞ꬡ滱ⴡꎣᆵ㉭छ홐曩䝅ꖁ淴疊苧ᾼ겒溂ꬳ켥ꄕ妕傮ⅼ䪙汵ᙜ�螑䓥坙뛋䟹䷭蘰 ꟝윾텩뵼㊵⎦⦙椏Ჷꝱ癫୦◴桨�﨏裇鲕ﯬ빍�䌎歹ꍂ歆濌꼂㵢ᙳ㇆䙩敇트�簲䜅ࡦ穚շ浑냗彌㩎㼷鏉׆䳰綔 ᚝䠡ᄓ콊肨֍碱啷�㥯ܩ栭牄׏઻Ȅ咢䪏马킀၌㗂⬃뻝週ᬓ倱㋲㭀ᆱ�㏰շ↚䴊濭൳鳛襉꜌덺铸㡯ᵑ 쭷肳牨쁠鵡⏼鿈䭚咔綜眕Ꮮ萿࿢躄ɬ隲윃㵔ᘭ琢ꙝ炙놕뜥묞⬴힒৖ओᦑㄦߊ䜈䗐⚬쥝묕蝪旭愔薻필 勞�萯貿Ȍퟡ慩ꆟ瑠꽴瓼�菙뿮㱶즓馁៛৺娿糗讬睢峿剟w쓘鬐轻㞱齹糗ꞩ쩪勯淒䃴木ᚿ楨봴ꁜ쎋恮 䧑◴毝佻雑ⵋⴙ鄅㯨ﴣ察閸必狴醷㕁�隸ᷙഌ쮨竕ᛲᦥ왽充疒咔塐�鏀叁።渵끴쀡뢦蝬뵬䜜Ხᴐ ᶻ

The file is attached incase you can decrypt if it is plain text
Attached Files
File Type: txt localsave_offline_save.txt - [Click for QR Code] (3.4 KB, 2 views)
8th March 2014, 11:33 AM   |  #8  
Senior Member
Thanks Meter: 325
 
1,620 posts
Join Date:Joined: Dec 2012
It is not necessarily a straight forward process.
Decompiling the app can be a hit and miss procedure, not really legal either. You would have to attempt to fully reverse engineer the file format from what may be partially broken code and then write your own code in order to load and edit the files.

Not a process which can be done by a newcomer in under half an hour (or insert any other time period), or one that you can easily write a straight up tutorial for.


If it was encrypted plaintext (unlikely) not raw binary structures (very very common), the point of encrypting it is that a person cant decrypt it. There are numerous encryption methods available and they could have used any one. Brute forcing encryption can be very very slow with times to decode ranging from minutes to months, and not knowing what encryption method is used your probably looking at years as you try each method separately. Again, not really something a tutorial can be done for, Cryptography is a fine art, reverse engineering encryption is perhaps the finest part of Cryptography, its an experts field.
8th March 2014, 12:10 PM   |  #9  
Recognized Developer
Flag Seattle
Thanks Meter: 2,782
 
5,862 posts
Join Date:Joined: Jan 2011
More
Eh... depending on the encryption used, and the way the app is compiled, it may be easy to reverse. You'd be amazed how many apps (mobile or otherwise) use something stupid like AES-ECB with a hardcoded key of something like MD5("THESECRETKEY"), or even just XORing with a constant string. That said, Microsoft does make it easy to do better than that, with their incredibly-simple-to-use-but-hard-to-reverse Data Protection API for apps.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes