• Stars
    star
    191
  • Rank 202,877 (Top 4 %)
  • Language
    C
  • Created over 8 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Abusing dlopen to load & run mach binaries on iOS

MobileTerminal

Proof-of-concept for sandboxed Terminal environment for iOS. Uses dlopen() to load mach binaries as libraries, then finds & calls main(). Does not require a jailbreak. Will only work in 32-bit mode.

To compile, replace SIGNING_IDENTITY in each subproject's Makefile with your own signing identity.

#Included Tools Includes the following BSD utilities from Darwin:

cat cp ipcrm mknod rm unlink
chflags dd ipcs mtree rmdir zcat
chgrp df link mv stat zopen
chmod du ln pathchk sum
chown gunzip ls ping symlink
cksum gzip mkdir ps touch
compress install mkfifo readlink uncompress

SCREENSHOT

More Repositories

1

cartool

Export images from OS X / iOS .car CoreUI archives
Objective-C
1,786
star
2

SpriteKitWatchFace

SpriteKit-based faux analog watch face example for watchOS
Objective-C
1,126
star
3

marzipanify

Convert an iOS Simulator app bundle to an iOSMac (Marzipan) one (Unsupported & undocumented, WIP)
Objective-C
961
star
4

tvOSBrowser

tvOS Web Browser sample project (Private API)
Objective-C
426
star
5

shortcuts-iosmac

Hacked-together implementation of Shortcuts for macOS Catalina using system frameworks
Objective-C
312
star
6

files-ios

File Browser for iOS
Objective-C
306
star
7

advancedcatalystexample

Advanced Catalyst Example with sidebar, list view, SwiftUI detail view, toolbar & AppKit bundle
Swift
224
star
8

files-playgroundbook

File Browser Swift Playground Book
Swift
205
star
9

filebrowser

iOS 7 File Browser
Objective-C
183
star
10

CatalystSidebarToolbar

Simple sidebar / NSToolbar example for Catalyst
Swift
171
star
11

WindowManager

Experiment: UIWindow subclass to see what windowing would be like
Objective-C
162
star
12

CatalystControlsGallery

Work in progress gallery of controls available to Catalyst apps using Optimized for Mac
Swift
161
star
13

CatalystPrefsWindow

Demonstration of using UIWindowScene and SwiftUI to provide a native-looking Mac preferences window in Catalyst
Swift
157
star
14

airqualitymonitor

Catalyst-based HomeKit menu bar air quality monitor for macOS 11
Swift
127
star
15

catalystgridapp

Grid-based app for macOS Catalyst (Mac Idiom) with push/pop navigation stack
Swift
121
star
16

TouchBarScreenshotter

Touch Bar screenshotter; easily snap screenshots of the currently presented Touch Bar in macOS
Objective-C
121
star
17

Picker

Color picker that lives in the menu bar in OS X
Objective-C
112
star
18

UITrackpadControl

A trackpad control for iOS that you can put onscreen to drive a mouse cursor specific to your app
Objective-C
112
star
19

AlternateIconTest

iOS 10.3 Alternate Icon sample
Objective-C
107
star
20

flare-appleuniversal

A simplistic web browser for Mac built with Catalyst
Swift
99
star
21

CatalystCommandBar

A Spotlight/'Open Quickly'-style 'command bar' implemented using UIKit/Mac Catalyst
Swift
88
star
22

OpenWorldTest

SceneKit-based Minecraft-style open world with chunk loading and GLSL fog shader
Objective-C
86
star
23

FlipClock

A simple Flip Clock animation for iOS
Objective-C
83
star
24

CatalystEffectViewChrome

Catalyst example using an AppKit-provided NSVisualEffectView to provide a translucent blurred window
Swift
76
star
25

rpi-basic

RaspberryPi BASIC; a bare-metal OS for the RaspberryPi
C++
76
star
26

CatalystSwiftUISidebar

Demonstrates hosting SwiftUI in a UISplitViewController to gain the sidebar style in Mac Catalyst
Swift
72
star
27

SafariTabBar

Simplistic & unfinished recreation of MobileSafari's tab bar
Swift
67
star
28

SpriteKitWatchFacePlaygroundBook

Swift Playgrounds port of SpriteKitWatchFace
Swift
63
star
29

CatalystMenuBarStatusWindow

This sample code showcases a method of presenting UIKit (or Catalyst-specific SwiftUI) content from the status menu area on macOS.
Swift
61
star
30

CatalystPhotoGrid

Simple Catalyst example (Mac idiom) of a grid-based app populated with photos, with dynamic cell layout switching
Swift
58
star
31

CatalystAppleScript

Demonstration of how to integrate AppleScript/Cocoa scripting into a Catalyst app
Swift
52
star
32

tightloop-playgroundbook

Swift Playground with logging disabled, enabling much faster performance
Swift
50
star
33

AppleUniversalHelpViewer

Sample app and help bundle for AppleUniversalHelp
HTML
49
star
34

floatingkeyboard-playground

iOS 10 'floating' iPad keyboard playground
Swift
48
star
35

smalltext

Miniature document-based text editor with font- & color-picker mechanics (Catalyst, Mac Idiom)
Swift
44
star
36

appleuniversal-filetemplates

Xcode file templates for modern UIKit development
Shell
43
star
37

MPWTest

Sample 68k Macintosh Toolbox app for compilation with MPW runtime on OS X
C
42
star
38

CatalystCustomToolbar

Using UIKit/SwiftUI to build a toolbar for a Mac Catalyst app
Swift
40
star
39

MobileSafariPlugin

Proof-of-concept Safari plugin for iPhoneOS
Objective-C
40
star
40

homebridge-zerow-headless

My internal Raspberry Pi Zero W Homebridge Camera install script
JavaScript
40
star
41

