Skip to content

Instantly share code, notes, and snippets.

View ant4g0nist's full-sized avatar
🐳

Chaitanya ant4g0nist

🐳
View GitHub Profile
@ant4g0nist
ant4g0nist / Hypervisor.rs
Last active August 3, 2021 13:49
Apple Silicon Hypervisor.framework ffi
/* automatically generated by rust-bindgen 0.56.0 */
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
pub const __WORDSIZE: u32 = 64;
pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1;
pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
pub const __DARWIN_ONLY_VERS_1050: u32 = 1;
pub const __DARWIN_UNIX03: u32 = 1;
@ant4g0nist
ant4g0nist / zdiSearch.py
Last active October 14, 2021 11:45
ZDI Search
#!/usr/bin/env python3
import re
import sys
import json
import argparse
import requests
from bs4 import BeautifulSoup
# requirements: pip3 install requests bs4 --user
#
@ant4g0nist
ant4g0nist / sepsplit.c
Created December 13, 2019 02:24 — forked from xerub/sepsplit.c
/*
* SEP firmware split tool
*
* Copyright (c) 2017 xerub
*/
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
--- dyld-210.2.3/launch-cache/dsc_extractor.cpp 2012-05-21 02:35:15.000000000 -0400
+++ dyld-210.2.3/launch-cache/dsc_extractor.cpp 2013-07-26 16:05:03.000000000 -0400
@@ -37,6 +37,7 @@
#include <mach-o/arch.h>
#include <mach-o/loader.h>
#include <Availability.h>
+#include <dlfcn.h>
#define NO_ULEB
#include "Architectures.hpp"
#vlc_poc.py:
import struct
import sys
class mov_exploit:
def __init__(self,blocksize,gotbase,gotsize,shellcodebase=None,arch='win32'):
self.arch=arch
self.blocksize=blocksize