aboutsummaryrefslogtreecommitdiffstats
path: root/SlackBuilds/hydra
diff options
context:
space:
mode:
Diffstat (limited to 'SlackBuilds/hydra')
-rw-r--r--SlackBuilds/hydra/README17
-rw-r--r--SlackBuilds/hydra/doinst.sh4
-rw-r--r--SlackBuilds/hydra/hydra.SlackBuild112
-rw-r--r--SlackBuilds/hydra/hydra.desktop10
-rw-r--r--SlackBuilds/hydra/hydra.info10
-rw-r--r--SlackBuilds/hydra/slack-desc19
6 files changed, 0 insertions, 172 deletions
diff --git a/SlackBuilds/hydra/README b/SlackBuilds/hydra/README
deleted file mode 100644
index 33ab88b..0000000
--- a/SlackBuilds/hydra/README
+++ /dev/null
@@ -1,17 +0,0 @@
-Hydra (A very fast network login cracker)
-
-One of the biggest security holes are user passwords, as every
-password security study shows. This tool is a proof of concept,
-to give researchers and security consultants a way to demonstrate
-how easy it would be to gain unauthorized access to a remote system.
- THIS TOOL IS FOR LEGAL PURPOSES ONLY!
-
-postgresql is an optional dependency, as is sap, but sap is not
-available at SBo.
-
-This SlackBuild includes an option to omit the GTK-based frontend
-xhydra.
-To omit xhydra, just pass XHYDRA=0 to the script:
- XHYDRA=0 sh hydra.SlackBuild
-
-See the README installed in /usr/doc/hydra-$VERSION for more info
diff --git a/SlackBuilds/hydra/doinst.sh b/SlackBuilds/hydra/doinst.sh
deleted file mode 100644
index 4e8ba70..0000000
--- a/SlackBuilds/hydra/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-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/SlackBuilds/hydra/hydra.SlackBuild b/SlackBuilds/hydra/hydra.SlackBuild
deleted file mode 100644
index 253d889..0000000
--- a/SlackBuilds/hydra/hydra.SlackBuild
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/bash
-# Slackware build script for Hydra
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
-# Updated by Kent Fritz <fritz.kent@gmail.com>
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=hydra
-VERSION=${VERSION:-9.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-SRCNAM=thc-$PRGNAM
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-XHYDRA=${XHYDRA:-1}
-if [ "$XHYDRA" = "1" ]; then
- CONFIG_OPTS=""
- MAKE_OPTS=""
-else
- CONFIG_OPTS="--disable-xhydra"
- MAKE_OPTS="XHYDRA_SUPPORT="
-fi
-
-./configure $CONFIG_OPTS --prefix=$PKG/usr
-make OPTS="-I. $SLKCFLAGS -fcommon" $MAKE_OPTS
-mkdir -p $PKG/usr/etc
-make install
-
-# Move password lists
-mkdir -p $PKG/usr/share/$PRGNAM
-mv $PKG/usr/etc/* $PKG/usr/share/$PRGNAM
-rm -rf $PKG/usr/etc
-# Fix paths in dpl4hydra.sh
-sed -i -e "s|^INSTALLDIR=.*|INSTALLDIR=/usr|" $PKG/usr/bin/dpl4hydra.sh
-sed -i -e "s|^LOCATION=.*|LOCATION=share/$PRGNAM|" $PKG/usr/bin/dpl4hydra.sh
-
-# Add a desktop menu item
-if [ "$XHYDRA" = "1" ]; then
- mkdir -p $PKG/usr/share/{applications,pixmaps}
- install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
- convert hydra-logo.ico $PKG/usr/share/pixmaps/$PRGNAM.png
-fi
-
-if [ "$XHYDRA" = "0" ]; then
- rm $PKG/usr/man/man1/xhydra.1
-fi
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE* README $PKG/usr/doc/$PRGNAM-$VERSION
-if [ "$XHYDRA" = "1" ]; then
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/hydra-gtk
- cp -a hydra-gtk/COPYING hydra-gtk/INSTALL hydra-gtk/README \
- $PKG/usr/doc/$PRGNAM-$VERSION/hydra-gtk
-fi
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-if [ "$XHYDRA" = "1" ]; then
- cat $CWD/doinst.sh > $PKG/install/doinst.sh
-fi
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/SlackBuilds/hydra/hydra.desktop b/SlackBuilds/hydra/hydra.desktop
deleted file mode 100644
index 7b2e350..0000000
--- a/SlackBuilds/hydra/hydra.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-GenericName=
-Name=Hydra
-MimeType=
-Exec=xhydra
-Icon=hydra
-Type=Application
-Terminal=false
-Comment=Network login cracker
-Categories=Utility;
diff --git a/SlackBuilds/hydra/hydra.info b/SlackBuilds/hydra/hydra.info
deleted file mode 100644
index 70eb325..0000000
--- a/SlackBuilds/hydra/hydra.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="hydra"
-VERSION="9.6"
-HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra"
-DOWNLOAD="https://github.com/vanhauser-thc/thc-hydra/archive/v9.6/thc-hydra-9.6.tar.gz"
-MD5SUM="558d2d8b9c5cb0fd18ba108bf78965da"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/SlackBuilds/hydra/slack-desc b/SlackBuilds/hydra/slack-desc
deleted file mode 100644
index 995e9e9..0000000
--- a/SlackBuilds/hydra/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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 ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-hydra: hydra (A very fast network login cracker)
-hydra:
-hydra: One of the biggest security holes are user passwords, as every
-hydra: password security study shows. This tool is a proof of concept,
-hydra: to give researchers and security consultants a way to demonstrate
-hydra: how easy it would be to gain unauthorized access to a remote system.
-hydra: THIS TOOL IS FOR LEGAL PURPOSES ONLY!
-hydra:
-hydra: Homepage: https://github.com/vanhauser-thc/thc-hydra
-hydra:
-hydra: