From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,65ef784184688e3a X-Google-Attributes: gidfee84,public From: Ram Rao Subject: Re: password cracker Date: 1995/05/18 Message-ID: <3pg8ouINNf87@lemans.det.dec.com>#1/1 X-Deja-AN: 102838724 references: <3opl6b$8sp@controversy.admin.lsa.umich.edu> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation, Novi, MI x-url: news:3opl6b$8sp@controversy.admin.lsa.umich.edu mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.2 alpha) > Has anyone gotten Crack_4.1 (or any version of crack) to run on OSF version > > 3.0? > > When trying to run Crack (which makes itself - no makefile is used), I keep > getting the following compiler errors: > > /usr/lib/cmplrs/cc/cfe: Error: crack-fcrypt.c, line 254: Syntax Error Ll ^= (S0L)[ *dp STEP]; ---------------------^ I succeeded in getting Crack V4.1f running on my OSF/1 V3.2 system earlier this week. To get it to compile, you need to fix bytesex.c as follows: diff bytesex.c.org bytesex.c 6c6 < long int l; --- > int l; 19d18 < l <<= 32; Replacing the long int by an int and eliminating the left shift statement fixes the broken logic for determining endianism on a 64-bit machine. To get it to run without core dumping, you need to add a #include statement to crack-supp.c: diff crack-supp.c.org crack-supp.c 10a11 > #include Good Luck, Ram Rao Digital, Indianapolis