www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/10/05/04:33:40

From: burger AT Mailer DOT Uni-Marburg DOT DE (Christian Burger)
Subject: Re: Hacking EXE2BIN.EXE to defeat version checking
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 5 Oct 1993 09:12:45 +22311043 (CET)
Organization: University of Marburg, Germany

Quoting Skip Coombe,

> I liked Morten Welinde's suggestion since setver has caused me
> some problems in the past. I found the string "MSDOS Version 5.00"
> in EXE2BIN.EXE and changed it to "MSDOS Version 6.00", but this had
> no effect (still got "Incorrect version" message). Can anyone tell
> me what the version checking code looks like?

Grab your debugger and search for code like
mov ah,30h; int 21h; cmp ax,0005h; jne ...
where ax contains the DOS version.
Change the number or better the jump.

As a recommendable alternative, get exe2com
(e.g.: simtel:/msdos/asmutl/execom14.zip)
which replaces exe2bin and is far superior.

Finally, if you link with Borland's tlink /t 
you need nothing at all.

Christian

-=-----
Christian Burger, Dept.of Phys.Chemistry, University of Marburg, Germany
e-mail: burger AT mailer DOT uni-marburg DOT de, (Phone|FAX): +49-6421-28-57(89|78)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019