Reputation: 123
Is it possible to get value of hard coded NSString from app on jailbroken device(with reverse engineering for example):
NSString *mySecretString = [NSString stringWithFormat:@"stringValue"];
Can someone get value "stringValue"?
Upvotes: 0
Views: 165
Reputation:
Use the 'strings' utility from binutils on the app binary. http://sourceware.org/binutils/docs-2.18/binutils/strings.html
Example:
root@jailbroken-iPhone:~# strings HelloWorld
Hello, World!
root@jailbroken-iPhone:~# _
Upvotes: 2