LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-23-2004, 10:23 AM   #1
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Program: Crack


I was recently reading a book and i saw that theres the program crack for checking to see if your passwords are easy to crack using the program crack by Alec Muffet or soemthing like that anyways i downloaded the program and followed the manual file and it said to type Crack -makeonly so i did that and i get the error cannot find the path to crypt or crypt file not found!!!! I dunno what to do Anyknow know how to use this program could you please help me thanx!!!


Matt3333
 
Old 01-23-2004, 12:05 PM   #2
nesware
Member
 
Registered: Jan 2004
Location: belgium
Distribution: Slackware
Posts: 117

Rep: Reputation: 15
either you [I}miss-spelled[/I] .. should be crack not Crack... or your current dir is not in your path.. then type ./crack or ./Crack
 
Old 01-23-2004, 01:53 PM   #3
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok well in thge manual it say to type ./Crack -makeonly with a capital C im not sure what u mean by "or the current dir is not in your path".

In the book i was reading it say to copy all the stuff in /etc/passwd and /etc/shadow and put it in another file such as passwd.txt then cd /path/to/crack/sw then scripts/shadmrg.sv > passwd.txt right here im not sure what to do? first of all my going to try to copy everything in passwd.txt a new file and then ill cd to the dir that Crack and look for shadmrg.sv and ill type scripts/shadmrg.sv > /home/Matt/crack/passwd.txt something like that

Thanx if you know more about this please help me!!!


Matt3333
 
Old 01-23-2004, 05:55 PM   #4
nesware
Member
 
Registered: Jan 2004
Location: belgium
Distribution: Slackware
Posts: 117

Rep: Reputation: 15
ok.. go to the directory where the program is installed and type
ls -la
you will see one of these (i hope)
-rwxr-xr-x 1 user users 173 Jan 21 20:52 crack
-rwxr-xr-x 1 user users 173 Jan 21 20:52 Crack

look for the one with the -rwxr-xr-x
ok... now type ./Crack or ./crack or post the output of ls -la (if its not to big)
 
Old 01-23-2004, 10:58 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by matt3333
Ok well in thge manual it say to type ./Crack -makeonly with a capital C im not sure what u mean by "or the current dir is not in your path".

In the book i was reading it say to copy all the stuff in /etc/passwd and /etc/shadow and put it in another file such as passwd.txt then cd /path/to/crack/sw then scripts/shadmrg.sv > passwd.txt right here im not sure what to do? first of all my going to try to copy everything in passwd.txt a new file and then ill cd to the dir that Crack and look for shadmrg.sv and ill type scripts/shadmrg.sv > /home/Matt/crack/passwd.txt something like that

Thanx if you know more about this please help me!!!


Matt3333
Whoa, since when can you have user names that start with capital letters?
 
Old 01-24-2004, 10:35 AM   #6
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok i do that nesware thank you ill put what i get in my next post i just wanted to respond to r_jensen11 No i dont think you can have users with Capital names but the reason my directory is /home/Matt and not /home/matt is because i linked my user matt to that home directory with i had from previously installed linux if that makes sense.

Matt3333
 
Old 01-24-2004, 10:48 AM   #7
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Code:
root@Darkpunk:/home/Matt/Downloads/c50a# ls -la
total 132
drwx------    9 500      500          4096 Jan 23 01:56 ./
drwxr-xr-x   17 matt     users        4096 Jan 23 02:06 ../
-rwx------    1 500      500         10788 Dec 20  1996 Crack*
-rw-------    1 500      500          6415 Dec 20  1996 LICENCE
-rw-------    1 500      500          1444 Dec 20  1996 Makefile
-rwx------    1 500      500          1792 Dec 13  1996 Reporter*
drwx------    2 500      500          4096 Jan 23 01:56 conf/
drwx------    5 500      500          4096 Nov  4  1996 dict/
drwx------    2 500      500          4096 Jan 23 01:56 doc/
drwx------    2 500      500          4096 Jan 23 01:56 extra/
-rw-------    1 500      500         33251 Dec 20  1996 manual.html
-rw-------    1 500      500         31320 Dec 20  1996 manual.txt
drwx------    3 root     root         4096 Jan 22 11:04 run/
drwx------    2 500      500          4096 Jan 23 01:56 scripts/
drwx------    5 500      500          4096 Nov  4  1996 src/
This is what i get for ls -la is this what its suppose to be like??? anways ill post wheat i get for ./Crack

When that is typed i get this

Code:
root@Darkpunk:/home/Matt/Downloads/c50a# ./Crack
Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: Linux Darkpunk 2.4.20 #2 Mon Mar 17 22:02:15 PST 2003 i586 unknown
Home: /home/Matt/Downloads/c50a
Invoked: ./Crack
Stamp: linux-2-unknown
 
Usage: Crack [options] [bindir] [[-fmt format] files]...
But when i type ./Crack passwd.txt This is the end theres tons more at the top

