jailbreak

How to protect the iOS application in case of any OS attack(On jail broken devices)

丶灬走出姿态 提交于 2019-12-04 12:34:26
I would like to protect my application data in case of any OS attack or unauthorized access on jail broken iOS devices. Is there any way to detect such threats and protect app data in such cases. Vin Although I agree with what jrturton has said, if you have critical data that you want to protect from rogue apps(not the user), you may try the following: 1) Detect if your app has launced on a jailbroken device. Close the app, delete sensitive data. Refer this this thread. 2)Use third party solutions like one from EnsureIT . They are somewhat helpful in saving critical data stored by an app, from

How to create kiosk-mode iPhone app?

夙愿已清 提交于 2019-12-04 12:08:53
I'd like to run an app in the KIOSK mode, so that it auto-starts after starting the device re-starts after app crash/power loss/etc. Any ideas how to do this on a [probably jailbroken?] iPhone? The easiest method would be to create a mobilesubstrate extension that runs inside SpringBoard and throws up its own UIWindow . Create a static __attribute__((constructor)) function and inside register for UIApplicationDidFinishLaunchingNotification . After receiving the notification, 99% of the standard iPhone SDK will work as-is. It will have to be jailbroken because the standard OS won't give you

scheduleLocalNotification doesn't work for jailbreak apps?

前提是你 提交于 2019-12-04 11:43:56
I have an app that calls scheduleLocalNotification , but it doesn't work when I install it to /Applications instead of /var/mobile/Applications : - (void) doNotify { // this doesn't work when app is in /Applications but does in /var/mobile/Applications UILocalNotification * theNotification = [[UILocalNotification alloc] init]; theNotification.alertBody = @"Finished processing."; theNotification.alertAction = @"Ok"; theNotification.fireDate = [NSDate dateWithTimeIntervalSinceNow:1]; [[UIApplication sharedApplication] scheduleLocalNotification:theNotification]; NSLog(@"notification scheduled: %@

iphone sqlite static linking?

岁酱吖の 提交于 2019-12-04 10:13:53
Anyone out there statically linking sqlite (as opposed to using the dynamic linking)? I am having issues with users with jailbroken phones not having the same version of sqlite that the stock iPhone assumes (and hence causing crashes). I'm assuming that staticly linking a known version of sqlite in my app is the answer... I needed to have Full Text support (with FTS3 module) All I did was grab the Sqlite Amalgamation from here: http://www.sqlite.org/amalgamation.html and dropped the .h and .c into my project and it works. Stephen Darlington Have you found the exact source of the crash? Are you

iOS Daemon app will not start (Jailbreak) - how to debug?

三世轮回 提交于 2019-12-04 09:39:57
问题 I'm building a daemon app for a jailbroken iPhone and followed the guidelines as described in several questions and answers here on stackoverflow and ofcourse Chris Alvares' webpage at http://chrisalvares.com/blog/38/creating-an-iphone-daemon-part-4/ Xcode and the project are patched by Jailcoder to make it run on my device. One of the posts on here stated that nowadays it is no longer needed to use the open toolchain template. Uploading the app to the /Applications dir and adding a plist

Deploying iOS apps to /Applications from XCode via build phase script? (Jailbroken)

﹥>﹥吖頭↗ 提交于 2019-12-04 07:24:36
I'm developing a Cydia app. It's been in development for awhile, and I've never had any problems until recently, when I resumed development after a few months. There are a couple of things that have changed since the last time I worked on it: Upgraded to Lion Moved to Xcode 4 Updated to 4.3.5 on my iPad, iPhone to 5.0 From the research I've done, I've come to the conclusion that there was something "unusual" about my old setup. I've discovered that provisioned apps get put in the "sandboxed directory" /private/var/mobile/Applications , and system apps that get read access to the entire

How to class-dump AppStore app

只谈情不闲聊 提交于 2019-12-04 06:58:27
I installed "Class Dump" from Cydia to get application header files. But there is a problem. I can use class-dump in default app. For example, I ran this command: class-dump -H /Applications/MobileSafari.app/MobileSafari -o /Headers/safari and could get header files in "/Headers/safari/". But AppStore app, for example, I ran this command: class-dump -H /var/mobile/Applications/BFF...../Dropbox.app/Dropbox -o /Headers/dropbox and terminal works, but garbled characters appeared ( ScreenShot ) and then terminal crashed. How can I get AppStore app header files? All AppStore apps are encrypted. In

Capture iPhone Screen From My App and record Video

纵饮孤独 提交于 2019-12-04 06:14:28
问题 I am just curious to create an app which records video of iphone screen or capture images of iphone screen. I know that Apple doesn't allow such kinds of apps on the app store and I have no intention of doing that. I can upload my app on Cydia if I want, but my current objective is just to develop an app with the capabilities of capturing video of the iphone scree n or taking screen shot of device. Let's say that I am playing a game and I want to record it so I can show my friend how well I

Building for Jailbroken devices on iOS SDK 4.2

女生的网名这么多〃 提交于 2019-12-04 05:57:50
问题 I have an app I distribute over Cydia. It's nothing hacky, just a GUI to connect to a web API. The last time I submitted an update was before SDK 4.0, I used the instructions available here to build it from Xcode without signing and, used ldid on OSX terminal to sign it. Everything worked just fine. Now when I'm building using the 4.2 SDK exactly like I used to do, the no-codesigning (and ldid ) still works, and I can run it on a 4.2 device, but the app won't run on a 3.1.3 Device (just shows

How to get the log from system();?

孤街醉人 提交于 2019-12-04 05:27:37
问题 is there a way to get the log from system(); so like when I do system("open com.apple.nike"); I should get Couldn't open application: com.apple.nike. Reason: 8, application disabled or restricted . This will run on my iOs 7 Device Thanks EDIT:// This is the new code, but it wont work, I'll get *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible' *** First throw call stack: NSString *bundleID = @"com.apple.nike"; NSTask *task = [