- Small Sample
import UIKit
class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
I faced this issue with the following environment: | |
iPhoneX iOS 16.5.1, palera1n rootless jb, ellekit 1.0 |
- (void)sendPOSTRequestWithURL:(NSURL *)url parameters:(NSDictionary *)parameters completionHandler:(void (^)(NSData *, NSURLResponse *, NSError *))completionHandler { | |
// Create a mutable URL request | |
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url]; | |
// Set the request method to POST | |
[request setHTTPMethod:@"POST"]; | |
// Set the request body with the parameters | |
NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil]; | |
[request setHTTPBody:postData]; |
* Note that NOT ALL tweaks will work with the conversion process and some might only partially work.
.zip
file. Extract it, and you'll have the binary file.xattr -sc Allemand && chmod +x Allemand
This will make it an executable file.
-(void)presentFBShare{ | |
// Create an object | |
id<FBGraphObject> object = | |
[FBGraphObject openGraphObjectForPostWithType:@"thebumapp:share" | |
title:@"a bum" | |
image:Nil | |
url:@"http://www.facebook.com/TheBumApp" | |
description:Nil]; | |
// Create an action |
void KTouchPointerWindowInstall(); | |
void KTouchPointerWindowUninstall(); | |
static BOOL installed; | |
void KTouchPointerWindowInstall() | |
{ | |
if (!installed) { | |
installed = YES; | |
Class _class = [UIWindow class]; |
#include "keylogger.h" | |
int main(int argc, const char *argv[]) { | |
// Create an event tap to retrieve keypresses. | |
CGEventMask eventMask = (CGEventMaskBit(kCGEventKeyDown) | CGEventMaskBit(kCGEventFlagsChanged)); | |
CFMachPortRef eventTap = CGEventTapCreate( | |
kCGSessionEventTap, kCGHeadInsertEventTap, 0, eventMask, CGEventCallback, NULL | |
); | |
// Exit the program if unable to create the event tap. |
#include <math.h> | |
%hook SBAwayController | |
@interface UIApplication () | |
- (id)_accessibilityRunningApplications; | |
@end | |
@interface SBStatusBarDataManager | |
+ (id)sharedDataManager; |
#import <substrate.h> | |
#import <UIKit/UIKit.h> | |
#import <Foundation/Foundation.h> | |
%hook SBIconView | |
// Hooking an instance method with an argument. | |
- (void)setIsJittering:(BOOL)jittering { | |
[self setAlpha:(jittering ? 0.5 : 1.0)]; | |
} | |
%end |
@interface SBAppLayout : NSObject | |
@end | |
@interface SBFluidSwitcherItemContainer: UIView | |
@end | |
@interface SBFluidSwitcherViewController: UIViewController | |
@property (readonly, nonatomic) NSArray *appLayouts; | |
- (id)_itemContainerForAppLayoutIfExists:(id)arg0; | |
- (void)killContainer:(id)arg0 forReason:(NSInteger)arg1; |