Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %hook MainViewController
- -(bool)checkJailBreak {
- return 0;
- }
- %end
- %hook BTWCGXMLParser
- -(id)checkRooting:(id)arg1 {
- return @"0123456"; // @"0"; or @"0123456";
- }
- -(id)checkRootingWithRCL:(id)arg1 {
- return @"0";
- }
- -(id)getEncRootingResult:(id)arg1 {
- return 0;
- }
- -(bool)isJailBroken {
- return 0;
- }
- -(id)runningProcesses {
- return 0;
- }
- %end
- %hook Codeguard
- +(bool)isJailBroken {
- return 0;
- }
- +(id)checkRooting {
- return @"0123456"; // @"0"; or @"0123456";
- }
- -(bool)rootingCheck {
- return 0;
- }
- -(void)setRootingCheck:(bool)arg2 {
- // *(int8_t *)(int64_t *)&self->_rootingCheck = arg2;
- return;
- }
- -(void)setRootingInfo:(id)arg2 {
- // objc_setProperty(self, _cmd, sign_extend_64(*(int32_t *)ivar_offset(_rootingInfo)), arg2, 0x0, 0x0);
- return;
- }
- -(id)rootingInfo {
- return r0;
- }
- -(bool)isBloking {
- return 0;
- }
- %end
- %hook KSFileUtil
- +(int)checkJailBreak {
- return 0;
- }
- +(void)fileWriteToDocumentWithName:(id)arg1 contents:(char *)arg2 length:(int)arg3 {
- return;
- }
- +(bool)accessToSpecificDirectory:(id)arg1 {
- return 0;
- }
- %end
- %hook I3GDeviceInfo
- +(id)getJailbreakInfo {
- return @"NO";
- }
- %end
- %hook BTWCodeGuardManager
- -(bool)rootingCheck {
- // r0 = *(int8_t *)(int64_t *)&self->_rootingCheck;
- return 0;
- }
- -(void)setRootingCheck:(bool)arg2 {
- // *(int8_t *)(int64_t *)&self->_rootingCheck = arg2;
- return;
- }
- -(id)rootingInfo {
- // r0 = self->_rootingInfo;
- return 0;
- }
- -(void)setRootingInfo:(id)arg2 {
- objc_setProperty(self, _cmd, sign_extend_64(*(int32_t *)ivar_offset(_rootingInfo)), arg2, 0x0, 0x0);
- return;
- }
- -(id)jbCheckArray {
- // r0 = self->_jbCheckArray;
- return 0;
- }
- -(void)setJbCheckArray:(id)arg2 {
- // objc_setProperty(self, _cmd, sign_extend_64(*(int32_t *)ivar_offset(_jbCheckArray)), arg2, 0x0, 0x0);
- return;
- }
- %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement