Exploit database

GH-7a1172d32f0b84f6466e959f96964648

fatgrass/osirisjailbreak12

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-6225

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files29

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

osirisJB12/Osiris/exploit/voucher_swap/mach_vm.h

Text · 687 bytes
/*
 * mach_vm.h
 * Brandon Azad
 */
#ifndef VOUCHER_SWAP__MACH_VM_H_
#define VOUCHER_SWAP__MACH_VM_H_

#include <mach/mach.h>

extern
kern_return_t mach_vm_allocate
(
	vm_map_t target,
	mach_vm_address_t *address,
	mach_vm_size_t size,
	int flags
);

extern
kern_return_t mach_vm_deallocate
(
	vm_map_t target,
	mach_vm_address_t address,
	mach_vm_size_t size
);

extern
kern_return_t mach_vm_write
(
	vm_map_t target_task,
	mach_vm_address_t address,
	vm_offset_t data,
	mach_msg_type_number_t dataCnt
);

extern
kern_return_t mach_vm_read_overwrite
(
	vm_map_t target_task,
	mach_vm_address_t address,
	mach_vm_size_t size,
	mach_vm_address_t data,
	mach_vm_size_t *outsize
);

#endif