crack is good! *grin*
This commit is contained in:
parent
775095d08e
commit
059e05636e
50
security/crack/Makefile
Normal file
50
security/crack/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# ex:ts=8
|
||||
# OpenBSD makefile for: Crack
|
||||
# Version required: 5.0
|
||||
# Date created: 19 Nov 1997
|
||||
# Whom: ejovi
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/20 00:18:15 joey Exp $
|
||||
#
|
||||
|
||||
DISTNAME= crack5.0
|
||||
PKGNAME= crack-5.0
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.win.tue.nl/pub/security/ \
|
||||
ftp://ftp.lerc.nasa.gov/security/ \
|
||||
ftp://ftp.ox.ac.uk/pub/comp/security/software/crackers/ \
|
||||
ftp://ftp.auscert.org.au/pub/coast/mirrors/cert.org/tools/crack/ \
|
||||
ftp://ftp.riken.go.jp/pub/net/cert_security_tools/crack/
|
||||
|
||||
MAINTAINER= joey@OpenBSD.ORG
|
||||
|
||||
RESTRICTED= "contains crypto (libdes)"
|
||||
WRKSRC= ${WRKDIR}/c50a
|
||||
|
||||
pre-configure:
|
||||
.if !defined(USE_DES)
|
||||
@/bin/mv -f ${WRKSRC}/src/libdes ${WRKSRC}/src/libdes.notused
|
||||
@/bin/mv -f ${WRKSRC}/src/util/elcid.c ${WRKSRC}/src/util/elcid.c.orig
|
||||
@${CP} -p ${WRKSRC}/src/util/elcid.c,bsd ${WRKSRC}/src/util/elcid.c
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
@(if [ ! -f /usr/share/dict/words ];then \
|
||||
echo "You may want to install the dict distribution into /usr/share/dict" ; \
|
||||
echo "to increase the size of the cracking dictionary." ; \
|
||||
fi)
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC} ; ./Crack -makeonly)
|
||||
(cd ${WRKSRC} ; ./Crack -makedict)
|
||||
.if !defined(USE_DES)
|
||||
@#(cd ${WRKSRC} ; ./Crack -fgnd -fmt bsd ${FILESDIR}/pw-md5.test)
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/crack
|
||||
@${RM} -f ${WRKSRC}/Run/*
|
||||
@(cd ${WRKSRC} ; tar cf - . | (cd ${PREFIX}/crack; tar xfBp -))
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
1
security/crack/files/md5
Normal file
1
security/crack/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (crack5.0.tar.gz) = 6511dca525b7b921ea09eca855cc58f2
|
1
security/crack/files/pw-md5.test
Normal file
1
security/crack/files/pw-md5.test
Normal file
@ -0,0 +1 @@
|
||||
cracker:$1$KhBa0EkO$k4YYCCiLb9QhAZBa3c8D5/:1000:10000::0:0:Evil &:/home/crack:/bin/csh
|
11
security/crack/patches/patch-02
Normal file
11
security/crack/patches/patch-02
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/libdes/Makefile.orig Thu Dec 19 01:29:21 1996
|
||||
+++ src/libdes/Makefile Fri Jan 31 11:14:52 1997
|
||||
@@ -10,7 +10,7 @@
|
||||
# If you are on a DEC Alpha, edit des.h and change the DES_LONG
|
||||
# define to 'unsigned int'. I have seen this give a %20 speedup.
|
||||
|
||||
-OPTS0= -DRAND -DTERMIO #-DNOCONST
|
||||
+OPTS0= -DRAND -DTERMIOS #-DNOCONST
|
||||
|
||||
# Version 1.94 has changed the strings_to_key function so that it is
|
||||
# now compatible with MITs when the string is longer than 8 characters.
|
11
security/crack/patches/patch-03
Normal file
11
security/crack/patches/patch-03
Normal file
@ -0,0 +1,11 @@
|
||||
--- conf/dictgrps.conf.orig Fri Dec 13 10:32:34 1996
|
||||
+++ conf/dictgrps.conf Fri Jan 31 11:16:16 1997
|
||||
@@ -16,7 +16,7 @@
|
||||
# Dict '2' is created from $CRACK_HOME/dict/2/*
|
||||
# Dict '3' is created from $CRACK_HOME/dict/3/*
|
||||
|
||||
-1:/usr/dict/*words* dict/1/*
|
||||
+1:/usr/share/dict/*words* dict/1/*
|
||||
2:dict/2/*
|
||||
3:dict/3/*
|
||||
|
1
security/crack/pkg/COMMENT
Normal file
1
security/crack/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
the "Sensible" Unix Password Cracker.
|
12
security/crack/pkg/DESCR
Normal file
12
security/crack/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
This is Alec Muffett's Crack.
|
||||
|
||||
Crack is a freely available program designed to find encrypted passwords.
|
||||
|
||||
When you would like to crack a 4.4BSD password file:
|
||||
|
||||
Crack -fmt bsd <password_file>
|
||||
|
||||
Or, for non-BSD machines:
|
||||
|
||||
Crack <password_file>
|
||||
|
2
security/crack/pkg/PLIST
Normal file
2
security/crack/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@unexec /bin/rm -rf %D/crack
|
||||
crack
|
Loading…
Reference in New Issue
Block a user