Code:
DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H' XCC=cc 'XLIB=../../run/bin/passwd.txt/libc5.a ' ../../run/bin/passwd.txt/libdes-cracker
make[2]: Entering directory `/home/Matt/Downloads/c50a/src/util'
cc -g -O -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H -I../lib -c elcid.c
cc -g -O -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H -I../lib -o ../../run/bin/passwd.txt/cracker cracker.c elcid.o ../../run/bin/passwd.txt/libc5.a  ../libdes/libdes.a
date > ../../run/bin/passwd.txt/libdes-cracker
make[2]: Leaving directory `/home/Matt/Downloads/c50a/src/util'
cc -g -O -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H -I../lib -o ../../run/bin/passwd.txt/dictfilt dictfilt.c elcid.o ../../run/bin/passwd.txt/libc5.a
elcid.o(.text+0x149): In function `elcid_test':
/home/Matt/Downloads/c50a/src/util/elcid.c:159: undefined reference to `crypt'
collect2: ld returned 1 exit status
make[1]: *** [../../run/bin/passwd.txt/dictfilt] Error 1
make[1]: Leaving directory `/home/Matt/Downloads/c50a/src/util'
make: *** [utils] Error 1
root@Darkpunk:/home/Matt/Downloads/c50a#
Thanx for your help !!!!

Matt3333
 
Old 01-24-2004, 12:54 PM   #8
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
According to the readme, after you do the Crack -makeonly you have to do Crack -makedict

If you don't do that, it doesn't have a dictionary file to look in to crack the passwords (or try to). Once you do that, THEN you do Crack password.txt

Jeff

Last edited by CartersAdvocate; 01-24-2004 at 01:11 PM.
 
Old 01-24-2004, 01:16 PM   #9
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
Oh, and don't do ./Crack except for the ./Crack -makeonly

That is a script that is used when it builds the binaries (you might need to edit it to enter the right paths (which might be why -makeonly didn't work for you))

When you run ./Crack -makeonly it should build the binary and put it somewhere in your path...so to sum up, here is the order of commands:

./Crack -makeonly
Crack -makedict
Crack password.txt


I've never used the program, I'm just trying to decipher the readme file for you, so let me know if this does/doesn't work

Jeff
 
Old 01-24-2004, 02:38 PM   #10
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by matt3333
Ok i do that nesware thank you ill put what i get in my next post i just wanted to respond to r_jensen11 No i dont think you can have users with Capital names but the reason my directory is /home/Matt and not /home/matt is because i linked my user matt to that home directory with i had from previously installed linux if that makes sense.

Matt3333
Ahh, dude, that would get confusing if you used something like kdm for a long time, having it automatically log you in all the time. Because then, as things are apt to do, something would break, you'd try to log in via text console, and when you put in the user, you put in Matt instead of matt. I dunno, it would just trip me up too much.
 
Old 01-25-2004, 10:20 PM   #11
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
ok when i type ./crack -makeonly i get this

Code:
make[1]: Entering directory `/home/Matt/Downloads/c50a/src/util'
cc -g -O -DUSE_STRING_H -DUSE_STDLIB_H -DUSE_SIGNAL_H -DUSE_SYS_TYPES_H -DUSE_UNISTD_H -DUSE_PWD_H -I../lib -o ../../run/bin/linux-2-unknown/dictfilt dictfilt.c elcid.o ../../run/bin/linux-2-unknown/libc5.a
cc: elcid.o: No such file or directory
make[1]: *** [../../run/bin/linux-2-unknown/dictfilt] Error 1
make[1]: Leaving directory `/home/Matt/Downloads/c50a/src/util'
make: *** [utils] Error 1
root@Darkpunk:/home/Matt/Downloads/c50a#
i cant get any farther than this to do any of the other steps know why this cant find elcid.o??? whats that file for anyways??? and oh should this have some sort of Configure file that would be so much easyier than looking for a file to alter and find crypt anyone know where crypt is if i need to know?? I also dont know what to edit it doesnt really have much in the readme??
Thanx for your help guys!

Matt3333
 
Old 01-26-2004, 01:28 AM   #12
darklogik_org
Member
 
Registered: Jan 2004
Distribution: freebsd 5.3, openbsd 3.6, slackware 10
Posts: 96

Rep: Reputation: 15
Do a google search for John the Ripper. It will work from a bare minimum install of Slack and is faster than any other app I've tried for password checking.

mark
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
*nix program that removes/crack Windows EFS? nizbit Linux - Software 0 01-23-2005 05:01 PM
Crack Package aarond Linux - Security 1 07-22-2004 06:32 PM
Can anyone recommend WEP crack program? inthefuture Linux - Security 5 07-03-2004 01:39 AM
Urpmi on crack bluefire Linux - Software 5 10-06-2003 10:39 PM
Why is Windows on Crack? finegan Linux - Software 3 01-30-2002 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration