@aalzehla/capacitor-jailbreak-root-detection 0.0.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -70,7 +70,8 @@ private struct JailBrokenHelper {
|
|
|
70
70
|
"/",
|
|
71
71
|
"/root/",
|
|
72
72
|
"/private/",
|
|
73
|
-
"/jb/"
|
|
73
|
+
"/jb/",
|
|
74
|
+
"/basebin/"
|
|
74
75
|
]
|
|
75
76
|
}
|
|
76
77
|
static func isDirectoriesWriteable() -> Bool {
|
|
@@ -192,13 +193,19 @@ private struct JailBrokenHelper {
|
|
|
192
193
|
"/Applications/RockApp.app",
|
|
193
194
|
"/Applications/SBSettings.app",
|
|
194
195
|
"/Applications/WinterBoard.app",
|
|
196
|
+
"/Applications/Dopamine.app",
|
|
195
197
|
|
|
196
198
|
"/var/.communication/launchd_to_boomerang",
|
|
197
199
|
"/var/.communication/boomerang_to_launchd",
|
|
198
|
-
"/usr/lib/systemhook.dylib"
|
|
200
|
+
"/usr/lib/systemhook.dylib",
|
|
201
|
+
"/basebin/libjailbreak.dylib",
|
|
202
|
+
"/var/.boot_info.plist",
|
|
203
|
+
"/basebin/jbctl",
|
|
204
|
+
"/usr/bin/dpkg",
|
|
205
|
+
"/basebin/LaunchDaemons/com.opa334.jailbreakd.plist"
|
|
199
206
|
]
|
|
200
207
|
}
|
|
201
|
-
|
|
208
|
+
|
|
202
209
|
static func checkDYLD() -> Bool {
|
|
203
210
|
let suspiciousLibraries = [
|
|
204
211
|
"FridaGadget",
|