This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from objc_util import * | |
from inspect import getargspec | |
c.method_setImplementation.restype = c_void_p | |
c.method_setImplementation.argtypes = [c_void_p, c_void_p] | |
c.method_getImplementation.restype = c_void_p | |
c.method_getImplementation.argtypes = [c_void_p] | |
''' Make `swizzledFunc` run instead of `method` ''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import sys | |
import os | |
from UIKit import * | |
sys.path.append(os.path.expanduser('~/Documents/site-packages/Pydia/Pydia Supporting Files/')) | |
import Pydia_Sources | |
import Pydia_Package |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from objc_util import * | |
from UIKit import * | |
from Foundation import * | |
def __setup(): | |
global __show_touches_setup_complete | |
try: | |
return __show_touches_setup_complete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from objc_util import * | |
from Foundation import NSBundle | |
NSBundle.bundleWithPath_('/System/Library/Frameworks/ReplayKit.framework').load() | |
RPScreenRecorder = ObjCClass('RPScreenRecorder') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from objc_util import * | |
import time | |
def authenticate(reason = ' '): | |
ObjCClass('NSBundle').bundleWithPath_('/System/Library/Frameworks/LocalAuthentication.framework').load() | |
context = ObjCClass('LAContext').alloc().init() | |
global result | |
result = None |