Sunday, 15 March 2015

ios - Modifying Binary Save Game Data (iPhone) -



ios - Modifying Binary Save Game Data (iPhone) -

just fun, i'm trying hack saved game info ghostbusters iphone app (appstore link).

the next sites describe replacing documents/save.dat pre-hacked version:

http://www.iapphacks.com/ios-free-hacks-f3/ghostbusters-v1-0-1-t8597.html http://mobilegamingsquad.wordpress.com/2013/01/24/ghostbusters-hack/

however, want modify info myself. using hex-editor on save.dat revealed next dead-ends:

i not find value amount of money in combination of following: (little endian, big endian), (unsigned, signed), (integer, float), (4, 6, 8, 16 byte value), (1 through 15 byte offsets) any little alter (ie: item purchase) seems rewrite , alter info file. a quick scan of file in ascii reveals no text clues format of file. add: in fact, ascii strings within file seem random. the linux command file identified file data. new compressing file enlarges it, file compressed or encrypted. new i'm neither jailbroken nor ios developer, not have access app's internal memory.

how might file encoded? suggestions on how might modify manually?

i have done similar fun of it. in case, file compressed , contained hash signature salt value generated game executable. in case, used gdb, set breakpoints on hash functions , inspected arguments. not sure how 1 go debugging iphone application, suspect not possible unless jailbreak device, stuck trying analyze files.

start downloading hexfield (or similar tool), great type of work. seek find pattern based on little changes (try hard alter little possible, , create sure kill game after changing something). if lucky, scores, money , whatnot obfuscated.

if not see pattern in file start investigating known compressions such gzip (without header), deflate, lzma, etc (start looking @ symbol table , utilize class-dump on game binary ideas). since file command gave nothing, assume file not gzipped.

failing that, may start suspect file encrypted (again, @ symbol table). way determine if file compressed or encrypted seek compress it. if no algo able compress further, file either compressed or encrypted.

happy hacking! :)

ios iphone binaryfiles

No comments:

Post a Comment