mirror of
https://github.com/thecompu/Driv3rs.git
synced 2025-01-30 03:33:00 +00:00
Added file name and changed format for valid/invalid reporting (for batch runs)
This commit is contained in:
parent
fc33ee7dc1
commit
9e9e0ed823
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user