Skip to content

Commit

Permalink
fixed jailbreak check
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Apr 25, 2021
1 parent 11ae8a4 commit 0ebe3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/tests/jailbreakcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def run_tests(ipa, pipe, u, rzh):
elif len(filesystem_found) > 0:
message = "Jailbreak/Root check found via filesystem paths {}".format(", ".join(filesystem_found))

u.test(ipa, len(schema_found) > 0, message, DESCRIPTION, SEVERITY)
u.test(ipa, len(schema_found) > 0 or len(filesystem_found) > 0, message, DESCRIPTION, SEVERITY)

def name_test():
return "Detection Jailbreak/Root"

0 comments on commit 0ebe3b6

Please sign in to comment.