mrbig1479 Posted September 28, 2008 Share Posted September 28, 2008 Hi This is a general question about trying to figure out something I have an unknown function that gives me an output of 0.02 = 1a02f145f15759bc5106ab9cfc4ed8e5 0.03 = 5ee37a249ab0dca1adff89ca84f1e1af 0.04 = 4078de62a9153bfb1083a0c2b51a2139 Is there a way to know the function that gives me this output ? Link to comment Share on other sites More sharing options...
Paulie Posted September 28, 2008 Share Posted September 28, 2008 HiThis is a general question about trying to figure out somethingI have an unknown function that gives me an output of 0.02 = 1a02f145f15759bc5106ab9cfc4ed8e50.03 = 5ee37a249ab0dca1adff89ca84f1e1af0.04 = 4078de62a9153bfb1083a0c2b51a2139Is there a way to know the function that gives me this output ?Sorry, We aren't miracle workers.there are a million different ways that ".02" can become... that... there is no efficient way to know the right way without reverse engineering the program itself. (i.e. source code) Link to comment Share on other sites More sharing options...
mrbig1479 Posted September 28, 2008 Author Share Posted September 28, 2008 (edited) But assuming its the same function that translate the 0.02 to 1a02f145f15759bc5106ab9cfc4ed8e5 and 0.03 to 5ee37a249ab0dca1adff89ca84f1e1af and its the same function for the rest of the results isn't it possiable ? I can give 100 more numbers and their outputs..... Edited September 28, 2008 by mrbig1479 Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 28, 2008 Share Posted September 28, 2008 Why do you need to know the algorithm? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
mrbig1479 Posted September 28, 2008 Author Share Posted September 28, 2008 Why do you need to know the algorithm?Im trying to grab data from a web page and this data is encypted , I can see the data but its an image .if the data =0.2 i will see a picture of 0.2 I want to grab this data as a .txt and if ill know the algorithm Ill be able to do that. Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 28, 2008 Share Posted September 28, 2008 What data are you trying to get, I mean what exactly is the data? Coin count for a game, delay for a new event, your current bank account balance, etc. Also did you look at the image names? Sometimes websites use names like .02.jpg to name their pictures. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
mrbig1479 Posted September 29, 2008 Author Share Posted September 29, 2008 What data are you trying to get, I mean what exactly is the data? Coin count for a game, delay for a new event, your current bank account balance, etc. Also did you look at the image names? Sometimes websites use names like .02.jpg to name their pictures.The data is vitual card game price. the Image names are the name of the function that makes them ( priceGen.php)here is the line in the HTML page that build the price.<img src='priceGen.php?p=867f409e29d07a5fc2607af528c2a5aa'>this represent a price of 8.33$ Link to comment Share on other sites More sharing options...
Paulie Posted September 29, 2008 Share Posted September 29, 2008 To be honest, it looks as though these things were encrypted with a hash. Perhaps you're better off saving the hash for every number.... Hashing algorithms can be irriversable... cant they? Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 29, 2008 Share Posted September 29, 2008 Some are irreversible but those usually have collisions unless the hash length is infinite. MD5 for example, is irreversible but with the proper tool a collision can be found with minimal effort (just time). This hash honestly looks like a variation of the MD5 but that's only from first glance and I could be entirely wrong. Saving the hashes for every price possible would be a monumental waste of space IMO. If the hashes were produced in a way that the hash for 0.02 + 9.00 = 9.02's hash then it wouldn't be nearly as bad, but it seems they have a unique hash for every cent (like any good hash does) so the easiest method would be to simply OCR the price, as far as I can see anyway. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
trancexx Posted September 29, 2008 Share Posted September 29, 2008 (edited) Some are irreversible but those usually have collisions unless the hash length is infinite. MD5 for example, is irreversible but with the proper tool a collision can be found with minimal effort (just time). This hash honestly looks like a variation of the MD5 but that's only from first glance and I could be entirely wrong. Saving the hashes for every price possible would be a monumental waste of space IMO. If the hashes were produced in a way that the hash for 0.02 + 9.00 = 9.02's hash then it wouldn't be nearly as bad, but it seems they have a unique hash for every cent (like any good hash does) so the easiest method would be to simply OCR the price, as far as I can see anyway.Yes, the whole point of hash is not to be reversible and to be unique for only(only, only) one input.If it can (could) be reversible than that would make the ultimate data compression. Edited September 29, 2008 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 29, 2008 Share Posted September 29, 2008 You're missing the point of what I said. I was trying to point out that storing the hash value of every possibility would be useless for anything except a rainbow table and I doubt this hashing algorithm is popular enough to require one as of yet. My point was that OCR would be easier than storing the hashes since the user would need massive amounts of space and it would make the script huge. OCR would simply recognize the pictured characters displayed and return the data for the script to use, much simpler than trying to reverse a hashing algorithm or finding a collision. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
wilmheath Posted October 23, 2008 Share Posted October 23, 2008 The site that this guy is trying to parse is my own and it has cost me a lot of time and money to try to get people to stop doing this. I've gone as far as to implement a way to give fake prices to certain ip address's and proxy networks. Please leave my site alone and do your own pricing work as I spend many hours per week working on my prices and your also costing me bandwidth when you script my site due to the amount of pages you script. I'm asking that those that respect a website owner's request to please not steal prices do not help this guy. Thanks, Heath Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now