Of course you can quote me. I tried explaining as best I could in a minimum of words, with the purpoese of sharing a not so wellknown zip fact.I quotted you to help out the other member solving this challenge if that's okay with you joakim
December 2011 TechLife Challenge (Possible Reward)
Started by
Holmes.Sherlock
, Dec 13 2011 02:48 PM
28 replies to this topic
#26
Posted 17 December 2011 - 10:15 AM
#27
Posted 27 December 2011 - 04:58 PM
joakim, I found the way you did it really fascinating (raw decompress). I would have attempted to do the same if fixing the header wasn't so easy
I've made a solution file for this in C# if anyone is interested.
What I did:
I've made a solution file for this in C# if anyone is interested.
What I did:
- Read all the bytes into a byte array
- Copied the file into a new byte array with a correct header (took out the bad header)
- Deflated the file and wrote the ans.exe file to disk
#28
Posted 27 December 2011 - 11:48 PM
@KoBe
Of course I'm interested in seing your solution. I believe I also made something similar a while back with the carver tool stuff (look in my sig). But I would like to see your solution anyways since I've just started a little C# myself.
Of course I'm interested in seing your solution. I believe I also made something similar a while back with the carver tool stuff (look in my sig). But I would like to see your solution anyways since I've just started a little C# myself.
#29
Posted 28 December 2011 - 02:03 AM
Here you are. This is the solution project. I've commented it a little. Let me know if you have any questions.
And sorry if it seems unorganized, I didn't plan on others reading it.
http://tech.reboot.p...be/acePatch.rar
And sorry if it seems unorganized, I didn't plan on others reading it.
http://tech.reboot.p...be/acePatch.rar
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users