home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Elite Hackers Toolkit
/
TheEliteHackersToolkitVolume1_1998.rar
/
HACKERS.BIN
/
appcraks
/
PC_BCB1U.ZIP
/
1231BOMB.ASM
next >
Wrap
Assembly Source File
|
1998-01-18
|
855b
|
21 lines
A snippet of code from a compiled .exe, showing the Dec 31 timebomb:
:00422745 call Kernel32!GetLocalTime
:0042274a cmp word ptr [esp],07cd ;check if year=1997
:00422750 jb 00422767 ;if less than, then run
:00422752 cmp word ptr [esp+02],0c ;check if month=12
:00422758 jb 00422767 ;if less than, then run
:0042275a cmp word ptr [esp+6],1f ;check if day=31
:00422760 jb 00422767 ;if less than, then run
:00422762 call 0041f594 ;nag and exit
:00422767 push 00422798 ;good guys land here
:0042276c push 01 ;program runs...
So, your .exe's would never run on December 31, 1997 or any
December 31 after 1997, but they would run on *any* other date.
Thus, some of you, and myself included, were surprised this last
December. Smartass programmers. <g>
Thanks go to J_M@*removed*.de for bringing this to my attention.
Saltine [PC]