http://voidmain.is-a-geek.net/files/mis ... llenge.tgz
The included README:
- Code: Select all
Void Main Challenge (free time waster, brain teaser)
- included is a file that contains an encrypted password (password.dat).
- included is a program 'enc' used to generate the included password.dat
- included is a program 'chk' used to encrypt a password and compare with
password contained in password.dat (not really needed)
Your challenge is to figure out the encryption algorithm used and
decrypt the password contained in the password.dat included in this
package. Hint: you can use the 'enc' program to create your own
password.dat files and make observations. This encryption method was
used in an old DOS based menu system I used to use about 15 years
ago (when I was a mechanic). I was teaching myself pascal at the time
and decided I wanted to write a program to decrypt it's passwords.
I recall figuring out the algorithm in just a couple of hours.
I have a program called 'unc' that will automatically decrypt the
password.dat files and display the password. I just happened to
find my original pascal source for cracking the real menu program's
passwords and inspired me to create this challenge. I just whipped
up a few simple programs in C to just deal with the password. The
original pascal program read through the menu configuration file,
picked out the passwords and displayed them for each user.
I sent the program I wrote along with the source to the author of
the menu program and he promptly changed his method of encryption
to a much stronger method in the next release. :)
If you solve it please do not post your solution here, send me a PM and I will verify publically in case anyone else wants to play. At some point in the future I will post the code for the decrypter.
Good luck!


