From 414bd920c179603e2c93577b074a53161bbf07f0 Mon Sep 17 00:00:00 2001 From: Moe <109103894+realSater@users.noreply.github.com> Date: Fri, 2 Jun 2023 18:56:54 +0300 Subject: [PATCH] Update usage for Windows --- triangle_check/__main__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/triangle_check/__main__.py b/triangle_check/__main__.py index 081461e..15dbbf9 100644 --- a/triangle_check/__main__.py +++ b/triangle_check/__main__.py @@ -18,7 +18,10 @@ def main(): print('Triangle Check: scan iTunes backups for traces of compromise by Operation Triangulation © 2023 AO Kaspersky Lab. All Rights Reserved.') print('\n Contact: triangulation@kaspersky.com') print(' More info: https://securelist.ru/trng-2023/') - print('\nUsage: python -m triangle_check /path/to/iTunes_backup [backup_password]') + if sys.platform.startswith('win'): + print('\nUsage: triangle_check.exe /path/to/iTunes_backup [backup_password]') + else: + print('\nUsage: python -m triangle_check /path/to/iTunes_backup [backup_password]') return if len(sys.argv) > 1: dir = sys.argv[1]