sabkabox
July 4th, 2011, 09:08
http://s89.filesonic.in/download/504192291
/4e0f1700/1e0d5d23/1358d/2/75c00f1c/0/84016488e74bc9d3e450054ae4272a94e83ae282
4e0f1700 = time (hex) in seconds since epoch
1e0d5d23 = fileID in hex (504192291)
75c00f1c = IP in hex
84016 - SHA1 hash.
The download server providing the file has 0 authentication in itself. You have a unique SHA1 hash that changes every time I make a request for the same file, from the same IP, same username. Also, if I send two requests at almost the same time - it refuses the second one. But while my first connection is open I can reuse that URL to download from a different IP with no auth whatsoever.
The above URL is generated (with SHA changing) and given to my downloader every time it requests the same file (fileID in decimal, username, password provided). What I don't understand is why he needs to store time, fileID, etc as part of the download URL.
It looks overly complicated to me
Why can't he just:
1. authenticate me
2. create some random hash and symlink that to the real file i want.
3. stick that hash in the download url he gives me.
and presto! After my download is complete, delete the symlink so no one else can download that file!
Why is the complication necessary??? What's going on???
/4e0f1700/1e0d5d23/1358d/2/75c00f1c/0/84016488e74bc9d3e450054ae4272a94e83ae282
4e0f1700 = time (hex) in seconds since epoch
1e0d5d23 = fileID in hex (504192291)
75c00f1c = IP in hex
84016 - SHA1 hash.
The download server providing the file has 0 authentication in itself. You have a unique SHA1 hash that changes every time I make a request for the same file, from the same IP, same username. Also, if I send two requests at almost the same time - it refuses the second one. But while my first connection is open I can reuse that URL to download from a different IP with no auth whatsoever.
The above URL is generated (with SHA changing) and given to my downloader every time it requests the same file (fileID in decimal, username, password provided). What I don't understand is why he needs to store time, fileID, etc as part of the download URL.
It looks overly complicated to me

1. authenticate me
2. create some random hash and symlink that to the real file i want.
3. stick that hash in the download url he gives me.
and presto! After my download is complete, delete the symlink so no one else can download that file!
Why is the complication necessary??? What's going on???