Operating System - HP-UX
1830939 Members
2883 Online
110017 Solutions
New Discussion

Re: Installing software from source.

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

Installing software from source.

hi,UX ll.0 system. I am supposed to install john the ripper software. I am going thru the install instructions. At the very beginning i issue a command that delivers a list of supported systems, one of which I am to select ....easy enough, but, I do not know what the gcc or cc means in the listing. Does anyone have any ideas? Is it something to do with the C language?
hpux-pa-risc-gcc HP-UX, PA-RISC, gcc
hpux-pa-risc-cc HP-UX, PA-RISC, cc

I know I am revealing my complete innocence here, but if I dont ask - I know I'll never know , and I am sure to stuff things up..(cos that's what happens..! that much I do know!!)
thanks
Maria.
11 REPLIES 11
Steven E. Protter
Exalted Contributor
Solution

Re: Installing software from source.

Actually I think you can use either.

gcc is a gnu c++

cc as far as I know comes with the operating system.

If you want gnu c++ here is a link.

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2.3/

Where did you get John the Ripper?

I would be most happy to try the install myself on an HP-UX educate steve box in the basement and report results, provide tips etc.

SEP

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
Michael Tully
Honored Contributor

Re: Installing software from source.

Hi Maria,

"John the ripper" ;^) I thought it was "Jack the ripper" ...

SOunds like you need to right sort of compiler on your system. The HPUX system comes witha cut-down 'c' compiler, which by all accounts is not much good. Ordinarily you would need to purchase an ANSI/C compiler. As luck has it there is a free compiler called 'GCC'. You can get it from here:

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2.3/

Be aware of the pre-requisites, of installing GNU bison and flex. You can get these from the same site. All come in depot format ready to install.

http://hpux.connect.org.uk/hppd/hpux/Gnu/bison-1.875/
http://hpux.connect.org.uk/hppd/hpux/Gnu/flex-2.5.4a/
http://hpux.connect.org.uk/hppd/hpux/Gnu/binutils-2.11.2/

Places to check for the ANSI/C compiler:

$ which cc
/usr/bin/cc
$ ll /usr/bin/cc
Hopefully this points to /opt/ansic/bin/cc
or
$ swlist -l product | grep -i ansi

Good Luck
Michael
Anyone for a Mutiny ?
Peter Gillis
Super Advisor

Re: Installing software from source.

Thanks Steven,
www.openwall.com for John the Ripper.
Would appreciate hearing your thoughts on the install, and any tips you may come up with.
Regards,
MAria
Peter Gillis
Super Advisor

Re: Installing software from source.

Thanks Michael,
Will download/install the gcc software and the related s/ware.
Regards,
maria.
Michael Tully
Honored Contributor

Re: Installing software from source.

Hi Maria,

Just out of curiosity and I was on my lunch break I decided to give "jack-the-ripper" a go myself....

Here's what I did:

download the unix source archive from www.openwall.com/john

Upload to a system that has a compiler.

$ /usr/contrib/bin/gunzip john-1.6.tar.gz
$ tar xvf john-1.6.tar
read the README file in the 'john-1.6' directory

$ cd john-1.6/src
$ view Makefile (to get options on system type syntax and compiler)
$ make hpux-pa-risc-cc (hpux-pa-risc-gcc for gcc compiler)
compile is started..... Mine completed without any problems. I haven't tested the binary so, no warranty .....

Good luck
Michael
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: Installing software from source.

The instructions are far from intuitive, but after reading Michael's post I followed his instructions, I did get a clean install.

No time to test the binaries either, but this will work without gcc.

How to figure out it wanted dashes?

Michael's experience I guess. I messed with it an hour before checking the thread.

SEP
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
Peter Gillis
Super Advisor

Re: Installing software from source.

Thanks Michael, Steven. I too have installed it now. My only problem was being sure just what the cc and gcc was referring to. JtR installed ok, and I am now running it against a test passwd file. all seems to be going ok. Just wondering though, would you be able to recommend locations of wordlists that could be used as dictionaries?

thanks for your input..
Maria.
Michael Tully
Honored Contributor

Re: Installing software from source.

Hi Maria,

Although I've never used a dictionary to do these things, there are places where you can download them and even compile your own.

I did a search from google and this search gave plenty of results. This could be starting point. I'm sure someone out there can probablyt recommend one.

http://www.google.com.au/search?q=word+lists+used+as+dictionaries+for+password+security&hl=en&lr=&ie=UTF-8&start=10&sa=N

Cheers
Michael
Anyone for a Mutiny ?
Peter Gillis
Super Advisor

Re: Installing software from source.

Thanks, I'll give that a go.
Maria.
Peter Gillis
Super Advisor

Re: Installing software from source.

Thanks, I'll give that a go.
Maria.
Peter Gillis
Super Advisor

Re: Installing software from source.

Thanks, I'll give that a go.
Maria.