Operating System - HP-UX
1838604 Members
4054 Online
110128 Solutions
New Discussion

problem with crack utility.

 
Steven E. Protter
Exalted Contributor

problem with crack utility.

I've downloaded and installed crack 5a for checking passwords for crackable passwords.

The install seemed to go okay.

./Crack /download/passwd

results.

Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: HP-UX tzfat B.11.11 U 9000/800 531716547 unlimited-user license
Home: /usr/local/crack
Invoked: ./Crack /download/passwd
Stamp: hp-ux-b-9000/800

Crack: making utilities in run/bin/hp-ux-b-9000/800
find . -name "*~" -print | xargs -n50 rm -f
( cd src; for dir in * ; do ( cd $dir ; make clean ) ; done )
rm -f dawglib.o debug.o rules.o stringlib.o *~
/bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old *.bak destest rpw des speed
rm -f *.o *~
( make "XDIR=../../run/bin/hp-ux-b-9000/800" "XCFLAGS=-O -D_HPUX_SOURCE
-DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -D
USE_PWD_H" dawglib.o debug.o rules.o stringlib.o || exit 1 )
gcc -O -D_HPUX_SOURCE -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE
_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H -c dawglib.c
*** Error exit code 1
*** Error exit code 1
*** Error exit code 1

swverify shows no errors.

It was installed with swinstall


This error seems critical

Make: Cannot load gcc. Stop.

As always, help posts will be rewarded liberally with points(btw newbies, you get more help when you give points).

Steve



Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
28 REPLIES 28
Pete Randall
Outstanding Contributor

Re: problem with crack utility.

Steve,

It looks like it's having a problem loading gcc. Do you have gcc? It is it findable (in your path, etc)?

Pete

Pete
Stefan Farrelly
Honored Contributor

Re: problem with crack utility.

is the gcc binary in a directory world readable by everyone and in /etc/PATH so that its picked up for all users when they login ?
Im from Palmerston North, New Zealand, but somehow ended up in London...
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

I have now downloaded and installed gcc 3.1 public domain.

I am working but appreciate insights here.

A little cookbook on how to quickly get this up and running would be helpful.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: problem with crack utility.

Steve,

You can get 5.0 in swinstall depot format from the porting center:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/crack-5.0/


Then you don't have to worry about building.

Pete

Pete
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

installing gcc helped.

-makeonly worked

./Crack -makedict fails on error...

Invoked: ./Crack -makedict
Option: -makedict enabled
Stamp: hp-ux-b-9000/800

Crack: making utilities in run/bin/hp-ux-b-9000/800
find . -name "*~" -print | xargs -n50 rm -f
( cd src; for dir in * ; do ( cd $dir ; make clean ) ; done )
rm -f dawglib.o debug.o rules.o stringlib.o *~
/bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old *.bak destest rpw des speed
rm -f *.o *~
`../../run/bin/hp-ux-b-9000/800/libc5.a' is up to date.
gcc -O -D_HPUX_SOURCE -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE
_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H -I../lib -o ../../run/bin/hp-ux-b-9000/8
00/dictfilt dictfilt.c elcid.o ../../run/bin/hp-ux-b-9000/800/libc5.a
gcc: elcid.o: No such file or directory
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Perhaps I'm missing the dictionary?
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steve Steel
Honored Contributor

Re: problem with crack utility.

Hi

Explained on

http://www.users.dircon.co.uk/~crypto/download/c50-faq.html


Regards

Steve Steel

Quote of the moment
-------------------
"We are drowning in information but starved for knowledge."
-- John Naisbitt
If you want truly to understand something, try to change it. (Kurt Lewin)
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

I got the depot and ran swinstall.

./Crack -makeonly works, so I'd say the gcc library is okay with the PATH.

I'm checking the path and reading the document.

Should I download a different Makefile??

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

Seems I'm missing a file

elcid.o

I'll try. What is it? Where to I find it?
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: problem with crack utility.

Steve,

Follow Steve Steel's link, then search on elcid. There's a section there titled "On RedHat-based Linux distributions, Crack doesn't run, and I get messages like this: " which contains a link to an alternate makefile "which should alleviate the problem".

Pete

Pete
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

[1301#] ./Crack -makedict
Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: HP-UX tzfat B.11.11 U 9000/800 531716547 unlimited-user license
Home: /usr/local/crack
Invoked: ./Crack -makedict
Option: -makedict enabled
Stamp: hp-ux-b-9000/800

Crack: making utilities in run/bin/hp-ux-b-9000/800
rm -f *.o *~
Make: Don't know how to make utils. Stop.


I don't think the linux file's going to work on HP-UX.

Attaching current makefile.

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

I had a HP version of Crack 5.0 for HP-UX 10.10 in tar format.

That file was cleaned up by HP so it would work.

That version of crack is working and has guessed the passwords of half my user accounts on production so far.

Thank you all so much for your help.

I'll check with HP and if its okay I'll post it to anyone that wants it.

It was developed by HP for its Practical Network Security Class, which I took in July of 2001. The instructor sent it to me because I couldn't get crack to work, amoong other issues.

Steve.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Norman_21
Honored Contributor

Re: problem with crack utility.

Hi Steve,

Could you please send me the working crack utility.
Appreciate it.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

I need to check with HP. I will send off an email and do so if permitted. This may take a day or so.

I'm not going to post it to a web site or anything so we'll need to work out how to give you the file. It is bigger than what I can push out via email.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
H.Merijn Brand (procura
Honored Contributor

Re: problem with crack utility.

If appropriate, I'd be willing to put it on my ITRC pages

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

I've asked an HP engineer if he's gotten the one sitting on the public domain site to work and if so what steps he's taken to make it work.

I would actually be somewhat surprised if HP said go ahead, distribute. I had to ask a couple of times to get them to send me a tape.

I gave XMAN his first point. Isn't that special.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
paul courry
Honored Contributor

Re: problem with crack utility.

Procura,

Putting hacking tools where any script kiddy can get them is probably not a good idea.

Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

If I get permission to distrubute at all, it will not be on a website. I'll post it to my own site with password only access. Only responsible people will get it.

I'm expecting a No from Darren btw.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

With regard to crack source code. Isn't it already a kiddie risk that its on the public domain University of Utah site?

The fact that the source for crack is readily available at hundreds of sites should not preclude us as systems administrators using it in the war on hackers.

Forgive the flowery prose.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
paul courry
Honored Contributor

Re: problem with crack utility.

Agreed. It should not stop us. However we should distribute it responsibly.

Particularly a tweaked copy that works on *our* boxes. (I know which side of my bread has the butter on it!)
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

Here is the final deal. I can distrubute the source, bit it will be responsibility.

Step 1, I will try out the public domain version on a server that is going to be Ignited out of existance later next week anyway.

If I can get it to work, I'll just post a link to the University of Utah HP-Ux web site.

If not, I'm going to build infrastructure on my own website to hand the thing out with a password and acknowledgment that I'm not libel and neither are the folks that modified the code.

The page will log the IP address and other information of those I decide to let have the thing. If any government agency comes along and requests it, they'll get the whole log, no questions asked. It will all be on the disclaimer.

I believe crack is an ESSENTIAL tool to fight the war on hackers. I will make an effort to distribute it responsibily.

Thank you, and tune in a week from now for the grand opening.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Norman_21
Honored Contributor

Re: problem with crack utility.

Thanks Steve,
awaiting your instructions with much interesting. Thanks for my first points.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

More fun boys and girls.

As promised I downloaded the tar.gz version from the U of Utah public domain site.

I installed gcc 3.1

I got this error. on the Crack -makedict command

gcc -O -D_HPUX_SOURCE -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE
_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H -I../lib -o ../../run/bin/hp-ux-b-9000/8
00/dictfilt dictfilt.c elcid.o ../../run/bin/hp-ux-b-9000/800/libc5.a
gcc: elcid.o: No such file or directory
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Crack -makeonly worked without error.

Please advise. It is still my perference to put together a procedure for doing the public domain install.

find / -name elcid.o

Produces, not surprisingly no results. I am re-reading the install guide, I've got a standard OS install with glance, c++ etc and my version of crack installs. and makedicts and is a happy,happy,happy camper.

What am I missing? It must be simple.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
H.Merijn Brand (procura
Honored Contributor

Re: problem with crack utility.

Did you have a look at http://entropy.brni-jhu.org/linuxsetup37.html ?
It shows exactly this problem (and a solution)

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Steven E. Protter
Exalted Contributor

Re: problem with crack utility.

Yes my friend, I have, earlier in this endless thread. The makefile provided bombs in HP-UX.

Keep trying, this is fun.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com