Is it possible to determine whether an iphone or ipad is jailbreaked or rooted?
The background is, our customer wants to prevent his app running on manipulated devices.
Sub IsJailbroken As Boolean
Try
For Each s As String In Array("/bin/bash", "/usr/sbin/sshd", "/etc/apt", "/private/var/lib/apt/", _
"/Applications/Cydia.app")
If File.Exists(s, "") Then Return True
Next
Catch
Log(LastException)
End Try
Return False
End Sub