summaryrefslogtreecommitdiff
path: root/contrib/splicex/.configure
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/splicex/.configure')
-rwxr-xr-xcontrib/splicex/.configure87
1 files changed, 87 insertions, 0 deletions
diff --git a/contrib/splicex/.configure b/contrib/splicex/.configure
new file mode 100755
index 0000000..0a55ce4
--- /dev/null
+++ b/contrib/splicex/.configure
@@ -0,0 +1,87 @@
+#!/bin/bash
+clear
+echo -e ""
+echo -e "\033[1;31m __________ _ _ \033[1;33m__ __\033[1;31m ______ \033[0;0m"
+echo -e "\033[1;31m / / / / ___| _ __ | (_) ___ ___\033[1;33m\\ \\/ /\033[1;31m / / / / \033[0;0m"
+echo -e "\033[1;31m / / / /\___ \| '_ \| | |/ __/ _ \\\\\033[1;33m\\\ / \033[1;31m/ / / /\033[0;0m"
+echo -e "\033[1;31m / / / / ___) | |_) | | | (_| __/\033[1;33m/ \\ \033[1;31m/ / / / \033[0;0m"
+echo -e "\033[1;31m /_/_/_/ |____/| .__/|_|_|\\___\\___\033[1;33m/_/\\_\\\\\033[1;31m/_/_/_/ \033[0;0m"
+echo -e "\033[1;31m |_| \033[0;0m"
+echo -e ""
+echo -e "\033[1;33m .:Brute Force Utilities For GNU/Linux:. \033[0;0m"
+echo -e ""
+echo -e ""
+echo -e " SpliceX is free software: you can redistribute it and/or modify it under "
+echo -e " the terms of the GNU General Public License as published by the Free "
+echo -e " Software Foundation, either version 3 of the License, or (at your option)"
+echo -e " any later version. "
+echo -e ""
+echo -e " SpliceX is distributed in the hope that it will be useful, but WITHOUT "
+echo -e " ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
+echo -e " FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License "
+echo -e " for more details. <http://www.gnu.org/licenses/> "
+echo -e ""
+echo -e ""
+
+if [[ $(id -u) != 0 ]]; then
+ echo -e 'root privileges required...\033[1;31m FAILED\033[0;0m'
+ exit 1
+fi
+
+sleep .3
+echo -e '\033[1;33mCONFIGURE: \033[0;0m'
+sleep .3
+echo -ne 'checking for python'
+sleep .3
+echo -ne '.'
+sleep .3
+echo -ne '.'
+sleep .3
+echo -ne '.'
+if which python >/dev/null; then
+ sleep .3
+ echo -ne '\033[1;32m OK\033[0;0m'
+ echo
+ sleep .3
+else
+ sleep .3
+ echo -ne '\033[1;31m FAILED\033[0;0m'
+ echo
+ exit 1
+fi
+
+echo -ne 'checking for man'
+sleep .3
+echo -ne '.'
+sleep .3
+echo -ne '.'
+sleep .3
+echo -ne '.'
+if which man >/dev/null; then
+ sleep .3
+ echo -ne '\033[1;32m OK\033[0;0m'
+ echo
+ sleep .3
+else
+ sleep .3
+ echo -ne '\033[1;31m FAILED\033[0;0m'
+ echo
+ exit 1
+fi
+
+PYPATH=`which python`
+echo -ne "configuring splicex for $PYPATH"
+sleep .3
+echo -ne '.'
+sleep .3
+echo -ne '.'
+sleep .3
+echo -ne '.'
+sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >src/splicex.cp || echo -ne '\033[1;31m FAILED\033[0;0m'
+sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >src/splicex-deshadow.cp || echo -ne '\033[1;31m FAILED\033[0;0m'
+echo -ne '\033[1;32m OK\033[0;0m'
+echo -e ""
+sleep .3
+echo
+echo -e '\033[1;33mINSTALL: \033[0;0m'
+sleep .3