summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-19 17:30:10 +0000
committerijliao <ijliao@FreeBSD.org>2001-04-19 17:30:10 +0000
commit2130b8a772902ce407f5c9312fa160e067ba2c2e (patch)
treec29af985a4d3481c72dbc4f876818d7b5f4f0f3d /security
parentac08a5235ef40eb19d713e88aeb920ce90576b75 (diff)
downloadFreeBSD-ports-2130b8a772902ce407f5c9312fa160e067ba2c2e.zip
FreeBSD-ports-2130b8a772902ce407f5c9312fa160e067ba2c2e.tar.gz
add mdcrack
Bruteforce password MD5 hashes
Diffstat (limited to 'security')
-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 f557688..3d55dd0 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 0000000..46dac6b
--- /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 0000000..b03bfa9
--- /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 0000000..8c19c88
--- /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 0000000..c8ab529
--- /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 0000000..1c270e3
--- /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 0000000..9438738
--- /dev/null
+++ b/security/mdcrack/pkg-plist
@@ -0,0 +1 @@
+bin/mdcrack
OpenPOWER on IntegriCloud