R33D3M33R
February 10th, 2010, 10:42 PM
I have been thinking about building a MD5 hash database for a long time. Here I will write down what this is all about.
I download mods and patches a lot, because I'm a gamer. Sometimes they are really huge and take some time to download. I burn them to CD/DVD because it can happen the mod will be lost in years coming. But what if there has been a interrupt while downloading. Maybe my client has messed up or the server did something unexpected. Maybe the connection was interrupted. How to check if the file is correctly downloaded?
I use MD5 mostly and I think it is ok enough to check if the file is really the correct one. But there is a problem. The MD5 sum is not always included on the download page. What then? Hope that the file is OK?
I was thinking of creating a user contributed database of MD5 hashes. How will it work? There are three possible situations:
a) contributer downloads the file. He checks it with MD5 generators and finds out it matches the MD5 sum posted on the website he has downloaded from. He than creates an entry to this base with MD5 sum, file size and file name so others will be able to check (via google?) if the original site with the MD5 sum dissapears, but the file still can be found on some other servers
b) user downloads the file and checks it with MD5 generator. Then he searches via google or this site for matches with the sum. He finds the match and voila, he is happy because the filesize and sum matches.
c) user downloads the file and checks it with MD5 generator. Then he searches via google or this site for matches with the sum. He doesn't find it, then he searches for the exact filename. He finds it and he knows now that his download is corrupted.
There could also be a type of: "request if MD5 sum is correct" entries in which other users could upload their results if they have the file with that exact filename
OK, before I continue with my idea, I must know for sure if such site doesn't already exists.
I download mods and patches a lot, because I'm a gamer. Sometimes they are really huge and take some time to download. I burn them to CD/DVD because it can happen the mod will be lost in years coming. But what if there has been a interrupt while downloading. Maybe my client has messed up or the server did something unexpected. Maybe the connection was interrupted. How to check if the file is correctly downloaded?
I use MD5 mostly and I think it is ok enough to check if the file is really the correct one. But there is a problem. The MD5 sum is not always included on the download page. What then? Hope that the file is OK?
I was thinking of creating a user contributed database of MD5 hashes. How will it work? There are three possible situations:
a) contributer downloads the file. He checks it with MD5 generators and finds out it matches the MD5 sum posted on the website he has downloaded from. He than creates an entry to this base with MD5 sum, file size and file name so others will be able to check (via google?) if the original site with the MD5 sum dissapears, but the file still can be found on some other servers
b) user downloads the file and checks it with MD5 generator. Then he searches via google or this site for matches with the sum. He finds the match and voila, he is happy because the filesize and sum matches.
c) user downloads the file and checks it with MD5 generator. Then he searches via google or this site for matches with the sum. He doesn't find it, then he searches for the exact filename. He finds it and he knows now that his download is corrupted.
There could also be a type of: "request if MD5 sum is correct" entries in which other users could upload their results if they have the file with that exact filename
OK, before I continue with my idea, I must know for sure if such site doesn't already exists.