From 9e9e0ed82384bd9aae18f433480e326124c9dc76 Mon Sep 17 00:00:00 2001 From: Paul Hagstrom Date: Thu, 31 Dec 2015 11:32:49 -0500 Subject: [PATCH] Added file name and changed format for valid/invalid reporting (for batch runs) --- Driv3rs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Driv3rs.py b/Driv3rs.py index 1414e43..8e68135 100644 --- a/Driv3rs.py +++ b/Driv3rs.py @@ -70,9 +70,9 @@ SOSfile = open(disk_img, 'rb') filetype = readUnpack(8, type = 't') if filetype == 'SOS DRVR': - print "This is a proper SOS.DRIVER file." + print "Valid SOS.DRIVER file: {}".format(disk_img) else: - print "This is not a proper SOS.DRIVER file" + print "INVALID SOS.DRIVER file: {}".format(disk_img) exit() # read two bytes immediately after "SOS DRVR" to determine jump