Running Shell on iOS simulator w/ Swift
A Swift function that can run Shell ONLY on iOS simulator devices, it's similar to Objective-C's
spawn() function but is compatible to iOS, unfortunately, the app breaks or freezes after you execute the function via manual like pressing a button. I'm still figuring out how to run sudo and making it automatically type in the root's password, and for people who thinks this is an exploit, the function contains posix_spawn, waitpid, and Pipe() which is added by default.0 Replies