IPB

Welcome Guest ( Log In | Register )


> Alright .NET gurus, solve this one
Hartmann
post Feb 12 2008, 11:55 AM
Post #1





Group: Admin
Posts: 3,403
Joined: 23-February 06
From: PDX/TXL
Member No.: 35



I have been scraping data off of a site (300KB) and they recently changed their URI string so that the date parameter has a hash of a date instead of the date itself.

The piece of the string I am looking at looks like this:

CODE
FDate=ZVbeOGQGDBnVmWDrJ6901w==&RDiret=Status


And more exactly the FDate parameter. Any ideas on the hashing mechanism? I know it can't be one way encryption because there would be no way to interpret that as a date (and they have to interpret it as a date).


--------------------

"There is a level of cowardice lower than that of the conformist: that of the fashionable non-conformist."
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
impala454
post Feb 13 2008, 02:52 AM
Post #2





Group: Members
Posts: 10,620
Joined: 23-February 06
From: Houston, TX
Member No.: 48



I wouldn't rule out one-way MD5 or SHA1 or something. Their page could have a pre-defined set of dates which are hashed into a table that just sits in memory. Without knowing exactly what the page is or what it's doing it's difficult to tell. It doesn't really make sense to me though unless this thing is being called from some app or web service or something.

You can search the .net cryptography namespace on MSDN and see what turns up (System.Cryptography).

You might also try just picking a recent date (or one that makes sense in terms of the page), and use several different hashing algorithms and call the page/service with them and see what happens.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 14th August 2026 - 09:19 PM
Skin made by: skeedio.com