@@ -147,15 +147,19 @@ def findHash(path):
147
147
try :
148
148
INFOPATH = path + bkup_dir + "/Info.plist"
149
149
if os .path .isfile (INFOPATH ):
150
- pl = readPlist (INFOPATH )
150
+ info = readPlist (INFOPATH )
151
151
try :
152
- deviceName = pl ['Device Name' ]
153
- lastBackupDate = pl ['Last Backup Date' ]
152
+ deviceName = info ['Device Name' ]
153
+ lastBackupDate = info ['Last Backup Date' ]
154
+ model = info ['Product Type' ]
155
+ UDID = info ['Unique Identifier' ]
156
+ iOS = info ['Product Version' ]
157
+ targetType = info ['Target Type' ]
154
158
print ('\n %sFound Backup for %s as of %s %s' %
155
159
(color .OKGREEN , deviceName , str (lastBackupDate ), color .END ))
156
160
if args .verbose :
157
- print ("%sUDID: %s %s" %
158
- (color .OKGREEN , bkup_dir , color .END ))
161
+ print ("%sUDID: %s \n %s: %s running iOS %s %s" %
162
+ (color .OKGREEN , UDID , targetType , model , iOS , color .END ))
159
163
except :
160
164
break
161
165
findSecretKeySalt (
@@ -191,6 +195,7 @@ def main():
191
195
if not args .verbose and not args .automatically and not args .interactive and not args .backup :
192
196
parser .print_help ()
193
197
except KeyboardInterrupt :
198
+ print ("Exiting...\r " ),
194
199
pass
195
200
196
201
0 commit comments