- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installing jumbo patch to john the ripper 1.7.9
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2012 01:37 AM
06-14-2012 01:37 AM
Hi all,
I am having some issues trying to install the jumbo5 patch to john the ripper version 1.7.9. I am doing this in order to be able to audit LDAP passwords crypted as SSHA.
The problem is that I am following the instructions on the official website but when i type the command: "patch p1 < ../john-1.7.9-diff" it says "Hmm... I can't seem to find a patch in there anywhere"
I am working on a HP-UX 11.31 server with john the ripper 1.7.9 already installed and working.
I've checked with the file command what type of file the patch is and it says "c program text".I don't know if I am doing something wrong. Here I post the link with the instructions I'm following.
http://openwall.info/wiki/john/how-to-extract-tarballs-and-apply-patches
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2012 04:41 AM
06-14-2012 04:41 AM
SolutionIs your "john-1.7.9-diff" the same file as this one?
http://download.openwall.net/pub/projects/john/1.7.9/john-1.7.9-jumbo-5.diff.gz
The important part for troubleshooting problems like this is the patch header:
diff -urpN john-1.7.9.orig/README-jumbo john-1.7.9/README-jumbo --- john-1.7.9.orig/README-jumbo 1970-01-01 00:00:00 +0000 +++ john-1.7.9/README-jumbo 2011-12-15 00:00:00 +0000
It indicates the "diff" command used to produce the patch. The '-u' option means the "unified" mode of GNU diff... which is unfortunately not supported by HP-UX diff/patch utilities.
You'll need the GNU "patch" utility, which includes support for the "unified" diff mode:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/patch-2.6.1/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2012 07:33 AM
06-14-2012 07:33 AM
Re: Installing jumbo patch to john the ripper 1.7.9
Hi,
I have checked my patch and it does have the same header as the one you show there. I have downloaded the GNU patch and installed it but it still does not work. I don't know if I have to do something different, I just installed the GNU patch with swinstall and tried the command again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2012 12:56 AM
06-15-2012 12:56 AM
Re: Installing jumbo patch to john the ripper 1.7.9
The GNU patch command will be installed in /usr/local/bin, while the standard HP-UX patch command is in /usr/bin.
If your $PATH environment variable lists /usr/bin before /usr/local/bin (or if /usr/local/bin is not listed at all), the standard /usr/bin/patch will be used unless you specify the path explicitly:
$ /usr/local/bin/patch -p1 < ../john-1.7.9-diff
Alternatively, you could rename the GNU patch command to a different name to make it easily distinguishable from the HP-UX standard "patch" command:
# mv /usr/local/bin/patch /usr/local/bin/gnupatch $ gnupatch -p1 < ../john-1.7.9.diff
(If you find that /usr/local/bin is not listed in your $PATH, you might want to edit the system default setting for that variable. It is located in file /etc/PATH. If you add it, you might want to add /usr/local/man to /etc/MANPATH too. Both files should contain just a single line of text, with a colon-separated list of directories on it.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2012 01:53 AM
06-15-2012 01:53 AM
Re: Installing jumbo patch to john the ripper 1.7.9
It has worked!! Thank you very much for your help.
The only problem is that it's not working for the SSHA encrypted passwords as I thought it would do. Maybe I need a different patch. I'll try to look for it.
Thanks again for the help!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 02:53 AM - edited 06-18-2012 02:58 AM
06-18-2012 02:53 AM - edited 06-18-2012 02:58 AM
Re: Installing jumbo patch to john the ripper 1.7.9
Hi again,
I have tried to install the John the Ripper 1.7.9-jumbo-5 which has the jumbo patch included but when I try to compile it, it gives this error:
"Make: Must be a separator on rules line 50. Stop."
I am installing it on hp-ux 11.31
- Tags:
- make
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 12:31 PM
06-18-2012 12:31 PM
Re: Installing jumbo patch to john the ripper 1.7.9
>"Make: Must be a separator on rules line 50. Stop."
What's on line 50? Is there a leading tab? Are you using gmake instead of HP-UX make?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2012 09:09 AM
06-21-2012 09:09 AM
Re: Installing jumbo patch to john the ripper 1.7.9
Hi,
Sorry for the late reply.
I have compiled it following these instructions:
http://www.openwall.com/john/doc/INSTALL.shtml
I've tried the make clean SYSTEM and make clean generic. I've tried with these 2:
/usr/bin/make
/usr/ccs/bin/make
By the way, I guess the error refers to the file rules.c which is blank...
struct HashPtr *pHashTbl, *pHashDat;
static struct cfg_list rules_tmp_dup_removal;
static int rules_tmp_dup_removal_cnt;
static struct {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2012 11:24 AM
06-21-2012 11:24 AM
Re: Installing jumbo patch to john the ripper 1.7.9
>I've tried with these 2: /usr/bin/make /usr/ccs/bin/make
You may need to download GNU make into /usr/local/bin/gmake. Especially if there is conditional make commands in the makefile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2012 05:45 AM
07-04-2012 05:45 AM
Re: Installing jumbo patch to john the ripper 1.7.9
Hi,
I'm having some trouble using the gnu make. I'm downloading it from here http://ftp.gnu.org/gnu/make/ the version 3.82. Once it's untar'ed' I don't really know how to use it. Sorry for the silly question but could you help me at this stage?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2012 01:15 PM
07-04-2012 01:15 PM
Re: Installing jumbo patch to john the ripper 1.7.9
>Once it's untar'ed' I don't really know how to use it.
What's the path to the executable?
You should be able to invoke it by:
/usr/local/bin/make