diff options
| author | danix <danix@danix.xyz> | 2026-03-18 12:29:26 +0100 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2026-03-18 12:29:26 +0100 |
| commit | 414d3b50ee388fc30d781108d00d0c26c7f35ef2 (patch) | |
| tree | 25f8438327089a98f19152e57cc0401bbed3636b | |
| parent | f0bd604f5c3e7cfbcb0437d02939581367ec2831 (diff) | |
| download | slackware-pentesting-suite-414d3b50ee388fc30d781108d00d0c26c7f35ef2.tar.gz slackware-pentesting-suite-414d3b50ee388fc30d781108d00d0c26c7f35ef2.zip | |
added webshells package
| -rw-r--r-- | SlackBuilds/webshells/README | 7 | ||||
| -rw-r--r-- | SlackBuilds/webshells/slack-desc | 19 | ||||
| -rw-r--r-- | SlackBuilds/webshells/webshells.SlackBuild | 75 | ||||
| -rw-r--r-- | SlackBuilds/webshells/webshells.info | 10 |
4 files changed, 111 insertions, 0 deletions
diff --git a/SlackBuilds/webshells/README b/SlackBuilds/webshells/README new file mode 100644 index 0000000..fb76530 --- /dev/null +++ b/SlackBuilds/webshells/README @@ -0,0 +1,7 @@ +Web Shells + +A collection of webshells for ASP, ASPX, CFM, JSP, Perl, and +PHP servers. + +The content of this package comes from the Kali Linux repository. + diff --git a/SlackBuilds/webshells/slack-desc b/SlackBuilds/webshells/slack-desc new file mode 100644 index 0000000..6cbeaa2 --- /dev/null +++ b/SlackBuilds/webshells/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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +webshells: webshells (Collection of webshells) +webshells: +webshells: A collection of webshells for ASP, ASPX, CFM, JSP, Perl +webshells: and PHP servers. +webshells: The content of this package comes from the Kali Linux repository +webshells: +webshells: +webshells: Home: https://gitlab.com/kalilinux/packages/webshells +webshells: +webshells: +webshells: diff --git a/SlackBuilds/webshells/webshells.SlackBuild b/SlackBuilds/webshells/webshells.SlackBuild new file mode 100644 index 0000000..8f033e6 --- /dev/null +++ b/SlackBuilds/webshells/webshells.SlackBuild @@ -0,0 +1,75 @@ +#!/bin/bash + +# Slackware build script for webshells + +# Copyright 2026 danix <danix@danix.xyz> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=webshells +VERSION=${VERSION:-1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +ARCH=noarch + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf ${PRGNAM}-kali-${VERSION}+kali8 +tar xvf $CWD/${PRGNAM}-kali-${VERSION}+kali8.tar.gz +cd ${PRGNAM}-kali-${VERSION}+kali8 +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 {} \; + +mkdir -p "$PKG"/usr/share/$PRGNAM +cp -r asp aspx cfm jsp perl php "$PKG"/usr/share/$PRGNAM + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + debian/{changelog,copyright} \ + $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.$PKGTYPE diff --git a/SlackBuilds/webshells/webshells.info b/SlackBuilds/webshells/webshells.info new file mode 100644 index 0000000..eb85ce6 --- /dev/null +++ b/SlackBuilds/webshells/webshells.info @@ -0,0 +1,10 @@ +PRGNAM="webshells" +VERSION="1.1" +HOMEPAGE="https://gitlab.com/kalilinux/packages/webshells" +DOWNLOAD="https://gitlab.com/kalilinux/packages/webshells/-/archive/kali/1.1+kali8/webshells-kali-1.1+kali8.tar.gz" +MD5SUM="da415e49473feee85a65b4017ab87fbb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="danix" +EMAIL="danix@danix.xyz" |