windowmanager-playgroundbook

Window Manager project ported to Swift Playgrounds
Swift
40
star
42

playgrounds-uikit-app

UIKit-based app project template for Swift Playgrounds 4
Swift
39
star
43

CatalystTransparentChrome

Creating a blurred window background in Mac Catalyst
Swift
37
star
44

drawingkit-playground

Swift Playground to experiment with the private DrawingKit API on iOS 10
Swift
37
star
45

AppleUniversalHelp

Standardized Help UI for AppleUniversal projects
Swift
36
star
46

CatalystServices

Exposing macOS Services through a Catalyst app
Swift
34
star
47

BitPaint

Trivial Carbonized Toolbox sample project that runs on System 1.0 right up to OS X v10.10
C
34
star
48

swiftuiwidgetswithobjc

iOS 14 Widget Extension with Objective-C data model
Objective-C
30
star
49

InsideMacintosh

Transcription of the Pascal sample code chapter from 1985's Inside Macintosh Volume I. Confirmed to compile in Lisa Workshop. Workshop RSRC and make script included.
OpenEdge ABL
28
star
50

CatalystToolbarMenuButton

This is a simple Mac Catalyst example showcasing how to build a dropdown menu toolbar button using AppKit.
Swift
27
star
51

CatalystCustomSavePanels

This Mac Catalyst example showcases a way to use NSSavePanel through an AppKit bridge, allowing you to add an accessory view with options for e.g. output format.
Swift
27
star
52

planet3d

A spinnable textured 3D sphere / globe in OpenGLES 1 for iOS / iPhone / iPad
Objective-C
26
star
53

LisaOSToolKitSample

A Simple LisaOS Clascal ToolKit QuickDraw Program, based on sample code from Lisa ToolKit Self-Paced Training.
26
star
54

dungeoncrawler

Simple Obj-C 2D top-down game engine (Pokemon-style)
Objective-C
26
star
55

lua-xclangspec

Xcode Syntax Highlighting for Lua
Shell
25
star
56

sts-8

STS-8 is a very basic virtual CPU built in Objective-C
Objective-C
24
star
57

VisionVolumetricUIKit

Present a volumetric window from UIKit on visionOS
Swift
23
star
58

PageCurlDemo

Demo project showcasing the Page Curl private API on iPhoneOS with finger-tracking
Objective-C
23
star
59

CatalystMenuCustomViews

This Mac Catalyst example showcases a way to embed custom views, built with AppKit, in a UIKit-presented menu tree.
Swift
23
star
60

scenekitgeometry

SceneKit Geometry generation examples - perlin height field & 2D images
Objective-C
22
star
61

SceneKitMouseAndDualStickControls

Mouse & Dual-Stick joypad controls for Apple's SceneKit
Objective-C
20
star
62

pdf2epub3

A simplistic conversion tool to take a PDF file and render it out as a fixed-layout ePub 3 file compatible with iBooks
Objective-C
19
star
63

finder-patreon

WindowKit-based 'Files' app for iOS
Objective-C
19
star
64

image2pict1

Converts an image to B&W QuickDraw PICT Format v1.0 (Mac OS System 1-6)
Objective-C
19
star
65

catalystvideogrid

Catalyst example of a grid-based video app that opens videos in secondary windows
Swift
19
star
66

CatalystUnsavedChanges

Detecting unsaved changes in a Mac Catalyst window and preventing closure or app termination
Swift
19
star
67

icloudpurge

Commandline utility to manually purge local copies of files on iCloud Drive
Objective-C
18
star
68

broadcasts-localization

Community language support for Broadcasts
18
star
69

VisionExpandingSidebar

Quick demonstration of how to make a Safari-style window that expands in size when its sidebar is shown, using UIKit, on visionOS.
Swift
18
star
70

BootX

Customized BootX-34 with debug logging & other tweaks to enable booting of Mac OS X Server 1.0 in qemu-ppc
C
15
star
71

RootFSProvider

'Root' filesystem File Provider extension for iOS.
Objective-C
15
star
72

NSBezierPathToCollada

Code to take an NSBezierPath and export a Collada DAE Mesh (for Maya, Unity3D, etc)
Objective-C
14
star
73

mobilestack

Stack for iOS (Legacy)
Objective-C
13
star
74

rpc8e-cc65

Sample code to boot on Eloraam's RPC8/e 65el02 CPU in Red Power / Minecraft
Assembly
12
star
75

SimpleText

The MPW Carbon/Mac OS 9 SimpleText Example Code ported to 'mpw'; compiles on OS X v10.9+
C
12
star
76

MPWTestSuite

C
9
star
77

Z80

Minecraft Z80 Emulator Mod
Java
8
star
78

VisionMessagesDualPane

Simple example to demonstrate how one might implement a Messages-style animated auxiliary pane view presentation on visionOS.
Swift
8
star
79

AppleUniversalCore

[Internal] Core Utils for AppleUniversal (Mac Catalyst)
Swift
7
star
80

pixure2png

Converts Pixure's SVG images to PNG
Objective-C
6
star
81

lightsoff-webos

Lights Off for webOS devices
JavaScript
6
star
82

pct2r

Script to convert a QuickTime PICT to Resource header for Classic Mac OS projects
Shell
5
star
83

qtartwork

Simple commandline utility to add album artwork to QuickTime movies or MP4s
Objective-C
5
star
84

mcfsfuse

OSXFUSE Filesystem driver for MCFS images (rpc8/Minecraft)
Objective-C
3
star
85

mobilex

Objective-C
3
star
86

playtime

WoW AddOn for tracking total play time
Lua
2
star
87

instanceportals

World of Warcraft AddOn to add dungeon/raid instance portal locations to the world map
Lua
1
star