diff options
-rw-r--r-- | network/aircrack-ng/README | 10 | ||||
-rw-r--r-- | network/aircrack-ng/aircrack-ng.SlackBuild | 69 | ||||
-rw-r--r-- | network/aircrack-ng/aircrack-ng.info | 8 | ||||
-rw-r--r-- | network/aircrack-ng/slack-desc | 19 |
4 files changed, 106 insertions, 0 deletions
diff --git a/network/aircrack-ng/README b/network/aircrack-ng/README new file mode 100644 index 000000000000..a1ff422981b5 --- /dev/null +++ b/network/aircrack-ng/README @@ -0,0 +1,10 @@ +aircrack is an 802.11 WEP and WPA-PSK keys cracking program that can recover +keys once enough data packets have been captured. It implements the standard +FMS attack along with some optimizations like KoreK attacks, thus making the +attack much faster compared to other WEP cracking tools. In fact, aircrack is +a set of tools for auditing wireless networks. + +NOTE: This SlackBuild depends on SQLite, also found on slackbuilds.org +If you wish to build without SQLite simply pass OPT=" " to the SlackBuild. + +WARNING: Only to be used for surveillance of your own network. Use with care. diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild new file mode 100644 index 000000000000..90c77bac2033 --- /dev/null +++ b/network/aircrack-ng/aircrack-ng.SlackBuild @@ -0,0 +1,69 @@ +#!/bin/sh +# Slackware build script for aircrack-ng +# Written by Yalla-One <yallaone@gmail.com> + +PRGNAM=aircrack-ng +VERSION=1.0_beta2 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="AUTHORS ChangeLog INSTALLING LICENSE LICENSE.OpenSSL README VERSION" +OPT=${OPT:-sqlite=true} + +SRCVERSION=$(echo $VERSION | tr _ -) + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +cd $PRGNAM-$SRCVERSION +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +make ${OPT} +make prefix=/usr ${OPT} 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 +) + +# Compress man pages +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +# Compress info pages and remove the package's dir file +rm -f $PKG/usr/info/dir + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/network/aircrack-ng/aircrack-ng.info b/network/aircrack-ng/aircrack-ng.info new file mode 100644 index 000000000000..9559b82f7855 --- /dev/null +++ b/network/aircrack-ng/aircrack-ng.info @@ -0,0 +1,8 @@ +PRGNAM="aircrack-ng" +VERSION="1.0_beta2" +HOMEPAGE="http://www.aircrack-ng.org" +DOWNLOAD="http://download.aircrack-ng.org/aircrack-ng-1.0-beta2.tar.gz" +MD5SUM="66017aad4f23153419fdb04c83e65aaf" +MAINTAINER="Yalla-One" +EMAIL="yallaone@gmail.com" +APPROVED="David Somero,rworkman" diff --git a/network/aircrack-ng/slack-desc b/network/aircrack-ng/slack-desc new file mode 100644 index 000000000000..f4c2e2dd5d8b --- /dev/null +++ b/network/aircrack-ng/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--------------------------------------------------| +aircrack-ng: aircrack-ng (WLAN auditing tool) +aircrack-ng: +aircrack-ng: aircrack is an 802.11 WEP and WPA-PSK keys cracking program that +aircrack-ng: can recover keys once enough data packets have been captured. +aircrack-ng: It implements the standard FMS attack along with some +aircrack-ng: optimizations like KoreK attacks, thus making the attack much +aircrack-ng: faster compared to other WEP cracking tools. In fact, aircrack +aircrack-ng: is a set of tools for auditing wireless networks. +aircrack-ng: +aircrack-ng: Homepage: http://www.aircrack-ng.org/ +aircrack-ng: |