SSHDetector

@available(*, deprecated, message: "Use SuspiciousFilesExistenceDetector and SuspiciousFilesAccessibleDetector instead")
public class SSHDetector : JailbreakDetector

SSHDetector is a JailbreakDetector class, and is used as one of default JailbreakDetector’s detectors to determine whether the device is Jailbroken or not

  • Initializes SSHDetector instance

    Declaration

    Swift

    public init()
  • Analyzes whether ssh or sshd is accessible or not

    Note

    ssh or sshd should not be accessible on non-Jailbroken devices

    Declaration

    Swift

    public func analyze() -> Double

    Return Value

    returns 1.0 if ssh or sshd is accessible; otherwise returns 0.0