From 4c8145f8a340638fc0d7c70be2294bd8126df4e6 Mon Sep 17 00:00:00 2001 From: ultramagnus_tcv Date: Wed, 6 Jan 2016 11:24:04 -0600 Subject: [PATCH] Disabling MD5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disabling MD5 until I can take a long look and what it’s supposed to do. Right now, it’s not working as expected. --- Driv3rs.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Driv3rs.py b/Driv3rs.py index 29ee94b..e60a39a 100644 --- a/Driv3rs.py +++ b/Driv3rs.py @@ -249,10 +249,11 @@ for i in range(0,len(drivers_list)): # calculate distance from beginning of current driver to # next driver. reposition pointer to beginning of current # driver. send number of bytes to read to hashing function - bytes_to_read = drivers_list[i]['comment_start'] + \ - drivers_list[+1]['comment_start'] - 4 - SOSfile.seek(drivers_list[i]['comment_start'] + 4,0) - drivers_list[i]['md5'] = md5hash(bytes_to_read) + ## DISABLED FOR DEBUGGING ## EXPECT BLANK FIELDS IN the CSV + #bytes_to_read = drivers_list[i]['comment_start'] + \ + #drivers_list[+1]['comment_start'] - 4 + #SOSfile.seek(drivers_list[i]['comment_start'] + 4,0) + #drivers_list[i]['md5'] = md5hash(bytes_to_read) # here we run a new loop to determine how many other DIBs exist # under a major driver. This is primarily for drivers that are designed