PC Review


Reply
Thread Tools Rate Thread

PW ISO md5sum (Python)

 
 
Mark Carter
Guest
Posts: n/a
 
      22nd Apr 2004
As a followup to my previous email, I calculated that the md5sum for
the PricelessWare ISO image is
84c38c612bd2dce3e4b2836fa8585713
which entirely agrees with that published at
http://mirrors.unoc.net/pricelessware/

So the ISO image at that site has not been tampered with.

For those wanting to take the easy route to the verification of the
ISO image, and have python, I have written a script to help you:

#begin ----------------------------------------
#check the PricelessWare CD checksum
import md5

f = file("pw2004.iso", "rb").read()
m = md5.new()
m.update(f)
iso = m.hexdigest()
confirmed = "84c38c612bd2dce3e4b2836fa8585713"

if iso == confirmed: result = "pass"
else: result = "fail"

txt = "%s : you\n%s : confirmed value\nresult=%s" % (iso, confirmed,
result)
print txt
file("iso-result.txt", "w").write(txt) #write results to file
#end ----------------------------------------

Simply save the script as, say, iso.py, in the same directory as the
iso image. Run it to see if you get a yea or nae on it. The results
are echoed to the console and a file called iso-result.txt
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
md5sum for vb net Gary Townsend Microsoft VB .NET 3 8th Oct 2005 01:13 AM
MD5Sum function Gary Townsend Microsoft ADO .NET 2 6th Oct 2005 02:21 AM
PW ISO md5sum Mark Carter Freeware 2 23rd Apr 2004 10:31 PM
C# Md5 vs MD5sum chis2k Microsoft C# .NET 2 25th Jul 2003 09:44 PM
Python 2.2.1 and Python 2.2 combined win32 ext. Nancy Windows XP Performance 0 16th Jul 2003 05:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:35 PM.