aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/mdcrack/Makefile19
-rw-r--r--security/mdcrack/distinfo1
-rw-r--r--security/mdcrack/files/patch-Makefile33
-rw-r--r--security/mdcrack/pkg-comment1
-rw-r--r--security/mdcrack/pkg-descr3
-rw-r--r--security/mdcrack/pkg-plist1
7 files changed, 59 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index f5576880a6d9..3d55dd02f05f 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -67,6 +67,7 @@
SUBDIR += lsh
SUBDIR += lxnb
SUBDIR += mcrypt
+ SUBDIR += mdcrack
SUBDIR += mhash
SUBDIR += mindterm-binary
SUBDIR += nbaudit
diff --git a/security/mdcrack/Makefile b/security/mdcrack/Makefile
new file mode 100644
index 000000000000..46dac6be4f00
--- /dev/null
+++ b/security/mdcrack/Makefile
@@ -0,0 +1,19 @@
+# ex:ts=8
+# New ports collection makefile for: mdcrack
+# Date created: Apr 19, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mdcrack
+PORTVERSION= 0.9
+CATEGORIES= security
+MASTER_SITES= http://mdcrack.multimania.com/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+ALL_TARGET= ${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/security/mdcrack/distinfo b/security/mdcrack/distinfo
new file mode 100644
index 000000000000..b03bfa9d2d1c
--- /dev/null
+++ b/security/mdcrack/distinfo
@@ -0,0 +1 @@
+MD5 (mdcrack-0.9.tar.gz) = 1f94b731b49f4922ba42c282dfe2464e
diff --git a/security/mdcrack/files/patch-Makefile b/security/mdcrack/files/patch-Makefile
new file mode 100644
index 000000000000..8c19c88a6701
--- /dev/null
+++ b/security/mdcrack/files/patch-Makefile
@@ -0,0 +1,33 @@
+--- Makefile.orig Mon Apr 9 10:12:24 2001
++++ Makefile Fri Apr 20 01:04:09 2001
+@@ -9,7 +9,6 @@
+ # Security, Inc. MD5 Message-Digest Algorithm
+ #
+
+-CC = gcc
+
+ # Please set RESUME_FILE and choose a secure place for the resume file
+ # before using mdcrack as root.
+@@ -45,12 +44,10 @@
+ BLOCK=-DBLOCKSIZE=50
+
+
+-CFLAGS = -O3 -fforce-addr -funroll-loops
+
+ # static linkage will suppress a little overhead due to obj search/mountage.
+ # useless for big sessions.
+
+-LDFLAGS = -static
+
+ mdcrack: md5c.o mdcrack.o stats.o errors.o
+ $(CC) $(LDFLAGS) -o mdcrack md5c.o mdcrack.o stats.o errors.o
+@@ -80,7 +77,7 @@
+ rm -f *.o mdcrack
+
+ install:
+- @echo -e "\nInstalling mdcrack in /usr/sbin/mdcrack\n"
+- cp ./mdcrack /usr/sbin/mdcrack
++ @echo -e "\nInstalling mdcrack in ${PREFIX}/bin/mdcrack\n"
++ cp ./mdcrack ${PREFIX}/bin/mdcrack
+ @echo -e "\nok.\n"
+
diff --git a/security/mdcrack/pkg-comment b/security/mdcrack/pkg-comment
new file mode 100644
index 000000000000..c8ab529fe28e
--- /dev/null
+++ b/security/mdcrack/pkg-comment
@@ -0,0 +1 @@
+Bruteforce password MD5 hashes
diff --git a/security/mdcrack/pkg-descr b/security/mdcrack/pkg-descr
new file mode 100644
index 000000000000..1c270e3481f7
--- /dev/null
+++ b/security/mdcrack/pkg-descr
@@ -0,0 +1,3 @@
+Bruteforce password MD5 hashes
+
+WWW: http://mdcrack.multimania.com/
diff --git a/security/mdcrack/pkg-plist b/security/mdcrack/pkg-plist
new file mode 100644
index 000000000000..943873839dc5
--- /dev/null
+++ b/security/mdcrack/pkg-plist
@@ -0,0 +1 @@
+bin/mdcrack