Skip to content

Instantly share code, notes, and snippets.

View 0x00000FF's full-sized avatar
🛰️
Si vis pacem, para bellum

Kangjun Heo 0x00000FF

🛰️
Si vis pacem, para bellum
View GitHub Profile
@7kfpun
7kfpun / gist:a8d1326db44aa7857660
Created June 25, 2015 10:09
Remove the X-Requested-With header from ajax requests
http://stackoverflow.com/questions/3372962/can-i-remove-the-x-requested-with-header-from-ajax-requests
jQuery.ajax({
url: yourAjaxUrl,
// 'xhr' option overrides jQuery's default
// factory for the XMLHttpRequest object.
// Use either in global settings or individual call as shown here.
xhr: function() {
@MattPD
MattPD / cpp.std.coroutines.draft.md
Last active November 10, 2024 20:11
C++ links: Coroutines (WIP draft)
@bazad
bazad / find_kernel_base_checkra1n.c
Created November 21, 2019 02:46
A demo of one way to find the kernel base on iOS 13.2.2 on an iPhone 8 using the kernel task port as exposed by checkra1n 0.9.5.
#include <assert.h>
#include <mach/mach.h>
#include <stdbool.h>
#include <stdio.h>
// ---- mach_vm.h ---------------------------------------------------------------------------------
extern
kern_return_t mach_vm_read_overwrite
(