* Problem compiling crack 4.1 on DEC OSF/1 V3.0
@ 1995-07-27 4:00 Charlie Byrne
1995-07-27 4:00 ` Mike Iglesias
0 siblings, 1 reply; 2+ messages in thread
From: Charlie Byrne @ 1995-07-27 4:00 UTC (permalink / raw)
Trying to get crack 4.1 up on Alpha 3000/300, DEC OSF/1 V3.0 ("Dec Unix"),
me and the install procedure for this thing just
do not seem to be getting along....
cc -O `./bytesex` -c crack-fcrypt.c
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 254: Syntax Error
Ll ^= (S0L)[ *dp STEP];
---------------------^
Fix/Workaround? Details below...TIA.
==============================================================================
Crack 4.1f RELEASE, The Password Cracker (c) Alec D.E. Muffett, 1992
Invoked as: /usr/local/etc/crack/Crack /etc/passwd
Dictionary Dicts/bigdict.Z intact
Binary directory: /usr/local/etc/crack/generic
( cd ../Sources ; make clean )
rm -f *.o *.u *.a *.pixie *.Addrs *.Counts
rm -f crack-pwc tester bytesex testrule
rm -f speedcrypt speedfcrypt speedxform speedufc
( cd ../Sources ; make crack-pwc.which )
Choosing between Crack.fcrypt and Crack.ufc
((../Scripts/do_ufc && make crack-pwc.ufc) || make crack-pwc.fcrypt)
Looking for UFC-crypt in /usr/local/etc/crack/ufc-crypt
Cannot find /usr/local/etc/crack/ufc-crypt - cannot use UFC-crypt on this
platform
cc -O -c crack-lib.c
cc -O -c crack-glob.c
cc -O -c crack-supp.c
cc -O -c crack-sort.c
cc -O -c bytesex.c
cc -O -o bytesex bytesex.o
cc -O `./bytesex` -c crack-fcrypt.c
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 254: Syntax Error
Ll ^= (S0L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 256: Syntax Error
Ll ^= (S1L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 258: Syntax Error
Ll ^= (S2L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 260: Syntax Error
Ll ^= (S3L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 262: Syntax Error
Ll ^= (S4L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 264: Syntax Error
Ll ^= (S5L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 266: Syntax Error
Ll ^= (S6L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 268: Syntax Error
Ll ^= (S7L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 289: Syntax Error
Rl ^= (S0L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 291: Syntax Error
Rl ^= (S1L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 293: Syntax Error
Rl ^= (S2L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 295: Syntax Error
Rl ^= (S3L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 297: Syntax Error
Rl ^= (S4L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 299: Syntax Error
Rl ^= (S5L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 301: Syntax Error
Rl ^= (S6L)[ *dp STEP];
---------------------^
/usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 303: Syntax Error
Rl ^= (S7L)[ *dp STEP];
---------------------^
*** Exit 1
Stop.
*** Exit 1 (ignored)
cp ../Sources/crack-pwc .
cp: ../Sources/crack-pwc: No such file or directory
*** Exit 1
Stop.
==============================================================================
---
Charlie Byrne * Bigelow Laboratory for Ocean Sciences
McKown Point * West Boothbay Harbor, ME 04575 * (207) 633-9610
Usual disclamers apply.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Problem compiling crack 4.1 on DEC OSF/1 V3.0 1995-07-27 4:00 Problem compiling crack 4.1 on DEC OSF/1 V3.0 Charlie Byrne @ 1995-07-27 4:00 ` Mike Iglesias 0 siblings, 0 replies; 2+ messages in thread From: Mike Iglesias @ 1995-07-27 4:00 UTC (permalink / raw) In article <3v7s5d$fje@umigw.miami.edu>, Charlie Byrne <byrne@phyto.bigelow.org> wrote: > > >Trying to get crack 4.1 up on Alpha 3000/300, DEC OSF/1 V3.0 ("Dec Unix"), >me and the install procedure for this thing just >do not seem to be getting along.... Use the patches below to compile crack on your system. -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine phone: (714) 824-6926 Office of Academic Computing FAX: (714) 824-2069 *** ufc-crypt/ufc-crypt.h.dist Thu Mar 19 21:24:09 1992 --- ufc-crypt/ufc-crypt.h Wed Nov 25 08:52:18 1992 *************** *** 53,58 **** --- 53,64 ---- #define _UFC_64_ #endif + #ifdef __alpha + typedef unsigned long ufc_long; + typedef unsigned long long64; + #define _UFC_64_ + #endif + /* * For debugging 64 bit code etc with 'gcc' */ *** Sources/bytesex.c.dist Thu Mar 19 21:13:46 1992 --- Sources/bytesex.c Tue Feb 23 17:26:25 1993 *************** *** 4,9 **** --- 4,10 ---- { char *p; long int l; + int endian = 0; /* 1 = big, -1 = little */ l = 'a' << 24 | 'b' << 16 | 'c' << 8 | 'd'; p = (char *) &l; *************** *** 23,32 **** } if (!strncmp (p, "abcd", 4)) { ! puts ("-DBIG_ENDIAN"); } else if (!strncmp (p, "dcba", 4)) { ! puts ("-DLITTLE_ENDIAN"); } exit (0); } --- 24,56 ---- } if (!strncmp (p, "abcd", 4)) { ! endian = 1; } else if (!strncmp (p, "dcba", 4)) { ! endian = -1; } + if (endian == 0) { /* try again after shifting l back 32 */ + l >>= 32; + if (!strncmp (p, "abcd", 4)) + { + endian = 1; + } else if (!strncmp (p, "dcba", 4)) + { + endian = -1; + } + } + switch (endian) + { + case 0: + fprintf (stderr, "bytesex: Can't figure out endian of this system!\n"); + exit(1); + case 1: + puts ("-DBIG_ENDIAN"); + break; + case -1: + puts ("-DLITTLE_ENDIAN"); + } + + exit (0); } *** Sources/crack-supp.c.dist Thu Mar 19 21:13:47 1992 --- Sources/crack-supp.c Fri Nov 27 17:46:18 1992 *************** *** 44,53 **** char *fmt; long int a, b, c, d, e, f, g, h, i, j; { ! long t; time (&t); ! printf ("pwc: %-15.15s ", ctime (&t) + 4); printf (fmt, a, b, c, d, e, f, g, h, i, j); fflush (stdout); } --- 44,53 ---- char *fmt; long int a, b, c, d, e, f, g, h, i, j; { ! time_t t; time (&t); ! printf ("pwc: %-15.15s ", (char *) ctime (&t) + 4); printf (fmt, a, b, c, d, e, f, g, h, i, j); fflush (stdout); } ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-07-27 4:00 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1995-07-27 4:00 Problem compiling crack 4.1 on DEC OSF/1 V3.0 Charlie Byrne 1995-07-27 4:00 ` Mike Iglesias
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox