Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,580 Members 40,746 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Windows 8 file coding

Tip us?
 
iamthecoder
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Mar 2014
Question [Q] Windows 8 file coding

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!
 
SixSixSevenSeven
Old
#2  
Senior Member
Thanks Meter 323
Posts: 1,620
Join Date: 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.
 
iamthecoder
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Mar 2014
Quote:
Originally Posted by SixSixSevenSeven View Post
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
 
SixSixSevenSeven
Old
#4  
Senior Member
Thanks Meter 323
Posts: 1,620
Join Date: 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: [ Click to Expand ]
 
iamthecoder
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Mar 2014
Quote:
Originally Posted by SixSixSevenSeven View Post
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
 
GoodDayToDie
Old
#6  
Recognized Developer
Thanks Meter 2641
Posts: 5,529
Join Date: Jan 2011
Location: Seattle
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.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
 
iamthecoder
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Mar 2014
Default RE:

Quote:
Originally Posted by GoodDayToDie View Post
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, 0 views)
 
SixSixSevenSeven
Old
#8  
Senior Member
Thanks Meter 323
Posts: 1,620
Join Date: 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.
 
GoodDayToDie
Old
#9  
Recognized Developer
Thanks Meter 2641
Posts: 5,529
Join Date: Jan 2011
Location: Seattle
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.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more