serpeal
May 18th, 2009, 06:30
Hi all! 
I'd like to patch an exe file that reads a HASP-3 (parallel port) dongle. The exe file contains the string "HASPDOSDRV", and I read in the dongle "Aladdin Knowledge Systems LTD HASP-3 RUNT-TIME T". I have also some HASP II dongles.
We use a VERY old CRM software (DOS version).
I've moved this software to Linux using DOSBox (DOS emulator) and I can use it with the dongle with no problem. The thing is that nobody supports now this old version, I don't want to move to the new one and I'd like to use the version we have in my laptop (with no parallel port)
I tried to emulate the dongle by modifying the DOSBox code. I traced calls to 0x0378h-0x037ah but after a first attempt (and a deeper document research) I realized that dongles do more things than returning a flag or a value to the software.
I have tried all the HASP related software in the Woodmann site, but I haven't found a pure DOS HASP emulator, which I need in the DOSBox environment.
SO; I realized that, instead of emulating the dongle, it would be easier to patch/crack the exe file.
I've read the CASMate "how to", but I'm not an assembler guru and I've never used a PE disassembler neither an Hex editor (I know a little about linux ELF files, but....).
I would really thank suggestions about disassemblers, Hex editors and the environment that I should install in order to Patch the file.
I guess I should use VMWare or VirtualBox with a Win98 or Win95 target...
Suggestions?? Guidelines??
In case there is a Kind Sould that would like to check my target, I've zipped and uploaded it in this site:
http://www.discodragon.com/BACKUP.zip
There is a BAT file (RNT386.BAT) that launches the main exe file (MGRNT386.EXE) containing the "HASPDOSDRV" string.
Here there is a valid username/password pair:
USER ID: dekker
PASSWORD: 1402
The btrive database is empty, but if you can access it then the patch/crack is working. Otherwise the application shouts "Protection violation 1" or something similar.
Thanks in advance for any suggestion, guideline or attempt to check my target.
Regards!!

I'd like to patch an exe file that reads a HASP-3 (parallel port) dongle. The exe file contains the string "HASPDOSDRV", and I read in the dongle "Aladdin Knowledge Systems LTD HASP-3 RUNT-TIME T". I have also some HASP II dongles.
We use a VERY old CRM software (DOS version).
I've moved this software to Linux using DOSBox (DOS emulator) and I can use it with the dongle with no problem. The thing is that nobody supports now this old version, I don't want to move to the new one and I'd like to use the version we have in my laptop (with no parallel port)

I tried to emulate the dongle by modifying the DOSBox code. I traced calls to 0x0378h-0x037ah but after a first attempt (and a deeper document research) I realized that dongles do more things than returning a flag or a value to the software.
I have tried all the HASP related software in the Woodmann site, but I haven't found a pure DOS HASP emulator, which I need in the DOSBox environment.
SO; I realized that, instead of emulating the dongle, it would be easier to patch/crack the exe file.
I've read the CASMate "how to", but I'm not an assembler guru and I've never used a PE disassembler neither an Hex editor (I know a little about linux ELF files, but....).
I would really thank suggestions about disassemblers, Hex editors and the environment that I should install in order to Patch the file.
I guess I should use VMWare or VirtualBox with a Win98 or Win95 target...
Suggestions?? Guidelines??
In case there is a Kind Sould that would like to check my target, I've zipped and uploaded it in this site:
http://www.discodragon.com/BACKUP.zip
There is a BAT file (RNT386.BAT) that launches the main exe file (MGRNT386.EXE) containing the "HASPDOSDRV" string.
Here there is a valid username/password pair:
USER ID: dekker
PASSWORD: 1402
The btrive database is empty, but if you can access it then the patch/crack is working. Otherwise the application shouts "Protection violation 1" or something similar.
Thanks in advance for any suggestion, guideline or attempt to check my target.
Regards!!