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
macro_expand> gcc source.c -E > result.c |
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
// | |
// NSIvarOffset.h | |
// whatshook | |
// | |
// Created by minisj.net on 2020/11/17. | |
// | |
NS_ASSUME_NONNULL_BEGIN | |
@interface Objc : NSObject |
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
#include <iostream> | |
#include <vector> | |
#include <functional> | |
class WorkingClass { | |
public: | |
typedef const std::function<void (int)> handler_t; | |
void AddHandler(handler_t& h) { | |
handlerList.push_back(&h); | |
} |
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
/* | |
How to set cookieAcceptPolicy for ephemeral NSURLSession https://stackoverflow.com/questions/27290234/how-to-set-cookieacceptpolicy-for-ephemeral-nsurlsession | |
Multiple NSHTTPCookieStorage in the same app https://stackoverflow.com/questions/27132606/multiple-nshttpcookiestorage-in-the-same-app | |
NSHTTPCookieStorage for same URL but different users https://stackoverflow.com/questions/37597250/nshttpcookiestorage-for-same-url-but-different-users | |
*/ | |
@interface NSHTTPCookieStorage (applePrivateHeader) | |
-(id)_initWithIdentifier:(id)arg1 private:(BOOL)arg2; | |
@end |
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
#!/usr/bin/python | |
#coding:utf-8 | |
import lldb | |
import commands | |
import optparse | |
import shlex | |
def get_ASLR(debugger): |
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
App transport security settings | |
Allow arbitrary loads ==> YES |
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
test |