sat2eesh / ios-jailbroken Goto Github PK
View Code? Open in Web Editor NEWDetect if a device is jailbroken and also detect if an app is cracked on a non jailbrkoen device.
Detect if a device is jailbroken and also detect if an app is cracked on a non jailbrkoen device.
hi,
Because of checking for SC_info file the app got crashed in the review process.
please let me know wether to appeal to apple or comment the line.
Doesn't work to detect xCon based jailbroken device.
In JBroken.m, this check:
if([appPathNameModifiedDate timeIntervalSinceReferenceDate] > [pkgInfoModifiedDate timeIntervalSinceReferenceDate]) {
usually fails when running the app locally from Xcode 5.1.1 onto a physical device (iPad Air), as the times are different by a few or several seconds.
I wonder if a better test might be checking for a difference of more than several seconds, like this:
if( abs ([appPathNameModifiedDate timeIntervalSinceReferenceDate] - [pkgInfoModifiedDate timeIntervalSinceReferenceDate]) > 20 ) {
These checks are futile if the user has installed a tweak with the following source code (Using CydiaSubstrate)
MSHook(BOOL, isDeviceJailbroken) { return NO; }
MSHook(BOOL, isAppStoreVersion) { return YES; }
MSHook(BOOL, isAppCracked) { return NO; }
%ctor {
MSHookFunction(isDeviceJailbroken, MSHake(isDeviceJailbroken));
MSHookFunction(isAppStoreVersion, MSHake(isAppStoreVersion));
MSHookFunction(isDeviceJailbroken, MSHake(isAppCracked));
}
//
// JBroken.h
//
// Created by Sathish Venkatisan on 12/10/13.
//
float firmwareVersion();
BOOL isDeviceJailbroken();
BOOL isAppCracked();
BOOL isAppStoreVersion();
Could you please add license for this open-source?
Thank you!
This codes reports the device jailbroken even if it's not, but was restored from a jb backup... (the directories are there)
As these are checking for files paths outside of the app sandbox, do apps that use this library get approved from the App store approval process.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.