From e7437b31a5bb66fcce4bb32239d6c4b87cf84741 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Fri, 23 Sep 2011 00:12:08 -0500 Subject: added splice3 to resdb/contrib --- contrib/splice3/README | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 contrib/splice3/README (limited to 'contrib/splice3/README') diff --git a/contrib/splice3/README b/contrib/splice3/README new file mode 100644 index 0000000..694efe7 --- /dev/null +++ b/contrib/splice3/README @@ -0,0 +1,62 @@ +DESCRIPTION: + Brute Force Utilities For The Linux Shell. + +NOTE: + splice3 is currently under development. Major changes and bug + fixes will be appended to a CHANGES file. Some changes like + spelling errors or other small edits may not be shown. While + splice3 is being developed. + +USER: + splice3 is community ideas in a python2.7 implementation. please + feel free to fork or modify this project and upload it as you see + fit under the terms of the GPLv3. + +LICENSE: + This program 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) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +DEPENDS ON: + python2.7 + +INSTALL AND UNINSTALL: + To install, `cd' to the extracted splice folder. + Issue the following commands as root: + + make install + + To uninstall splice3, as root do: + + make uninstall + + To compile/install a .deb package, as root do: + + make install-deb + +UPDATE: + # d3v11's AnoNet update for splice3 - Not as root, do: + + make update + + make update-tor + +HELP AND USAGE: + To obtain additional information on how to use splice3 + enter either of the following commands after installation: + + # For simple help display use: + splice3 -h + # For the detailed manual use: + splice3 --rtfm + + -- cgit v1.2.3 From ffbfb124f942c709352cc1f4c79fd68b7344e0c0 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 1 Oct 2011 14:01:03 -0500 Subject: added configurations to splice3 installations --- contrib/splice3/CHANGES | 5 +++++ contrib/splice3/LINUX/splice3-deshadow.py | 2 +- contrib/splice3/LINUX/splice3.py | 2 +- contrib/splice3/Makefile | 20 ++++++++------------ contrib/splice3/README | 2 +- contrib/splice3/setup | 21 +++++++++++++++++++++ contrib/splice3/setup-deb | 29 +++++++++++++++++++++++++++++ 7 files changed, 66 insertions(+), 15 deletions(-) create mode 100755 contrib/splice3/setup create mode 100755 contrib/splice3/setup-deb (limited to 'contrib/splice3/README') diff --git a/contrib/splice3/CHANGES b/contrib/splice3/CHANGES index 03d4d8a..296e07f 100644 --- a/contrib/splice3/CHANGES +++ b/contrib/splice3/CHANGES @@ -53,3 +53,8 @@ CHANGES: Sat Sep 24 2011 d3v11 Changed Makefile and disabled py_compile to avoid interpreter errors. + + Sat Oct 1 2011 + d3v11 added setup and setup-deb with Makefile + to check for dependencies and set the + correct environment paths. diff --git a/contrib/splice3/LINUX/splice3-deshadow.py b/contrib/splice3/LINUX/splice3-deshadow.py index a2a3edf..7d08d75 100755 --- a/contrib/splice3/LINUX/splice3-deshadow.py +++ b/contrib/splice3/LINUX/splice3-deshadow.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2.7 +#!PYTHON import sys; sys.tracebacklimit = 0 from crypt import crypt TestHash = crypt(sys.argv[1], sys.argv[2]) diff --git a/contrib/splice3/LINUX/splice3.py b/contrib/splice3/LINUX/splice3.py index 91443c2..e58e955 100755 --- a/contrib/splice3/LINUX/splice3.py +++ b/contrib/splice3/LINUX/splice3.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2.7 +#!PYTHON import os import re diff --git a/contrib/splice3/Makefile b/contrib/splice3/Makefile index 78dbb71..5f0c9fe 100644 --- a/contrib/splice3/Makefile +++ b/contrib/splice3/Makefile @@ -2,6 +2,7 @@ install-deb: make clean + ./setup-deb mkdir DEBIAN/splice3 mkdir DEBIAN/splice3/DEBIAN mkdir DEBIAN/splice3/usr @@ -9,8 +10,9 @@ install-deb: mkdir DEBIAN/splice3/etc mkdir DEBIAN/splice3/etc/splice3 cp DEBIAN/control DEBIAN/splice3/DEBIAN/control - cp LINUX/splice3.py DEBIAN/splice3/usr/bin/splice3 - cp LINUX/splice3-deshadow.py DEBIAN/splice3/usr/bin/splice3-deshadow + cp LINUX/splice3.cp DEBIAN/splice3/usr/bin/splice3 + cp LINUX/splice3-deshadow.cp DEBIAN/splice3/usr/bin/splice3-deshadow + rm -rf LINUX/*.cp chmod +x DEBIAN/splice3/usr/bin/splice3 chmod +x DEBIAN/splice3/usr/bin/splice3-deshadow cp SPLICE3/splice3.list DEBIAN/splice3/etc/splice3/splice3.list @@ -29,9 +31,11 @@ install-deb: install: make clean + ./setup make uninstall - cp LINUX/splice3.py /usr/bin/splice3 - cp LINUX/splice3-deshadow.py /usr/bin/splice3-deshadow + cp LINUX/splice3.cp /usr/bin/splice3 + cp LINUX/splice3-deshadow.cp /usr/bin/splice3-deshadow + rm -rf LINUX/*.cp chmod +x /usr/bin/splice3 chmod +x /usr/bin/splice3-deshadow mkdir /etc/splice3 @@ -51,18 +55,10 @@ uninstall: rm -f /usr/bin/splice3 rm -f /usr/bin/splice3-deshadow -update-tor: - usewithtor wget http://nbafkr7odek2wh6r.onion/splice3.tgz -O ../splice3.tgz - tar -xvf ../splice3.tgz --directory='../' - rm ../splice3.tgz - cat CHANGES - update: wget http://www.d3v11.ano/splice3.tgz -O ../splice3.tgz tar -xvf ../splice3.tgz --directory='../' rm ../splice3.tgz - cat CHANGES clean: rm DEBIAN/splice3 DEBIAN/*.deb -rf - diff --git a/contrib/splice3/README b/contrib/splice3/README index 694efe7..d79a699 100644 --- a/contrib/splice3/README +++ b/contrib/splice3/README @@ -27,7 +27,7 @@ LICENSE: along with this program. If not, see . DEPENDS ON: - python2.7 + python2.7, man INSTALL AND UNINSTALL: To install, `cd' to the extracted splice folder. diff --git a/contrib/splice3/setup b/contrib/splice3/setup new file mode 100755 index 0000000..109f9d4 --- /dev/null +++ b/contrib/splice3/setup @@ -0,0 +1,21 @@ +#!/bin/bash +echo 'checking for python2.7' +if which python2.7 >/dev/null; then + : +else + echo 'python2.7 not found. Quiting... :-(' + exit 1 +fi + +echo 'checking for man' +if which man >/dev/null; then + : +else + echo 'man not found. Quiting... :-(' + exit 1 +fi + +echo 'configuring path to python2.7' +PYPATH=`which python2.7` +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3.py >LINUX/splice3.cp +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3-deshadow.py >LINUX/splice3-deshadow.cp diff --git a/contrib/splice3/setup-deb b/contrib/splice3/setup-deb new file mode 100755 index 0000000..c9e3046 --- /dev/null +++ b/contrib/splice3/setup-deb @@ -0,0 +1,29 @@ +#!/bin/bash +echo 'checking for python2.7' +if which python2.7 >/dev/null; then + : +else + echo 'python2.7 not found. Quiting... :-(' + exit 1 +fi + +echo 'checking for man' +if which man >/dev/null; then + : +else + echo 'man not found. Quiting... :-(' + exit 1 +fi + +echo 'checking for dpkg' +if which dpkg >/dev/null; then + : +else + echo 'dpkg not found. Quiting... :-(' + exit 1 +fi + +echo 'configuring path to python2.7' +PYPATH=`which python2.7` +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3.py >LINUX/splice3.cp +sed -e s^PYTHON^"$PYPATH"^g LINUX/splice3-deshadow.py >LINUX/splice3-deshadow.cp -- cgit v1.2.3 From e5b7b0bdb51e5e725d40649ada4a37ba9df27bfc Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 2 Oct 2011 03:13:07 -0500 Subject: updated README in contrib/splice3 --- contrib/splice3/README | 2 -- 1 file changed, 2 deletions(-) (limited to 'contrib/splice3/README') diff --git a/contrib/splice3/README b/contrib/splice3/README index d79a699..45f1d1e 100644 --- a/contrib/splice3/README +++ b/contrib/splice3/README @@ -48,8 +48,6 @@ UPDATE: make update - make update-tor - HELP AND USAGE: To obtain additional information on how to use splice3 enter either of the following commands after installation: -- cgit v1.2.3