diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-12 23:31:42 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:31:42 +0200 |
commit | b390dfd9ee211d27088e7c1534e49d29b427338b (patch) | |
tree | ec4af7ece9965cfd50f393b5df0e575a3178d835 /misc/ophcrack | |
parent | 97cd1c11dfd26f73bdd837f8aa8645ddbc8e9c6e (diff) | |
download | slackbuilds-b390dfd9ee211d27088e7c1534e49d29b427338b.tar.gz |
misc/ophcrack: Added to 12.2 repository
Diffstat (limited to 'misc/ophcrack')
-rw-r--r-- | misc/ophcrack/README | 18 | ||||
-rw-r--r-- | misc/ophcrack/doinst.sh | 4 | ||||
-rw-r--r-- | misc/ophcrack/ophcrack.1 | 117 | ||||
-rw-r--r-- | misc/ophcrack/ophcrack.SlackBuild | 97 | ||||
-rw-r--r-- | misc/ophcrack/ophcrack.desktop | 11 | ||||
-rw-r--r-- | misc/ophcrack/ophcrack.info | 8 | ||||
-rw-r--r-- | misc/ophcrack/slack-desc | 19 |
7 files changed, 274 insertions, 0 deletions
diff --git a/misc/ophcrack/README b/misc/ophcrack/README new file mode 100644 index 0000000000..994daa23e0 --- /dev/null +++ b/misc/ophcrack/README @@ -0,0 +1,18 @@ +Ophcrack is a free Windows password cracker based on rainbow tables. +It is a very efficient implementation of rainbow tables done by the +inventors of the method. It comes with a Graphical User Interface +and runs on multiple platforms. + +This optionally requires qt4 for the gui, but if you do not wish to +build the gui, you can use the command line mode; run the build script +like this: GUI=no ./ophcrack.SlackBuild + +Ophcrack has a graphing function that goes with the ophcrack gui. The +graphing function depends on the qwt package available at +slackbuilds.org. qwt must be built with Qt4 as well by passing +QMAKE="qmake-qt4" to qwt.SlackBuild, otherwise, the ophcrack slackbuild will +fail with qwt Qt3 bindings. To enable the graphing function run the +build script like this: GRAPH=yes ./ophcrack.SlackBiuld + +Ophcrack tables can be found at +http://ophcrack.sourceforge.net/tables.php
\ No newline at end of file diff --git a/misc/ophcrack/doinst.sh b/misc/ophcrack/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/misc/ophcrack/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/misc/ophcrack/ophcrack.1 b/misc/ophcrack/ophcrack.1 new file mode 100644 index 0000000000..881c6a8661 --- /dev/null +++ b/misc/ophcrack/ophcrack.1 @@ -0,0 +1,117 @@ +.TH OPHCRACK "1" "March 2009" "3.2.0" "User Commands" + +.SH NAME +Ophcrack - a Microsoft Windows password cracker using rainbow tables. + +.SH DESCRIPTION +.B Ophcrack +is a Windows password cracker based on a time-memory trade-off using rainbow tables. +.br +This is a new variant of Hellman's original trade-off, with better performance. +.br +It recovers 99.9% of alphanumeric passwords in seconds. +.PP +.B Ophcrack +works for Windows NT/2000/XP/Vista. +.PP +.B Ophcrack +can be used with command line using the options below, or can be run as a pure graphical software. +.PP +If you have installed ophrack-cli package, graphical interface is not available. + +.SH SYNOPSIS +ophcrack [options] + +.SH OPTIONS +.TP +.I -a +disable audit mode (default) +.TP +.I -A +enable audit mode +.TP +.I -b +disable bruteforce +.TP +.I -B +enable bruteforce (default) +.TP +.I -c <file> +specify the config file to use +.TP +.I -D +display (lots of!) debugging information +.TP +.I -d <dir> +specify tables base directory +.TP +.I -e +do not display empty passwords +.TP +.I -f <file> +load hashes from the specified file (pwdump or session) +.TP +.I -g +disable GUI +.TP +.I -h +display this information +.TP +.I -i +hide usernames +.TP +.I -I +show usernames (default) +.TP +.I -l <file> +log all output to the specified file +.TP +.I -n <num> +specify the number of threads to use +.TP +.I -o <file> +write cracking output to file in pwdump format +.TP +.I -q +quiet mode +.TP +.I -r +launch the cracking when ophcrack starts (GUI only) +.TP +.I -s +disable session auto-saving +.TP +.I -S <session_file> +specify the file to use to automatically save the progress of the search +.TP +.I -u +display statistics when cracking ends +.TP +.I -t table1[,a[,b,...]][:table2[,a[,b,...]]] +specify which table to use in the directory given by \-d +.TP +.I -v +verbose +.TP +.I -w <dir> +load hashes from encrypted SAM file in directory dir +.TP +.I -x +export data in CSV format to the file specified by \-o + +.SH EXAMPLES +.B ophcrack -g -d /path/to/tables -t xp_free_fast,0,3:vista_free -f in.txt +.PP +Launch ophcrack in command line using tables 0 and 3 in /path/to/tables/xp_free_fast and all tables in /path/to/tables/vista_free and cracks hashes from pwdump file in.txt + +.SH "SEE ALSO" +Homepage: http://ophcrack.sourceforge.net/ +.br +Free rainbow tables: http://ophcrack.sourceforge.net/tables.php + +.SH AUTHOR +This manual page was written by Adam Cecile <gandalf@le-vert.net> for the Debian system (but may be used by others). +.br +Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation +.br +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. diff --git a/misc/ophcrack/ophcrack.SlackBuild b/misc/ophcrack/ophcrack.SlackBuild new file mode 100644 index 0000000000..c4be94beee --- /dev/null +++ b/misc/ophcrack/ophcrack.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh +# Slackware build script for ophcrack +# Written by Larry Hajali <larryhaja[at]gmail[dot]com> + +PRGNAM=ophcrack +VERSION=${VERSION:-3.3.0} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +GUI=${GUI:-yes} +GRAPH=${GRAPH:-no} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +if [ "$GUI" != "yes" ]; then + GUI_STATUS="--disable-gui" +else + GUI_STATUS="--enable-gui" +fi + +if [ "$GUI" == "yes" ] && [ "$GRAPH" == "yes" ]; then + GRAPH_STATUS="--enable-graph" +else + GRAPH_STATUS="--disable-graph" +fi + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --enable-debug=no \ + --build=$ARCH-slackware-linux \ + $GUI_STATUS \ + $GRAPH_STATUS + +make +make install DESTDIR=$PKG + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/usr/man/man1 +gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz + +if [ "$GUI" = "yes" ]; then + # Make a desktop menu entry + mkdir -p $PKG/usr/share/{applications,pixmaps} + cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop + cat src/gui/pixmaps/os.xpm > $PKG/usr/share/pixmaps/$PRGNAM.xpm +fi + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS ChangeLog COPYING INSTALL LICENSE* NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/misc/ophcrack/ophcrack.desktop b/misc/ophcrack/ophcrack.desktop new file mode 100644 index 0000000000..6ae7c778a5 --- /dev/null +++ b/misc/ophcrack/ophcrack.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=3.2.1 +Encoding=UTF-8 +Name=Ophcrack +Exec=ophcrack +Icon=ophcrack.xpm +Type=Application +Terminal=0 +Comment=Microsoft Windows password cracker +Comment[fr]=Casseur de mot de passe Microsoft Windows +Categories=Application;Utility; diff --git a/misc/ophcrack/ophcrack.info b/misc/ophcrack/ophcrack.info new file mode 100644 index 0000000000..96f97fea47 --- /dev/null +++ b/misc/ophcrack/ophcrack.info @@ -0,0 +1,8 @@ +PRGNAM="ophcrack" +VERSION="3.3.0" +HOMEPAGE="http://ophcrack.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/ophcrack/ophcrack-3.3.0.tar.bz2" +MD5SUM="09028bf3d470cf050baf7639ecf5943f" +MAINTAINER="Larry Hajali" +EMAIL="larryhaja[at]gmail[dot]com" +APPROVED="rworkman" diff --git a/misc/ophcrack/slack-desc b/misc/ophcrack/slack-desc new file mode 100644 index 0000000000..e0de90fefd --- /dev/null +++ b/misc/ophcrack/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +ophcrack: ophcrack (Windows password cracker) +ophcrack: +ophcrack: Ophcrack is a free Windows password cracker based on rainbow tables. +ophcrack: It is a very efficient implementation of rainbow tables done by the +ophcrack: inventors of the method. It comes with a Graphical User Interface and +ophcrack: runs on multiple platforms. +ophcrack: +ophcrack: Homepage: http://ophcrack.sourceforge.net/ +ophcrack: +ophcrack: +ophcrack: |