[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

651.0. "Where is the TODAY files?" by DELNI::MHARRIS (Mark Jay Harris, Term Srvr Mktg Mgr) Tue Jan 05 1988 23:20

    I too am trying to track an OLD 'hack'. Thi one was called
    "TODAY" as was an .EXE  and .DAT file which displayed
    interesting facts and birthdays in history.
    
    The .DAT file is out-dated now and I would like to add some
    lines to it WITHOUT breaking the program.
    
    Anyone know ehere it is now?
    
T.RTitleUserPersonal
Name
DateLines
651.1LESLIE::LESLIEOn vacation until Jan 11Wed Jan 06 1988 06:132
    I'd be interested in it as is, please drop me some mail about it's
    location.
651.2Here they are.DELNI::MHARRISMark Jay Harris, Term Srvr Mktg MgrWed Jan 06 1988 14:3023
These are all located on DELNI:: (you must NOT use wildcards for access)
    (Maybe we can find the sources are figure out how to UPDATE the
    data file with more and more information... ???)
    
Directory USER$180:[MHARRIS.COM]

TODAY.COM;1         

Total of 1 file.

Directory USER$180:[MHARRIS.DAT]

TODAY.DAT;1         

Total of 1 file.

Directory USER$180:[MHARRIS.EXE]

TODAY.EXE;1         

Total of 1 file.

Grand total of 3 directories, 3 files.
651.3Routines to modify TODAY.DATHPSTEK::JBATESJohn D. BatesThu Jan 07 1988 19:2268
	The following two FORTRAN programs can be used to add
	information to the TODAY.DAT file. 

	The first program BREAK_TODAY will read the .DAT file and create
	a text file called TODAY.TXT. This file can then be edited using
	your favorite editor. 

	The second program BUILD_TODAY will create a new TODAY.DAT file
	using the TODAY.TXT file as input. 

	These programs were written rather quickly but I made several
	runs and they seem to work fine. 

	PROGRAM BREAK_TODAY
C
C This program takes the TODAY data file and creates a text file from it
C
C 		Written by John D. Bates    January 1988
C
	IMPLICIT INTEGER (A-Z)
	CHARACTER *84 IN
	INTEGER*4 NUM(21)
	EQUIVALENCE (IN,NUM)
C
	OPEN(UNIT=1,FILE='TODAY.DAT',STATUS='OLD')
	OPEN(UNIT=2,FILE='TODAY.TXT',STATUS='NEW',
     1	     CARRIAGECONTROL='LIST')
C
100	READ(1,110,END=1000)IN
110	FORMAT(A)
	I = NUM(1)/100
	J = NUM(1) - (I*100)
	WRITE(2,120)I,J,IN(5:84)
120	FORMAT(I2,'/',I2,' ',A)
	GOTO 100
C
1000	CLOSE(UNIT=1)
	CLOSE(UNIT=2)
	CALL EXIT
	END

	PROGRAM BREAK_TODAY
C
C This program takes the data file created by BREAK_TODAY and creates 
C a TODAY data file from it.
C
C 		Written by John D. Bates    January 1988
C
	IMPLICIT INTEGER (A-Z)
	CHARACTER *84 IN
	INTEGER*4 NUM(21)
	EQUIVALENCE (IN,NUM)
C
	OPEN(UNIT=1,FILE='TODAY.TXT',STATUS='OLD')
	OPEN(UNIT=2,FILE='TODAY.DAT',STATUS='NEW',
     1	     CARRIAGECONTROL='NONE')
C
100	READ(1,110,END=1000)I,J,IN(5:84)
110	FORMAT(I2,1X,I2,1X,A)
	NUM(1) = (I*100) + J
	WRITE(2,120)IN
120	FORMAT(A)
	GOTO 100
C
1000	CLOSE(UNIT=1)
	CLOSE(UNIT=2)
	CALL EXIT
	END
651.4Challenge...DELNI::MHARRISMark Jay Harris, Term Srvr Mktg MgrFri Jan 08 1988 00:068
    OK guys, here's the challenge: "Who can put together the most
    interesting TODAY.DAT file?" Let's make it a real challenge
    and populate the files ONLY with REAL dated items from history...
    NOT just funny sayings or something else which could be random.
    
    Any takers??
    
    (I'll give it a shot myself and post any updates here)
651.5but Today.exe is missingSTKHLM::AXELSSONTue Jan 12 1988 20:347
    
    In the file today.com mentioned in .2 is the image today.exe required.
    
    My question is where to find the source for that file.
    I'm am reluctant to take just an .exe file due to
    the possibility of Trojan hoarses. No offence intended!
    Any idea for location?
651.6I can't find it again...4394::MHARRISMark Jay Harris, Term Srvr Mktg MgrSat Jan 16 1988 13:545
    No sources have been traced. Although I have used the exe for
    2-3 years now... no problem. (btw, I got it on the EASYNET
    back then, but from who/where reminas a mystery.
    
    Mark
651.7How about new sources?HPSTEK::JBATESJohn D. BatesMon Jan 18 1988 15:0560
	The following is not the original source (it was written in
	PASCAL) but can be compiled on your system and will work the 
	same as the original. Enjoy!

					John

-------------------------------------------------------------------------------
	PROGRAM TODAY
C
C This program finds the current date, displays it, then scans the history 
C file pointed to by logical TODAY_FILE, and displays all information that 
C matches the key for the current date.
C
C 		Written by John D. Bates    January 1988
C
	IMPLICIT INTEGER*4 (A-Z)
	CHARACTER*84 IN
	INTEGER*4 NUM(21)
	EQUIVALENCE (IN,NUM)
C
C Get current date and display it
C
	CALL SYS$FAO('!%D',,IN,%VAL(0))
	WRITE(6,100)IN(1:11)
100	FORMAT(' Today is ',a,'.  On this day in history:')
	CALL IDATE(MM,DD,YY)
	MATCH = (MM*100) + DD
C
C Open history file
C
	OPEN(UNIT=1,FILE='TODAY_FILE',STATUS='OLD',SHARED,READONLY,
     1	     ERR=140)
C
C Read history file and look for matches
C
110	READ(1,120,END=1000)IN
120	FORMAT(A)
	IF(NUM(1) .LT. MATCH)GOTO 110
	IF(NUM(1) .GT. MATCH)GOTO 1000
C
C Display matches
C 
	WRITE(6,130)IN(5:84)
130	FORMAT(1X,A)
	GOTO 110
C
C ERROR - Unable to open history file
C
140	WRITE(6,150)
150	FORMAT(/,' %TODAY-F-NOFILE, no data file found.'/)
	WRITE(6,160)
160	FORMAT(' Check for logical TODAY_FILE and data file ',
     1	       'pointed to by TODAY_FILE')
	CALL EXIT
C
C Finished
C
1000	CLOSE(UNIT=1)
	CALL EXIT
	END
651.8ULTRIX version of TODAY availableTOOK::MICHAUDJeff MichaudMon Jan 18 1988 22:4710
    For my fellow ULTRIX users, you can copy:
    
    	netrix::/usr/local/today.txt
    
    and the shell script:
    
    	netrix::/usr/local/today
    
    Make sure you edit "today" to look wherever you will be keeping
    "today.txt" if it is not going to be in /usr/local.
651.9Fresh Today in history eventsTOOK::MICHAUDJeff MichaudFri Jan 22 1988 19:1014
    A co-worker of mines husband mails to her a "Today in history"
    type thing everyday.  I talked her into forwarding them to me
    and I am converting to the same format that today.txt is in.
    
    If you only want to copy the new stuff (at least 12 events/day
    so far), I am keeping them in seperate files.
    
    	netrix::~michaud/misc/todaystuff/todayMMDD
    
    where MM = month (01-12) and DD = day (01-31).  (Make sure to
    use quotes around the file spec if you are on a VMS node).
    
    The today.txt in the same directory (or /usr/local/today.txt)
    will always contain the latest todayMMDD's merged in.