From 3cf0a3944dcbd1569895309265127f0abf285bb0 Mon Sep 17 00:00:00 2001 From: resdb Date: Sat, 22 Oct 2011 16:33:25 -0500 Subject: splicex additions made --- contrib/splicex/LINUX/manual | 10 ++++++- contrib/splicex/LINUX/splicex.py | 15 ++++++---- contrib/splicex/Makefile | 13 +++++++-- contrib/splicex/README | 3 ++ contrib/splicex/configure | 63 +++++++++++++++++++++++++++++++++++----- 5 files changed, 87 insertions(+), 17 deletions(-) (limited to 'contrib') diff --git a/contrib/splicex/LINUX/manual b/contrib/splicex/LINUX/manual index a0959e7..93ab06b 100644 --- a/contrib/splicex/LINUX/manual +++ b/contrib/splicex/LINUX/manual @@ -1,4 +1,12 @@ -.TH SpliceX "" "" "" "Brute Force Utilities For GNU/Linux" +.TH SpliceX "" "" "" "" + __________ _ _ __ __ ______ + / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / + / / / /\\___ \\| '_ \\| | |/ __/ _ \\\\ / / / / / + / / / / ___) | |_) | | | (_| __// \\ / / / / + /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/ + |_| + + .:Brute Force Utilities For GNU/Linux:. .SH OPTIONS diff --git a/contrib/splicex/LINUX/splicex.py b/contrib/splicex/LINUX/splicex.py index 8196423..7565d83 100755 --- a/contrib/splicex/LINUX/splicex.py +++ b/contrib/splicex/LINUX/splicex.py @@ -1,13 +1,14 @@ #!PYTHON HELP = """ - __________ _ _ __ __ ______ - / / / / ___| _ __ | (_) ___ ___\ \/ / / / / / - / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / - / / / / ___) | |_) | | | (_| __// \ / / / / -/_/_/_/ |____/| .__/|_|_|\___\___/_/\_\/_/_/_/ - |_| + __________ _ _ __ __ ______ + / / / / ___| _ __ | (_) ___ ___\ \/ / / / / / + / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / + / / / / ___) | |_) | | | (_| __// \ / / / / + /_/_/_/ |____/| .__/|_|_|\___\___/_/\_\/_/_/_/ + |_| + .:Brute Force Utilities For GNU/Linux:. --help Show help display and exit @@ -109,6 +110,8 @@ LICENSE = """ /_/_/_/ |____/| .__/|_|_|\___\___/_/\_\/_/_/_/ |_| + .:Brute Force Utilities For GNU/Linux:. + SpliceX is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) diff --git a/contrib/splicex/Makefile b/contrib/splicex/Makefile index 6ea7aac..51a9a72 100644 --- a/contrib/splicex/Makefile +++ b/contrib/splicex/Makefile @@ -1,7 +1,7 @@ #!/usr/bin/make -f install-deb: - make clean + make preclean-deb ./configure mkdir DEBIAN/splicex mkdir DEBIAN/splicex/DEBIAN @@ -30,9 +30,8 @@ install-deb: rm -rf DEBIAN/splicex DEBIAN/splicex.deb install: - make clean + make preclean ./configure - make uninstall cp LINUX/splicex.cp /usr/bin/splicex cp LINUX/splicex-deshadow.cp /usr/bin/splicex-deshadow rm -rf LINUX/*.cp @@ -58,6 +57,14 @@ uninstall: clean: rm DEBIAN/splicex DEBIAN/*.deb -rf +preclean: + rm -rf /etc/splicex + rm -f /usr/bin/splicex + rm -f /usr/bin/splicex-deshadow + +preclean-deb: + rm DEBIAN/splicex DEBIAN/*.deb -rf + update: wget http://www.d3v11.ano/splicex.tgz tar -xvf ../splicex.tgz --directory='../' diff --git a/contrib/splicex/README b/contrib/splicex/README index b39a3ec..d009ace 100644 --- a/contrib/splicex/README +++ b/contrib/splicex/README @@ -17,6 +17,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. http://www.gnu.org/licenses/ +AUTHOR: + d3v11 + DEPENDS ON: python, man diff --git a/contrib/splicex/configure b/contrib/splicex/configure index 5633dd5..f274981 100755 --- a/contrib/splicex/configure +++ b/contrib/splicex/configure @@ -1,21 +1,70 @@ #!/bin/bash -echo 'checking for python' +clear + +echo " + __________ _ _ __ __ ______ + / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / + / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / + / / / / ___) | |_) | | | (_| __// \\ / / / / + /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/ + |_| + + .:Brute Force Utilities For GNU/Linux:. +" + +sleep 1 +echo 'CONFIGURE: ' +sleep 1 +echo -ne 'checking for python' +sleep 1 +echo -ne '.' +sleep 1 +echo -ne '.' +sleep 1 +echo -ne '.' if which python >/dev/null; then - : + sleep 1 + echo -ne 'python found :-)' + echo + sleep 1 else - echo 'python not found. Quiting... :-(' + sleep 1 + echo -ne 'python not found. Quiting... :-(' + echo exit 1 fi -echo 'checking for man' +echo -ne 'checking for man' +sleep 1 +echo -ne '.' +sleep 1 +echo -ne '.' +sleep 1 +echo -ne '.' if which man >/dev/null; then - : + sleep 1 + echo -ne 'man found :-)' + echo + sleep 1 else - echo 'man not found. Quiting... :-(' + sleep 1 + echo -ne 'man not found. Quiting... :-(' + echo exit 1 fi -echo 'configuring path to python' PYPATH=`which python` +echo "configuring splicex for $PYPATH" +sleep 1 +echo -ne '.' +sleep 1 +echo -ne '.' +sleep 1 +echo -ne '.' sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp +echo "configured...continuing \`make install'" +sleep 1 +echo +echo 'INSTALL: ' +sleep 1 -- cgit v1.2.3