diff options
Diffstat (limited to 'contrib/splice3')
-rw-r--r-- | contrib/splice3/CHANGES | 103 | ||||
-rw-r--r-- | contrib/splice3/DEBIAN/control | 12 | ||||
-rw-r--r-- | contrib/splice3/EXAMPLES | 43 | ||||
-rw-r--r-- | contrib/splice3/LINUX/manual | 866 | ||||
-rwxr-xr-x | contrib/splice3/LINUX/splice3-deshadow.py | 7 | ||||
-rwxr-xr-x | contrib/splice3/LINUX/splice3.py | 4492 | ||||
-rw-r--r-- | contrib/splice3/Makefile | 64 | ||||
-rw-r--r-- | contrib/splice3/README | 63 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.L | 52 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.LN | 62 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.LNS | 94 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.LS | 84 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.N | 10 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.NS | 42 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.S | 32 | ||||
-rw-r--r-- | contrib/splice3/SPLICE3/splice3.list | 1413 | ||||
-rw-r--r-- | contrib/splice3/TOOLS/IM-STEAL/README | 43 | ||||
-rw-r--r-- | contrib/splice3/TOOLS/IM-STEAL/im-steal.c | 174 | ||||
-rwxr-xr-x | contrib/splice3/setup | 21 | ||||
-rwxr-xr-x | contrib/splice3/setup-deb | 34 |
20 files changed, 0 insertions, 7711 deletions
diff --git a/contrib/splice3/CHANGES b/contrib/splice3/CHANGES deleted file mode 100644 index 49a3650..0000000 --- a/contrib/splice3/CHANGES +++ /dev/null @@ -1,103 +0,0 @@ -CHANGES: - Fri Sep 9 2011 - d3v11 added timed iterations to bruteforcing algorithms. - This allows that a user can pause the attacks for - "X" seconds after every "N" tries. - - Sat Sep 10 2011 - d3v11 fixed bugs associated with previous iteration - controls. - - fixed an old bug from splice* projects that gave - invalid speed output. - - --debug feature was also added. This allows - python traceback which identifies errors on - line(s) from the non-compiled source code. - - --socen changed to --se-create. code associated - with this option was also given some minor tweaks - so that more useful passwords are generated from - user input. - - unused modules and libraries trimmed from import - on splice3.py and *deshadow.py . - - Sun Sep 11 2011 - d3v11 fixed --stdout - - added --no-char flag to override appending - characters to passwords. - - added --wep-5 and --wep-13 to generate WEP key - compatible passwords. - - Thu Sep 15 2011 - d3v11 fixed Makefile - - added --usernames for -u. - - added --exh-custom. - - added `make update`. - - Sun Sep 18 2011 - d3v11 Changed Makefile to prevent install/uninstall - bugs. - - Made some changes to the manual pages. - - added `make clean`. - - - 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. - - Sat Oct 8 2011 - d3v11 added im-steal.c, C code that uses - libpurple to test successfull logins - on several instant messenger protocols. - - Sat Oct 9 2011 - d3v11 updated save/restore features for new - newest modules. changed --se-create - to function as a module. - - fixed setup-deb bug with dependency - checks. - - Sun Oct 10 2011 - d3v11 updated --se-create to allow module - stacking. see --rtfm for details. - - Manual page updated. - - splice3 will now give an error and - quit if a compiled wordlist returns - null. - - Fri Oct 14 2011 - d3v11 updated manual for splice3 - - splice3's --se-create is now much - faster and much more efficient - with memory. - - Sat Oct 15 2011 - d3v11 added --char-length to control - how many characters are used - or added to passwords, and - with how many characters the - brute force algorithms start - and end with. - - fixed im-steal.c bug. current - code was not exiting after - error reporting and prevented - password testing. diff --git a/contrib/splice3/DEBIAN/control b/contrib/splice3/DEBIAN/control deleted file mode 100644 index c8addd8..0000000 --- a/contrib/splice3/DEBIAN/control +++ /dev/null @@ -1,12 +0,0 @@ -Source: splice3 -Section: python -Priority: optional -Maintainer: name <@on.internet> -Version: 1.0-0 -Package: Splice3 -Architecture: all -Depends: python2.7 (>= 2.7) -Description: Splice3 1.0-0 - brute force utilities for the linux shell. - - diff --git a/contrib/splice3/EXAMPLES b/contrib/splice3/EXAMPLES deleted file mode 100644 index 97ae666..0000000 --- a/contrib/splice3/EXAMPLES +++ /dev/null @@ -1,43 +0,0 @@ -# This is rather basic so best to start here. - -splice3 -c"unrar -pPASSWORD t file.rar" -t"All OK" -ACLNRS - -# or - -splice3 -command='unrar -pPASSWORD t file.rar' -t'All OK' -R - - -# you can then add a wordlist of your own :-) -# using the appropriate options - --d 'wordlist.txt' ---dictionary='wordlist.txt' - -# create a dictionary - ---create - - -# you can use some nice bash flexibility with a command like this. -# the option --flags should make sense on their own. if not -# --rtfm works ;-). splice3 is reasonably documented. - -splice3\ ---command='echo PASSWORD | aircrack-ng -b 00:11:22:33:44:55 -w - *.cap'\ ---wep-5 --wep-13 --no-char --dictionary='MyWords.txt'\ ---test='KEY FOUND' - - -#some funny things you can do with splice3 ;-) -splice3 --command='figlet PASSWORD' -L - -##use splice3 as a simple daemon -##!/bin/bash -# -#MyFunction() { -# while true; do -# splice3 --command='ping -c1 www.example.com ; sleep 1 # PASSWORD' --test='some output' --exh-n -# done - - - diff --git a/contrib/splice3/LINUX/manual b/contrib/splice3/LINUX/manual deleted file mode 100644 index 5d8a530..0000000 --- a/contrib/splice3/LINUX/manual +++ /dev/null @@ -1,866 +0,0 @@ -.TH splice3 "1" "sep 2011" "splice3" "Brute Force Utilities" -.SH -NAME -splice3 - manual page for splice3 - -.SH -DESCRIPTION - -Brute Force Utilities For The Linux Shell. - -.SH -OPTIONS --h, --help show the help message and exit - --c, Parse passwords to this command -.br -Command must contain regexp PASSWORD. -.br -splice3 -c"command PASSWORD" - --d Path to custom dictionary(wordlist) -.br -splice3 -d"/home/user/wordlist" -.br -If this option is unset then splice3 -.br -will use its default dictionary. - ---rtfm Show manual page and exit - --r Path to restore file -.br -splice3 -r"/home/user/splice3.save" -.br -DO NOT USE MODIFIED OR NON-SPLICE -.br -SAVE FILES. - --s Directory path to create save file -.br -splice3 -s"/home/user" - --t Test output of -c's command -.br -splice3 -t"All OK" - ---time Manipulate timed iterations -.br -splice3 can pause its attack for -.br -a specified amount of seconds per -.br -every specified amount of iterations. -.br -splice3 --time="12, 360" -.br -The above will tell splice3 to pause -.br -360 seconds after trying every 12 passwords. - --u Path to username list -.br -splice3 -u"/home/user/userlist" -.br -If you use this command the regexp -.br -`USERNAME' will be required in the -.br -given -c command. See -c flag for -.br -details. - -.br ---exh-l Use an exhaustive attack with letters only - -.br ---exh-n Use an exhaustive attack with numbers only - -.br ---exh-s Use an exhaustive attack with special characters only - -.br ---exh-ln Use an exhaustive attack with letters and numbers only - -.br ---exh-ls Use an exhaustive attack with letters and special -.br -characters only - -.br ---exh-ns Use an exhaustive attack with numbers and special -.br -characters only - ---exh-lns Use an exhaustive attack with all characters - ---exh-custom Use an exhaustive attack with custom characters -.br -splice3 --exh-custom='character list' - ---stdout Print only passwords to stdout - --A Use alphabetical mixing module - --B Use backwards module - --C Use alternating caps module - --L Use "L337" speak module - --M Use MD5 module - --N Use numerical mixing module - --R Use regular words module - --S Use special mixing module - --U Use custom mixing module -.br -splice3 -U"/home/user/list" - ---wep-5 Use 5 char WEP module -.br -splice3 will strip 5 char words -.br -from the dictionary and convert -.br -them to WEP compatible passwords. - ---wep-13 Use 13 char WEP module -.br -splice3 will strip 13 char words -.br -from the dictionary and convert -.br -them to WEP compatible passwords. - ---letters Use letter characters - ---numbers Use number characters - ---specials Use special characters - ---no-char Override character usage - ---char-length Start and end with set character lengths -.br -splice3 appends characters to the beginning -.br -and end of each password. You can choose -.br -where these characters start and stop. IE: -.br -splice3 --char-length="1, 5" -.br -splice3 --char-length="1, 3" --exh-lns - ---custom Use custom characters -.br -splice3 --custom="/home/user/list" - ---deshadow Crack shadow hash sums - ---getshadow Get the shadow info for a user -.br -splice3 --getshadow="username" -.br -See deshadow below for details. - ---setshadow Use the shadow info from a file -.br -splice3 --setshadow="/home/user/shadow" -.br -See deshadow below for details. - ---se-create a social engineering module. -.br -splice3 will create concatenated words from -.br -dictionary. - ---create Create a dictionary and exit. splice3 -.br -will create a dictionary with a user -.br -selected wordlist and the selected -.br -Modules. The new dictionary will be -.br -created in your current directory as -.br -splice3.create - --v, --version Show splice3's version number and exit - ---debug Enable debugging -.br -Allows debugging and traceback reporting from splice3. - -.SH -DICTIONARIES - -splice3 comes equipped with its own dictionary but is -.br -designed to use custom dictionaries as well. The -.br -dictionary should be in the following format: a plain -.br -text file with one word per line, no spaces between -.br -words, letters only. You do not have to follow the -.br -above guideline exactly but it is strongly suggested. -.br -IE: - -============= NOT ACTUAL LINE ON FILE =============== -.br -qwerty -.br -john -.br -linux -.br -newpass -.br -princess -.br -hacker -.br -============= NOT ACTUAL LINE ON FILE =============== - -.SH -USERNAMES - -splice3 is capable of cycling through usernames as it -.br -would a dictionary. There is no default username list -.br -on splice3. The username list should be in the -.br -following format: a plain text file with one word per -.br -line, no spaces between words, letters only. You do -.br -not have to follow the above guideline exactly but it -.br -is strongly suggested. -.br -IE: - -============= NOT ACTUAL LINE ON FILE =============== -.br -john -.br -admin -.br -root -.br -david -.br -fred -.br -============= NOT ACTUAL LINE ON FILE =============== - -.SH -SAVING AND RESTORING - -splice3 is capable of restarting where it was stopped -.br -by using the -r switch followed by the full path to -.br -a splice3.save file. DO NOT modify these files or -.br -splice3 may receive an error or not load at all. -.br -When restoring, if you set the -t switch you must -.br -manually set it again or splice3 will not test for -.br -specified output. If saving splice3's status, then -.br -splice3 will save to the specified directory as -.br -splice3.save. If splice3.save already exists it will -.br -be overwritten so change the name of any original -.br -copies if you want to keep them. If saving a splice3 -.br -session you should stop the process using the -.br -appropriate terminal feature before killing splice3 -.br -to avoid corrupting the save file. - --s "/path/to/save/directory/" - --r "/path/to/splice3.save/" -.SH -MODULES - --A -B -C -L -M -N -R -S -U --wep-5 --wep-13 --se-create -.br -splice3 comes equipped with several modules that mangle -.br -the words in the selected dictionary to create probable -.br -password combinations. You may use as many of these -.br -modules as you want. Some modules can take a few or more -.br -minutes to enhance a dictionary depending on the size -.br -of the selected dictionary. - --A Alphabetical Mixing Module: -.br -This module puts several combinations of alphabet -.br -characters inside the words in the selected -.br -dictionary. IE: - -pZassword -.br -pCatssword -.br -passworKd -.br -passwoJrLd -.br -... - --B Backwards Module: -.br -This module creates backwards words from the -.br -selected dictionary. IE: - -drowssap -.br -... - --C Capitalization Module: -.br -This module recreates the words in the selected -.br -dictionary with alternating capitalizations. -.br -IE: - -Password -.br -PAssword -.br -PaSsWoRd -.br -pAsSwOrD -.br -passwoRD -.br -... - --L L337 Speak Module: -.br -This module converts the words in the selected -.br -dictionary to several versions of "l337 speak". -.br -IE: - -p4ssword -.br -p455w0rd -.br -pa5sword -.br -ps@$$word -.br -... - --N Numerical Mixing Module: -.br -This module puts several combinations of number -.br -characters inside the words in the selected -.br -dictionary. IE: - -p2assword -.br -p5a8ssword -.br -passwor0d -.br -passwo6r9d -.br -... - --R Regular Words Module: -.br -This module tells splice3 to use the words in a -.br -selected dictionary as they are listed. - - --S Special Mixing Module: -.br -This module puts several combinations of special -.br -characters inside the words in the selected -.br -dictionary. IE: - -p!assword -.br -p@a$ssword -.br -passwor(d -.br -passwo-r+d -.br -... - --U Custom Mixing Module: -.br -This module puts several combinations of user -.br -selected characters inside the words from the -.br -selected character list. IE: - -p!assword -.br -p@a$ssword -.br -passwor(d -.br -passwo-r+d -.br -... - --U's list should only contain one character per -.br -line on a plain text file. If you select this -.br -module then modules -A, -N, -S will be ignored. -.br -IE: - -============= NOT ACTUAL LINE ON FILE =============== -.br -j -.br -1 -.br -@ -.br -0 -.br -z -.br -============= NOT ACTUAL LINE ON FILE =============== - -If -A, -N, and/or -S options are selected then -.br -the modules will be combined. IE: - -pZa!ssword -.br -p0atssword -.br -passwor7d -.br -passwo*rLd -.br -... - --M MD5 Module: -.br -This module generates md5 hash sums for -.br -words listed in the selected dictionary. -.br -IE: - -5912d7bfd10f631f1715bf85bbb72d97 -.br -966e8fda594333563c02fa4b69765a5e -.br -900bc885d7553375aec470198a9514f3 -.br -97f014516561ef487ec368d6158eb3f4 -.br -... - - ---wep-* WEP Modules: -.br -these two modules strip 5 or 13 character -.br -words from the selected dictionary and produce -.br -WEP compatible hex passwords. If your dictionary -.br -does not contain 5 or 13 character words then -.br -splice3 will likely give an error. - - ---se-create Social Engineering Module: -.br -see the social engineering section below for -.br -details. - -.SH -CHARACTERS - -splice3 appends alternating character tags to the beginning -.br -and/or ending of each password. By default splice3 will use -.br -all standard keyboard characters but you can choose to use -.br -specific combinations. If one or more of the following -.br -options is omitted then only the selected options will be -.br -used ; they will be combined. - ---letters Use letter characters -.br -Apassword -.br -passwordA -.br -abCpassword -.br -passwordxYz -.br -... - ---numbers Use numbers characters -.br -1password -.br -password1 -.br -123password -.br -password098 -.br -... - ---specials Use specials characters -.br -$password -.br -password^ -.br -%)!password -.br -password#*@ -.br -... - ---custom Use custom characters from a list -.br -$password -.br -password^ -.br -%)!password -.br -password#*@ -.br -... - ---custom list should only contain one character per -.br -line on a plain text file. If you select this -.br -module then other character flags will be ignored. -.br -If the custom list matches the selected dictionary -.br -then splice3 will run in exhaustive mode. -.br -IE: - -============= NOT ACTUAL LINE ON FILE =============== -.br -j -.br -1 -.br -@ -.br -0 -.br -z -.br -============= NOT ACTUAL LINE ON FILE =============== - ---letters, --numbers, and/or --specials -.br -Apassword6& -.br -7passwordA -.br -a*Cpassword9 -.br -a}password0Yz -.br -... - ---no-char Override character usage -.br -This option tells splice3 not to make -.br -any character additions to passwords. - ---char-length Start and end with set character lengths -.br -This option tells splice3 to start and stop with a set -.br -amount of characters. IE: - -The following will start with one character added and -.br -end with 3: -.br -splice3 --char-length='1, 3' - -The following will generate only 6 character passwords: -.br -splice3 --exh-custom='MyCharacters.txt' --char-length='6, 6' - -.SH -SOCIAL ENGINEERING - ---se-create Social Engineering Module: -.br -splice3 is equipped with a social engineering module to create -.br -concatenated words from the selected dictionary. This module -.br -allows for "Module Stacking". IE, if you select other other -.br -modules when setting this flag then compiled words will also -.br -be incorporated into the algorithm as if they appeared on the -.br -the selected dictionary itself. - -.SH -DESHADOW - -splice3 comes with its own small program to compare a created hash -.br -sum, those found in /etc/shadow with an existing one given through -.br -user input. When using the deshadow option you will need to set -.br -exactly one of the --getshadow or --setshadow options. There is no -.br -need to use the -c CMD or the -t TEST flags when using this option -.br -because the values for each will be preset. - ---getshadow Get the shadow info for a user -.br -see examples below for usage details. - ---setshadow Use the shadow info from a file. This file should be -.br -in plain text and contain only one line with the -.br -following syntax: - -============= NOT ACTUAL LINE ON FILE =============== -.br -$HashingMethod$SaltValue$ActualHashItself - -============= NOT ACTUAL LINE ON FILE =============== - -If you need to see an example Shadow entry you may -.br -use the following command: - -cat /etc/shadow | grep -i "$USER" - -.SH -EXHAUSTIVE - -splice3 is capable of mounting a standard exhaustive attack. -.br -An exhaustive attack is a sure\-fire method to crack any -.br -password but this can also take large amounts of time -.br -depending on the length of a password. If it's necessary to -.br -use an exhaustive bruteforcing algorithm you may do so with -.br -one of the following options: - ---exh-l -.br -This attack uses only letters. - ---exh-n -.br -This attack uses only numbers. - ---exh-s -.br -This attack uses only special characters. - ---exh-ln -.br -This attack uses only letters and numbers. - ---exh-ls -.br -This attack uses only letters and special characters. - ---exh-ns -.br -This attack uses only numbers and special characters. - ---exh-lns -.br -This attack uses all characters. - ---exh-custom -.br -This attack uses custom characters in a character list. IE: -.br ---exh-custom='CharList.txt' -.br -A character list should be in the following syntax: - -============= NOT ACTUAL LINE ON FILE =============== -.br -j -.br -1 -.br -@ -.br -0 -.br -z -.br -============= NOT ACTUAL LINE ON FILE =============== - -.SH -STDOUT - -splice3 has the option to skip the command and test flags -.br -and print only the created passwords to stdout. This is a -.br -useful flag if you're going to pipe the output to stdin -.br -on another program. - ---stdout -.br -The output will look similar to the following: -.br -password -.br -qwerty -.br -123magick -.br -newpass -.br -john1965 - -.SH -REGEXP - -splice3 can create some regexp type functions -.br -using existing options: - -splice3 --command='echo onePASSWORDthree' --test='onetwothree' --exh-l - -splice3 -c 'echo johnPASSWORD65' --test='john1965' --exh-custom='MyList.txt' - -splice3 --command='echo ilovePASSWORD' -R --no-char --test='iloveqwerty' - -you may also want to see --se-create for more specific attacks. - -.SH -CONTROLS - -splice3 contains some options worth going over again. - ---command='<insert command> PASSWORD' #must contain regexp 'PASSWORD' - ---time='10, 1' #timed iterations - ---custom='file.txt', -U 'file.txt', --dictionary='file.txt', -.br ---exh-custom='file.txt' #custom wordlists and/or character lists - ---no-char #useful flag to only use the generated wordlist -.br -#no characters will be appended to the passwords - ---stdout #prints only passwords - ---debug #helps to troubleshoot - -.SH -EXAMPLES - -splice3 -c"unrar -pPASSWORD t file.rar" -t"All OK" -ACLNRS - -splice3 -c"sshpass -pPASSWORD ssh user@host" -d"wordlist" -L - -splice3 -c"smbclient -L 192.168.1.0 -Uusername%PASSWORD" -L - -splice3 --deshadow --getshadow="root" -ACLNRS - -splice3 --deshadow --setshadow="/home/user/shadow.txt" -ACLNRS - -splice3\\ -.br ---command='echo PASSWORD | aircrack-ng -b 00:11:22:33:44:55 -w - *.cap'\\ -.br ---wep-5 --wep-13 --no-char --dictionary='MyWords.txt'\\ -.br ---test='KEY FOUND' - -splice3 -c"curl --user <user[:PASSWORD]> https://www.example.com" -R - -.SH -LICENSE - -This program is free software: you can redistribute it and/or modify -.br -it under the terms of the GNU General Public License as published by -.br -the Free Software Foundation, either version 3 of the License, or -.br -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -.br -but WITHOUT ANY WARRANTY; without even the implied warranty of -.br -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.br -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -.br -along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/contrib/splice3/LINUX/splice3-deshadow.py b/contrib/splice3/LINUX/splice3-deshadow.py deleted file mode 100755 index 7d08d75..0000000 --- a/contrib/splice3/LINUX/splice3-deshadow.py +++ /dev/null @@ -1,7 +0,0 @@ -#!PYTHON -import sys; sys.tracebacklimit = 0 -from crypt import crypt -TestHash = crypt(sys.argv[1], sys.argv[2]) -HashValue = sys.argv[3] -if TestHash.__contains__(HashValue): - print "SHADOW CRACKED" diff --git a/contrib/splice3/LINUX/splice3.py b/contrib/splice3/LINUX/splice3.py deleted file mode 100755 index a21eca1..0000000 --- a/contrib/splice3/LINUX/splice3.py +++ /dev/null @@ -1,4492 +0,0 @@ -#!PYTHON - -import os -import re -import sys -import spwd -import getpass -import os.path -import argparse -import time -from hashlib import md5 - - -parser = argparse.ArgumentParser() - -parser.add_argument('-c', '--command', action='store', dest='cmd', - help='Parse passwords to this command') - -parser.add_argument('-d', '--dictionary', action='store', dest='dictionary', - help='Path to custom dictionary(wordlist)') - -parser.add_argument('--rtfm', action="store_true", default=False, - dest='ManSwitch', - help='Show manual page and exit') - -parser.add_argument('-r', '--restore', action='store', dest='restore', - help='Path to restore file') - -parser.add_argument('-s', '--save', action='store', dest='save', - help='Directory path to create save file') - -parser.add_argument('-t', '--test', action='store', dest='test', - help='Test output of -c\'s command') - -parser.add_argument('--time', action='store', dest='TIME', - help='Manipulate timed iterations') - -parser.add_argument('-u', '--usernames', action='store', dest='usernames', - help='Path to username list') - -parser.add_argument('--exh-l', action="store_true", default=False, - dest='ExhL', help='Use an exhaustive attack with letters only') - -parser.add_argument('--exh-n', action="store_true", default=False, - dest='ExhN', help='Use an exhaustive attack with numbers only') - -parser.add_argument('--exh-s', action="store_true", default=False, - dest='ExhS', help='Use an exhaustive attack with special characters only') - -parser.add_argument('--exh-ln', action="store_true", default=False, - dest='ExhLN', help='Use an exhaustive attack with letters and numbers only') - -parser.add_argument('--exh-ls', action="store_true", default=False, - dest='ExhLS', help='Use an exhaustive attack with letters and special characters only') - -parser.add_argument('--exh-ns', action="store_true", default=False, - dest='ExhNS', help='Use an exhaustive attack with numbers and special characters only') - -parser.add_argument('--exh-lns', action="store_true", default=False, - dest='ExhLNS', help='Use an exhaustive attack with all characters') - -parser.add_argument('--exh-custom', action='store', dest='ExhCustom', - help='Use an exhaustive attack with custom characters') - -parser.add_argument('--stdout', action="store_true", default=False, - dest='StdoutSwitch', help='Print only passwords to stdout') - -parser.add_argument('-A', action="store_true", default=False, - dest='AlphaSwitch', - help='Use alphabetical mixing module') - -parser.add_argument('-B', action="store_true", default=False, - dest='BWSwitch', - help='Use backwords module') - -parser.add_argument('-C', action="store_true", default=False, - dest='CapsSwitch', - help='Use alternating caps module') - -parser.add_argument('-L', action="store_true", default=False, - dest='L337Switch', - help='Use \"L337\" speak module') - -parser.add_argument('-M', action="store_true", default=False, - dest='MD5Switch', - help='Use MD5 module') - -parser.add_argument('-N', action="store_true", default=False, - dest='NumberSwitch', - help='Use numerical mixing module') - -parser.add_argument('-R', action="store_true", default=False, - dest='RegularSwitch', - help='Use regular words module') - -parser.add_argument('-S', action="store_true", default=False, - dest='SpecialSwitch', - help='Use special mixing module') - -parser.add_argument('-U', action='store', dest='MixCustom', - help='Use custom mixing module') - -parser.add_argument('--wep-5', action="store_true", default=False, - dest='wep5', help='Use 5 char WEP module') - -parser.add_argument('--wep-13', action="store_true", default=False, - dest='wep13', help='Use 13 char WEP module') - -parser.add_argument('--letters', action="store_true", default=False, - dest='Letters', help='Use letter characters') - -parser.add_argument('--numbers', action="store_true", default=False, - dest='Numbers', help='Use number characters') - -parser.add_argument('--specials', action="store_true", default=False, - dest='Specials', help='Use special characters') - -parser.add_argument('--no-char', action="store_true", default=False, - dest='NoChar', help='Override character usage') - -parser.add_argument('--char-length', action='store', dest='LENGTH', - help='Start and end with set character lengths') - -parser.add_argument('--custom', action='store', dest='Custom', - help='Use custom characters') - -parser.add_argument('--deshadow', action="store_true", default=False, - dest='DeShadow', help='Crack shadow hash sums') - -parser.add_argument('--getshadow', action='store', dest='GetShadow', - help='Get the shadow info for a user') - -parser.add_argument('--setshadow', action='store', dest='SetShadow', - help='Use the shadow info from a file') - -parser.add_argument('--se-create', action="store_true", default=False, - dest='SESwitch', - help='a social engineering module') - -parser.add_argument('--create', action="store_true", default=False, - dest='Create', help='Create a dictionary') - -parser.add_argument('-v', '--version', action='version', version='Splice3: Brute Force Utilities For The Linux Shell', - help='Show splice3\'s version number and exit') - -parser.add_argument('--debug', action="store_true", default=False, - dest='DebugSwitch', help='Enable debugging') - -option = parser.parse_args() - -if option.ExhCustom is not None: - option.dictionary = option.ExhCustom - option.Custom = option.ExhCustom - -if option.DebugSwitch is False: - sys.tracebacklimit = 0 - -StdoutSwitch = option.StdoutSwitch -TIME = option.TIME -LENGTH = option.LENGTH - -ExhL = option.ExhL -ExhN = option.ExhN -ExhS = option.ExhS -ExhLN = option.ExhLN -ExhLS = option.ExhLS -ExhNS = option.ExhNS -ExhLNS = option.ExhLNS -ExhSwitch = False -if ExhL == True: - option.dictionary = "/etc/splice3/splice3.L" - option.Letters = True - option.Numbers = False - option.Specials = False - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True -if ExhN == True: - option.dictionary = "/etc/splice3/splice3.N" - option.Letters = False - option.Numbers = True - option.Specials = False - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True -if ExhS == True: - option.dictionary = "/etc/splice3/splice3.S" - option.Letters = False - option.Numbers = False - option.Specials = True - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True -if ExhLN == True: - option.dictionary = "/etc/splice3/splice3.LN" - option.Letters = True - option.Numbers = True - option.Specials = False - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True -if ExhLS == True: - option.dictionary = "/etc/splice3/splice3.LS" - option.Letters = True - option.Numbers = False - option.Specials = True - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True -if ExhNS == True: - option.dictionary = "/etc/splice3/splice3.NS" - option.Letters = False - option.Numbers = True - option.Specials = True - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True -if ExhLNS == True: - option.dictionary = "/etc/splice3/splice3.LNS" - option.Letters = True - option.Numbers = True - option.Specials = True - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True - -if option.Custom is not None and option.dictionary is not None: - if option.Custom == option.dictionary: - option.Letters = False - option.Numbers = True - option.Specials = True - option.AlphaSwitch = False - option.BWSwitch = False - option.CapsSwitch = False - option.L337Switch = False - option.NumberSwitch = False - option.MD5Switch = False - option.RegularSwitch = True - option.SpecialSwitch = False - ExhSwitch = True - - -ShadowValue = [] -GetShadow = option.GetShadow -SetShadow = option.SetShadow -if option.DeShadow is True and SetShadow is None and GetShadow is None: - print "splice3: error: --deshadow requires --getshadow or --setshadow" - sys.exit(1) -if SetShadow is not None and GetShadow is not None: - print "splice3: error: --getshadow and --setshadow cannot be combined" - sys.exit(1) -elif not os.geteuid()==0 and GetShadow is not None: - print "splice3: error: --getshadow requires root privileges" - sys.exit(1) -elif os.geteuid()==0 and GetShadow is not None: - try: - ShadowValue = spwd.getspnam(GetShadow)[1] - except: - print "splice3: error: --getshadow: invalid user entered" - sys.exit(1) -elif SetShadow is not None and os.path.exists(SetShadow): - ShadowFile = open(SetShadow, 'r') - for line in ShadowFile: - line = line.replace('\n', '') - ShadowValue = line -if SetShadow is not None and not os.path.exists(SetShadow): - print "splice3: error: --setshadow: shadow file does not exist" - sys.exit(1) -elif SetShadow is not None or GetShadow is not None: - ShadowSalt = ShadowValue.replace('$', '^1', 1) - ShadowSalt = ShadowSalt.replace('$', '^2', 1) - ShadowSalt = ShadowSalt.replace('$', '^3', 1) - ShadowSalt=ShadowSalt[ShadowSalt.find("^1"):ShadowSalt.find("^3")] - ShadowSalt = ShadowSalt.replace('^1', '$') - ShadowSalt = ShadowSalt.replace('^2', '$') - ShadowSalt = ShadowSalt + "$" - ShadowValue = ShadowValue.replace(':', '^1', 1) - ShadowValue = ShadowValue.replace(':', '^2', 1) - ShadowValue=ShadowValue[ShadowValue.find("^1")+2:ShadowValue.find("^2")] - ShadowValue = ShadowValue.replace('$', '\$') - ShadowSalt = ShadowSalt.replace('$', '\$') - - -ManSwitch = option.ManSwitch -if ManSwitch is True: - os.system("man /etc/splice3/splice3.1.gz") - sys.exit(0) - -test = option.test - -restore = option.restore -if restore is not None and os.path.exists(restore) is False: - print "splice3: error: restore file does not exist" - sys.exit(1) -elif restore is not None and os.path.exists(restore) is True: - RestoreSwitch = True - State = [] - StateCount = 0 - if RestoreSwitch is True: - RESTORE = open(restore, 'r') - for line in RESTORE: - line = line.replace('\n', '') - State.append(line) - StateCount += 1 - StateCount -= 1 -else: - RestoreSwitch = False - -save = option.save -Slash = "/" -if save is not None and not os.path.isdir(save): - print "splice3: error: ( -s ) invalid directory" - sys.exit(1) -elif save is not None and os.path.isdir(save): - SaveSwitch = True - s = "" - up = 0 - end = 0 - for let in save: - end += 1 - for let in save: - up += 1 - if let == Slash and end == up: - s += "" - else: - s += let - save = s - save += Slash + "splice3.save" -else: - SaveSwitch = False - -SESwitch = option.SESwitch -dictionary = option.dictionary -if dictionary is None: - dictionary = "/etc/splice3/splice3.list" -elif dictionary is not None and not os.path.exists(dictionary): - print "splice3: error: dictionary does not exist" - sys.exit(1) - -usernames = option.usernames -if usernames is None: - UserSwitch = False - UserStatus = "" -elif usernames is not None and not os.path.exists(usernames): - print "splice3: error: username list does not exist" - sys.exit(1) -else: - UserSwitch = True - UserStatus = "TRYING: [USERNAME]:" - -if RestoreSwitch is False: - AlphaSwitch = option.AlphaSwitch - CapsSwitch = option.CapsSwitch - BWSwitch = option.BWSwitch - L337Switch = option.L337Switch - MD5Switch = option.MD5Switch - NumberSwitch = option.NumberSwitch - RegularSwitch = option.RegularSwitch - SpecialSwitch = option.SpecialSwitch - Letters = option.Letters - Numbers = option.Numbers - Specials = option.Specials - MixCustom = option.MixCustom - Custom = option.Custom - wep5 = option.wep5 - wep13 = option.wep13 -else: - option.cmd = State[0] - dictionary = State[1] - MixCustom = State[2] - Custom = State[3] - if State[4] == "True": - ExhSwitch = True - else: - ExhSwitch = False - if State[5] == "True": - StdoutSwitch = True - else: - StdoutSwitch = False - usernames = State[6] - if State[7] == "True": - UserSwitch = True - else: - UserSwitch = False - if State[8] == "True": - AlphaSwitch = True - else: - AlphaSwitch = False - if State[9] == "True": - BWSwitch = True - else: - BWSwitch = False - if State[10] == "True": - CapsSwitch = True - else: - CapsSwitch = False - if State[11] == "True": - L337Switch = True - else: - L337Switch = False - if State[12] == "True": - MD5Switch = True - else: - MD5Switch = False - if State[13] == "True": - NumberSwitch = True - else: - NumberSwitch = False - if State[14] == "True": - RegularSwitch = True - else: - RegularSwitch = False - if State[15] == "True": - SpecialSwitch = True - else: - SpecialSwitch = False - if State[16] == "True": - Letters = True - else: - Letters = False - if State[17] == "True": - Numbers = True - else: - Numbers = False - if State[18] == "True": - Specials = True - else: - Specials = False - if State[19] == "True": - wep5 = True - else: - wep5 = False - if State[20] == "True": - wep13 = True - else: - wep13 = False - if State[21] == "True": - SESwitch = True - else: - SESwitch = False - -if StdoutSwitch is True: - option.cmd = "STDOUT PASSWORD ON" - -if option.Create is False and RestoreSwitch is False: - ShadowSwitch = option.DeShadow - if ShadowSwitch is True: - option.cmd = "splice3-deshadow.py PASSWORD '" + ShadowSalt + "' '" + ShadowValue + "'" - if option.cmd is None: - print "splice3: error: invalid usage" - sys.exit(1) - else: - option.cmd = option.cmd.replace('','eval ', 1) - -if option.Create is False and RestoreSwitch is False: - if option.cmd.__contains__("PASSWORD"): - pass - else: - print "splice3: error: -c does not contain regexp `PASSWORD'" - sys.exit(1) - -if option.usernames is not None and RestoreSwitch is False: - if option.cmd.__contains__("USERNAME"): - pass - else: - print "splice3: error: -c does not contain regexp `USERNAME'" - sys.exit(1) - -Create = option.Create -if Create is True: - print "Creating dictionary and exiting" - -if Create is False and option.cmd.__contains__("splice3-deshadow"): - test = "SHADOW CRACKED" - - -if AlphaSwitch is False and BWSwitch is False and CapsSwitch is False\ -and L337Switch is False and NumberSwitch is False and RegularSwitch is False\ -and SpecialSwitch is False and MixCustom is None and MD5Switch is False\ -and wep5 is False and wep13 is False and SESwitch is False: - print "splice3: error: no modules selected: ( -A -B -C -L -M -N -R -S -U, --wep-*, --se-create)" - sys.exit(1) - -CharsMain = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",\ - "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",\ - "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]",\ - "`", "~", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",", ">", ".", "?", "/"] - -CharSet1 = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",\ - "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",\ - "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ - "`", "~", ">", ".", "?", "/", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] - -CharSet2 = ["!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ - "`", "~", ">", ".", "?", "/", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] - -CharSet3 = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",\ - "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",\ - "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ - "`", "~", ">", ".", "?", "/"] - -CharSet4 = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",\ - "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",\ - "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] - -CharSet5 = ["!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ - "`", "~", ">", ".", "?", "/"] - -CharSet6 = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",\ - "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] - -CharSet7 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] - - -if Letters == True and Numbers == True and Specials == True: - Characters = CharSet1 -elif Letters == False and Numbers == True and Specials == True: - Characters = CharSet2 -elif Letters == True and Numbers == False and Specials == True: - Characters = CharSet3 -elif Letters == True and Numbers == True and Specials == False: - Characters = CharSet4 -elif Letters == False and Numbers == False and Specials == True: - Characters = CharSet5 -elif Letters == True and Numbers == False and Specials == False: - Characters = CharSet6 -elif Letters == False and Numbers == True and Specials == False: - Characters = CharSet7 -else: - Characters = CharSet1 - -if Custom != "None" and RestoreSwitch is True: - if os.path.exists(Custom): - Characters = [] - UserCharacters = open(Custom, 'r') - for line in UserCharacters: - Characters.append(line.replace('\n', '')) -elif Custom is not None and RestoreSwitch is False: - if os.path.exists(Custom): - Characters = [] - UserCharacters = open(Custom, 'r') - for line in UserCharacters: - Characters.append(line.replace('\n', '')) - else: - print "splice3: error: --custom list does not exist" - sys.exit(1) - -EndCount = 0 -for CountChars in Characters: - EndCount += 1 - -Char1 = [] -for a in range(0, EndCount): - Char1.append(Characters[a]) -Char2 = [] -for a in range(0, EndCount): - Char2.append("\\\\\\" + Characters[a]) - -if AlphaSwitch == True and NumberSwitch == True and SpecialSwitch == True: - MixChars = CharSet1 -elif AlphaSwitch == False and NumberSwitch == True and SpecialSwitch == True: - MixChars = CharSet2 -elif AlphaSwitch == True and NumberSwitch == False and SpecialSwitch == True: - MixChars = CharSet3 -elif AlphaSwitch == True and NumberSwitch == True and SpecialSwitch == False: - MixChars = CharSet4 -elif AlphaSwitch == False and NumberSwitch == False and SpecialSwitch == True: - MixChars = CharSet5 -elif AlphaSwitch == True and NumberSwitch == False and SpecialSwitch == False: - MixChars = CharSet6 -elif AlphaSwitch == False and NumberSwitch == True and SpecialSwitch == False: - MixChars = CharSet7 -else: - MixChars = CharSet1 - -if MixCustom != "None" and RestoreSwitch is True: - if os.path.exists(MixCustom): - MixChars = [] - MixCharacters = open(MixCustom, 'r') - for line in MixCharacters: - MixChars.append(line.replace('\n', '')) -elif MixCustom is not None and RestoreSwitch is False: - if os.path.exists(MixCustom): - MixChars = [] - MixCharacters = open(MixCustom, 'r') - for line in MixCharacters: - MixChars.append(line.replace('\n', '')) - else: - print "splice3: error: -U list does not exist" - sys.exit(1) - -Word = [] -def REGULAR(): - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - Word.append(line.replace('\n', '')) - -def L337(): - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "@", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "@") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("b", "8", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("b", "8") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("e", "3", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("e", "3") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("f", "ph", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("g", "6", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("g", "6") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("g", "9", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("g", "9") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("h", "#", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("h", "#") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "1", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "1") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "!", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "!") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "|", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "|") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("k", "X", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("k", "X") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("l", "1", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("l", "1") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("l", "|", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("l", "|") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("o", "0", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("o", "0") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("s", "5", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("s", "5") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("s", "$", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("s", "$") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("t", "7", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("t", "7") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("t", "+", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("t", "+") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("z", "2", 1) - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "6") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "6") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "9") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "9") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "&") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "&") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "6") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "6") - line = line.replace("h", "#") - line = line.replace("i", "1") - line = line.replace("l", "|") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "9") - line = line.replace("h", "#") - line = line.replace("i", "|") - line = line.replace("l", "1") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "9") - line = line.replace("h", "#") - line = line.replace("i", "|") - line = line.replace("l", "1") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "4") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "&") - line = line.replace("h", "#") - line = line.replace("i", "|") - line = line.replace("l", "1") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "^") - line = line.replace("b", "8") - line = line.replace("e", "3") - line = line.replace("f", "ph", 1) - line = line.replace("g", "&") - line = line.replace("h", "#") - line = line.replace("i", "|") - line = line.replace("l", "1") - line = line.replace("k", "X") - line = line.replace("o", "0") - line = line.replace("s", "5") - line = line.replace("t", "7") - line = line.replace("z", "2") - Word.append(line.replace('\n', '')) - -def BW(): - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - Word.append(line[::-1].replace('\n', '')) - -def CAPS(): - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - up = 0 - a = "" - for let in line: - if up == 0: - a += let.upper() - else: - a += let - up ^= 1 - Word.append(a) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - up = 0 - a = "" - for let in line: - if up == 1: - a += let.upper() - else: - a += let - up ^= 1 - Word.append(a) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - up = 0 - a = "" - for let in line: - if up <= 1: - a += let.upper() - up = up + 1 - else: - a += let - up = up + 1 - Word.append(a) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - up = 0 - a = "" - for let in line: - if up <= 2: - a += let.upper() - up = up + 1 - else: - a += let - up = up + 1 - Word.append(a) - - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - a = 0 - b = 1 - c = "" - for let in line: - a = a + 1 - for let in line: - if a != b: - b = b + 1 - c += let - else: - c += let.upper() - Word.append(c) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - a = 0 - b = 1 - c = "" - for let in line: - a = a + 1 - a = a - 1 - for let in line: - if b < a: - b = b + 1 - c += let - else: - c += let.upper() - Word.append(c) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "A", 1) - if line.__contains__("A"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("a", "A") - if line.__contains__("A"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("b", "B", 1) - if line.__contains__("B"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("b", "B") - if line.__contains__("B"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("c", "C", 1) - if line.__contains__("C"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("c", "C") - if line.__contains__("C"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("d", "D", 1) - if line.__contains__("D"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("d", "D") - if line.__contains__("D"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("e", "E", 1) - if line.__contains__("E"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("e", "E") - if line.__contains__("E"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("f", "F", 1) - if line.__contains__("F"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("f", "F") - if line.__contains__("F"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("g", "G", 1) - if line.__contains__("G"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("g", "G") - if line.__contains__("G"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("h", "H", 1) - if line.__contains__("H"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("h", "H") - if line.__contains__("H"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "I", 1) - if line.__contains__("I"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("i", "I") - if line.__contains__("I"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("j", "J", 1) - if line.__contains__("J"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("j", "J") - if line.__contains__("J"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("k", "K", 1) - if line.__contains__("K"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("k", "K") - if line.__contains__("K"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("l", "L", 1) - if line.__contains__("L"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("l", "L") - if line.__contains__("L"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("m", "M", 1) - if line.__contains__("M"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("m", "M") - if line.__contains__("M"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("n", "N", 1) - if line.__contains__("N"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("n", "N") - if line.__contains__("N"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("o", "O", 1) - if line.__contains__("O"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("o", "O") - if line.__contains__("O"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("p", "P", 1) - if line.__contains__("P"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("p", "P") - if line.__contains__("P"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("q", "Q", 1) - if line.__contains__("Q"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("q", "Q") - if line.__contains__("Q"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("r", "R", 1) - if line.__contains__("R"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("r", "R") - if line.__contains__("R"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("s", "S", 1) - if line.__contains__("S"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("s", "S") - if line.__contains__("S"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("t", "T", 1) - if line.__contains__("T"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("t", "T") - if line.__contains__("T"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("u", "U", 1) - if line.__contains__("U"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("u", "U") - if line.__contains__("U"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("v", "V", 1) - if line.__contains__("V"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("v", "V") - if line.__contains__("V"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("w", "W", 1) - if line.__contains__("W"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("w", "W") - if line.__contains__("W"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("x", "X", 1) - if line.__contains__("X"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("x", "X") - if line.__contains__("X"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("y", "Y", 1) - if line.__contains__("Y"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("y", "Y") - if line.__contains__("Y"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("z", "Z", 1) - if line.__contains__("Z"): - Word.append(line.replace('\n', '')) - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace("z", "Z") - if line.__contains__("Z"): - Word.append(line.replace('\n', '')) - -def MIX(): - for Input in MixChars: - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - up = 0 - a = "" - for let in line: - if up <= 1: - a += let + Input - up = up + 1 - else: - a += let - up = up + 1 - Word.append(a) - - for Input in MixChars: - for Input2 in MixChars: - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - up = 0 - a = "" - for let in line: - if up == 1: - a += Input + let + Input2 - up = up + 1 - else: - a += let - up = up + 1 - Word.append(a) - - for Input in MixChars: - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - a = 0 - b = 1 - c = "" - for let in line: - a = a + 1 - for let in line: - if a != b: - b = b + 1 - c += let - else: - c += Input + let - Word.append(c) - - for Input in MixChars: - for Input2 in MixChars: - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - line = line.replace('\n', '') - a = 0 - b = 0 - c = "" - for let in line: - a = a + 1 - a = a - 2 - for let in line: - if b == a: - b = b + 1 - c += Input + let + Input2 - else: - c += let - b = b + 1 - Word.append(c) - -def MD5(): - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - Word.append(md5(line.replace('\n', '')).hexdigest()) - -def WEP5(): - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - i = 0 - for let in line: - i += 1 - i -= 1 - if i == 5: - line = line.encode('hex') - line = line.replace('\n', '') - Word.append(line.replace('0a', '')) - -def WEP13(): - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - i = 0 - for let in line: - i += 1 - i -= 1 - if i == 13: - line = line.encode('hex') - line = line.replace('\n', '') - Word.append(line.replace('0a', '')) - - -def SOCEN(): - socen = [] - socen_a = [] - socen_words = [] - - try: - for i in Word: - socen_words.append(i.replace('\n', '')) - except: - pass - - ReadDictionary = open(dictionary, 'r') - for line in ReadDictionary: - socen_words.append(line.replace('\n', '')) - socen_words = list(set(socen_words)) - - for i in socen_words: - for let in i: - try: - let += 1 - break - except: - socen_a.append(let) - break - - for a in socen_a: - socen_words.append(a) - - for a in socen_words: - x = 0 - for let in a: - x += 1 - if x > 1: - Word.append(a) - - for a in socen_words: - for b in socen_words: - x = 0 - for let in a: - x += 1 - n = 0 - for let in b: - n += 1 - if x > 1 or n > 1 and a != b: - Word.append(a + b) - - for a in socen_words: - for b in socen_words: - for c in socen_words: - if a != b and a != c and b != c: - Word.append(a + b + c) - - -if RegularSwitch is True: - REGULAR() -if BWSwitch is True: - BW() -if CapsSwitch is True: - CAPS() -if L337Switch is True: - L337() -if MD5Switch is True: - MD5() -if wep5 is True: - WEP5() -if wep13 is True: - WEP13() -if SESwitch is True: - SOCEN() - -DoMix = False -if AlphaSwitch is True: - DoMix = True -if NumberSwitch is True: - DoMix = True -if SpecialSwitch is True: - DoMix = True -if MixCustom != None and MixCustom != "None": - DoMix = True -if DoMix is True: - MIX() - -User = [] -if UserSwitch == True: - UserCount = 0 - ReadUsernames = open(usernames, 'r') - for line in ReadUsernames: - User.append(line.replace('\n', '')) - UserCount += 1 -else: - User.append("") - UserCount = 1 - -if not Word: - print "splice3: error: compiled empty wordlist" - sys.exit(1) - -Word = list(set(Word)) -WordCount = 0 -ShowWord = [] -PassWd = [] -for Input in Word: - ShowWord.append(Input) - c = "" - for let in Input: - c += "\\\\\\" + let - PassWd.append(c) - - -if TIME != None: - try: - TIME = TIME.split(", ") - sleep_now = int(TIME[0]) - sleep_for = int(TIME[1]) - - except: - print "splice3: error: invalid --time arguments" - sys.exit(1) - -else: - sleep_now = 0 - sleep_for = 0 - -if LENGTH != None: - try: - LENGTH = LENGTH.split(", ") - length_start = int(LENGTH[0]) - length_end = int(LENGTH[1]) - if length_end > 10: - length_end = 10 - if ExhSwitch is True: - length_start -= 1 - length_end -= 1 - - except: - print "splice3: error: invalid --char-length arguments" - sys.exit(1) - -else: - length_start = 0 - length_end = 10 - -def BF1(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 0: - break - if length_end < 0: - sys.exit('splice3: unable to find password') - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] - NewPassWd = PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF2(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 1: - break - if length_end < 1: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[a] + ShowWord[x] - NewPassWd = Char2[a] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[a] - NewPassWd = PassWd[x] + Char2[a] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF3(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 2: - break - if length_end < 2: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[a] + ShowWord[x] + Char1[b] - NewPassWd = Char2[a] + PassWd[x] + Char2[b] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[a] + Char1[b] + ShowWord[x] - NewPassWd = Char2[a] + Char2[b] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[b] + Char1[a] - NewPassWd = PassWd[x] + Char2[b] + Char2[a] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF4(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 3: - break - if length_end < 3: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] - NewPassWd = Char2[c] + Char2[a] + PassWd[x] + Char2[b] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[b] + ShowWord[x] + Char1[a] + Char1[c] - NewPassWd = Char2[b] + PassWd[x] + Char2[a] + Char2[c] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[c] + Char1[a] + Char1[b] + ShowWord[x] - NewPassWd = Char2[c] + Char2[a] + Char2[b] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[b] + Char1[a] + Char1[c] - NewPassWd = PassWd[x] + Char2[b] + Char2[a] + Char2[c] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF5(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 4: - break - if length_end < 4: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] - NewPassWd = Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] - NewPassWd = Char2[c] + Char2[a] + Char2[b] + Char2[d] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] - NewPassWd = PassWd[x] + Char2[d] + Char2[b] + Char2[a] + Char2[c] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF6(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 5: - break - if length_end < 5: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] - NewPassWd = Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] - NewPassWd = Char2[d] + Char2[b] + PassWd[x] + Char2[a] + Char2[c] + Char2[e] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] - NewPassWd = Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] - NewPassWd = PassWd[x] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF7(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 6: - break - if length_end < 6: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] - NewPassWd = Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] - NewPassWd = Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] - NewPassWd = PassWd[x] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF8(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 7: - break - if length_end < 7: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] - NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] - NewPassWd = Char2[f] + Char2[d] + Char2[b] + PassWd[x] + Char2[a] + Char2[c] + Char2[e] + Char2[g] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] - NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] - NewPassWd = PassWd[x] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF9(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 8: - break - if length_end < 8: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for h in range(StateH, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - WriteSave.append(str(h)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] - NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] +Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] - NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] - NewPassWd = PassWd[x] + Char2[h] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF10(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 9: - break - if length_end < 9: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for h in range(StateH, EndCount): - for i in range(StateI, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - WriteSave.append(str(h)) - WriteSave.append(str(i)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] - NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[h] + Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] - NewPassWd = Char2[h] + Char2[f] + Char2[d] + Char2[b] + PassWd[x] + Char2[a] + Char2[c] + Char2[e] + Char2[g] + Char2[i] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] - NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] - NewPassWd = PassWd[x] + Char2[h] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] + Char2[i] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def BF11(): - if option.NoChar is True: - sys.exit('splice3: unable to find password') - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 - for u in range(StateU, UserCount): - if length_start > 10: - break - if length_end < 10: - sys.exit('splice3: unable to find password') - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for h in range(StateH, EndCount): - for i in range(StateI, EndCount): - for j in range(StateJ, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - WriteSave.append(str(h)) - WriteSave.append(str(i)) - WriteSave.append(str(j)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] - NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + Char2[j] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - if ExhSwitch is False: - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] + ShowWord[x] - NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + Char2[j] + PassWd[x] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - - PassAmount += 1 - Timer = int(round(float(time.time() - StartTime))) - Speed = PassAmount / Timer - NewShowWord = ShowWord[x] + Char1[j] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] - NewPassWd = PassWd[x] + Char2[j] + Char2[h] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] + Char2[i] - timeup += 1 - if timeup == sleep_now: - time.sleep(sleep_for) - timeup = 0 - print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") - cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) - output = cmd.read() - if test == None: - print output - elif output.__contains__(test): - print "[PASSWORD FOUND]: ", NewShowWord - sys.exit(0) - else: - print output - -def SBF1(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - for u in range(StateU, UserCount): - if length_start > 0: - break - if length_end < 0: - sys.exit(0) - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = ShowWord[x] - print NewShowWord.replace(" ", "") - -def SBF2(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 1: - break - if length_end < 1: - sys.exit(0) - for a in range(StateA, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[a] + ShowWord[x] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = ShowWord[x] + Char1[a] - print NewShowWord.replace(" ", "") - -def SBF3(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 2: - break - if length_end < 2: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[a] + ShowWord[x] + Char1[b] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[a] + Char1[b] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[b] + Char1[a] - print NewShowWord.replace(" ", "") - -def SBF4(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 3: - break - if length_end < 3: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[b] + ShowWord[x] + Char1[a] + Char1[c] - print NewShowWord.replace(" ", "") - - NewShowWord = Char1[c] + Char1[a] + Char1[b] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[b] + Char1[a] + Char1[c] - print NewShowWord.replace(" ", "") - -def SBF5(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 4: - break - if length_end < 4: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] - print NewShowWord.replace(" ", "") - -def SBF6(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 5: - break - if length_end < 5: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] - print NewShowWord.replace(" ", "") - - NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] - print NewShowWord.replace(" ", "") - -def SBF7(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 6: - break - if length_end < 6: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] - print NewShowWord.replace(" ", "") - -def SBF8(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 7: - break - if length_end < 7: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] - print NewShowWord.replace(" ", "") - - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] - print NewShowWord.replace(" ", "") - -def SBF9(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 8: - break - if length_end < 8: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for h in range(StateH, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - WriteSave.append(str(h)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] +Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] - print NewShowWord.replace(" ", "") - -def SBF10(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 9: - break - if length_end < 9: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for h in range(StateH, EndCount): - for i in range(StateI, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - WriteSave.append(str(h)) - WriteSave.append(str(i)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[h] + Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] - print NewShowWord.replace(" ", "") - - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] - print NewShowWord.replace(" ", "") - -def SBF11(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - if option.NoChar is True: - sys.exit(0) - for u in range(StateU, UserCount): - if length_start > 10: - break - if length_end < 10: - sys.exit(0) - for a in range(StateA, EndCount): - for b in range(StateB, EndCount): - for c in range(StateC, EndCount): - for d in range(StateD, EndCount): - for e in range(StateE, EndCount): - for f in range(StateF, EndCount): - for g in range(StateG, EndCount): - for h in range(StateH, EndCount): - for i in range(StateI, EndCount): - for j in range(StateJ, EndCount): - for x in range(StateW, WordCount): - if SaveSwitch is True: - WriteSave = [] - FILE = open(save, 'w') - WriteSave.append(str(option.cmd)) - WriteSave.append(str(dictionary)) - WriteSave.append(str(MixCustom)) - WriteSave.append(str(Custom)) - WriteSave.append(str(ExhSwitch)) - WriteSave.append(str(StdoutSwitch)) - WriteSave.append(str(usernames)) - WriteSave.append(str(UserSwitch)) - WriteSave.append(str(AlphaSwitch)) - WriteSave.append(str(BWSwitch)) - WriteSave.append(str(CapsSwitch)) - WriteSave.append(str(L337Switch)) - WriteSave.append(str(MD5Switch)) - WriteSave.append(str(NumberSwitch)) - WriteSave.append(str(RegularSwitch)) - WriteSave.append(str(SpecialSwitch)) - WriteSave.append(str(Letters)) - WriteSave.append(str(Numbers)) - WriteSave.append(str(Specials)) - WriteSave.append(str(wep5)) - WriteSave.append(str(wep13)) - WriteSave.append(str(SESwitch)) - WriteSave.append(str(u)) - WriteSave.append(str(x)) - WriteSave.append(str(a)) - WriteSave.append(str(b)) - WriteSave.append(str(c)) - WriteSave.append(str(d)) - WriteSave.append(str(e)) - WriteSave.append(str(f)) - WriteSave.append(str(g)) - WriteSave.append(str(h)) - WriteSave.append(str(i)) - WriteSave.append(str(j)) - for WriteStates in WriteSave: - FILE.write(WriteStates + "\n") - FILE.close() - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] - print NewShowWord.replace(" ", "") - - if ExhSwitch is False: - NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] + ShowWord[x] - print NewShowWord.replace(" ", "") - - NewShowWord = ShowWord[x] + Char1[j] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] - print NewShowWord.replace(" ", "") - -if Create is True: - CFILE = open("splice3.create", 'w') - for WCreate in ShowWord: - CFILE.write(WCreate + "\n") - CFILE.close() - sys.exit(0) - -if RestoreSwitch is False: - StateCount = 0 -if RestoreSwitch is False and StdoutSwitch is False: - StateU = 0 - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF1() - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) - -if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF1() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF1() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF2() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF3() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF4() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF5() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF6() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF7() - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF7() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF8() - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = 0 - StateI = 0 - StateJ = 0 - BF8() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF9() - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = int(State[31]) - StateI = 0 - StateJ = 0 - BF9() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF10() - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = int(State[31]) - StateI = int(State[32]) - StateJ = 0 - BF10() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - BF11() - print "splice3: unable to find password" - sys.exit(0) -elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = int(State[31]) - StateI = int(State[32]) - StateJ = int(State[33]) - BF11() - print "splice3: unable to find password" - sys.exit(0) - -if RestoreSwitch is False and StdoutSwitch is True: - StateU = 0 - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF1() - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) - -if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF1() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF1() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF2() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF3() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF4() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF5() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF6() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF7() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF8() - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = 0 - StateI = 0 - StateJ = 0 - SBF8() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF9() - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = int(State[31]) - StateI = 0 - StateJ = 0 - SBF9() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF10() - SBF11() - sys.exit(0) -elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = int(State[31]) - StateI = int(State[32]) - StateJ = 0 - SBF10() - StateW = 0 - StateA = 0 - StateB = 0 - StateC = 0 - StateD = 0 - StateE = 0 - StateF = 0 - StateG = 0 - StateH = 0 - StateI = 0 - StateJ = 0 - SBF11() - sys.exit(0) -elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: - StateU = int(State[22]) - StateW = int(State[23]) - StateA = int(State[24]) - StateB = int(State[25]) - StateC = int(State[26]) - StateD = int(State[27]) - StateE = int(State[28]) - StateF = int(State[29]) - StateG = int(State[30]) - StateH = int(State[31]) - StateI = int(State[32]) - StateJ = int(State[33]) - SBF11() - sys.exit(0) - -print "splice3: unknown error: please report bug to author" -sys.exit(1) diff --git a/contrib/splice3/Makefile b/contrib/splice3/Makefile deleted file mode 100644 index 5f0c9fe..0000000 --- a/contrib/splice3/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/make -f - -install-deb: - make clean - ./setup-deb - mkdir DEBIAN/splice3 - mkdir DEBIAN/splice3/DEBIAN - mkdir DEBIAN/splice3/usr - mkdir DEBIAN/splice3/usr/bin - mkdir DEBIAN/splice3/etc - mkdir DEBIAN/splice3/etc/splice3 - cp DEBIAN/control DEBIAN/splice3/DEBIAN/control - 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 - cp LINUX/manual DEBIAN/splice3/etc/splice3/splice3.1 - gzip DEBIAN/splice3/etc/splice3/splice3.1 - cp SPLICE3/splice3.L DEBIAN/splice3/etc/splice3/splice3.L - cp SPLICE3/splice3.N DEBIAN/splice3/etc/splice3/splice3.N - cp SPLICE3/splice3.S DEBIAN/splice3/etc/splice3/splice3.S - cp SPLICE3/splice3.LN DEBIAN/splice3/etc/splice3/splice3.LN - cp SPLICE3/splice3.LS DEBIAN/splice3/etc/splice3/splice3.LS - cp SPLICE3/splice3.NS DEBIAN/splice3/etc/splice3/splice3.NS - cp SPLICE3/splice3.LNS DEBIAN/splice3/etc/splice3/splice3.LNS - dpkg-deb --build DEBIAN/splice3 - dpkg -i DEBIAN/splice3.deb - rm -rf DEBIAN/splice3 DEBIAN/splice3.deb - -install: - make clean - ./setup - make uninstall - 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 - cp SPLICE3/splice3.list /etc/splice3/splice3.list - cp LINUX/manual /etc/splice3/splice3.1 - gzip /etc/splice3/splice3.1 - cp SPLICE3/splice3.L /etc/splice3/splice3.L - cp SPLICE3/splice3.N /etc/splice3/splice3.N - cp SPLICE3/splice3.S /etc/splice3/splice3.S - cp SPLICE3/splice3.LN /etc/splice3/splice3.LN - cp SPLICE3/splice3.LS /etc/splice3/splice3.LS - cp SPLICE3/splice3.NS /etc/splice3/splice3.NS - cp SPLICE3/splice3.LNS /etc/splice3/splice3.LNS - -uninstall: - rm -rf /etc/splice3 - rm -f /usr/bin/splice3 - rm -f /usr/bin/splice3-deshadow - -update: - wget http://www.d3v11.ano/splice3.tgz -O ../splice3.tgz - tar -xvf ../splice3.tgz --directory='../' - rm ../splice3.tgz - -clean: - rm DEBIAN/splice3 DEBIAN/*.deb -rf diff --git a/contrib/splice3/README b/contrib/splice3/README deleted file mode 100644 index 55acad4..0000000 --- a/contrib/splice3/README +++ /dev/null @@ -1,63 +0,0 @@ -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 <http://www.gnu.org/licenses/>. - -DEPENDS ON: - python2.7, man - -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 - -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 - - diff --git a/contrib/splice3/SPLICE3/splice3.L b/contrib/splice3/SPLICE3/splice3.L deleted file mode 100644 index 0ca0e52..0000000 --- a/contrib/splice3/SPLICE3/splice3.L +++ /dev/null @@ -1,52 +0,0 @@ -a -b -c -d -e -f -g -h -i -j -k -l -m -n -o -p -q -r -s -t -u -v -w -x -y -z -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z diff --git a/contrib/splice3/SPLICE3/splice3.LN b/contrib/splice3/SPLICE3/splice3.LN deleted file mode 100644 index 6fa4170..0000000 --- a/contrib/splice3/SPLICE3/splice3.LN +++ /dev/null @@ -1,62 +0,0 @@ -a -b -c -d -e -f -g -h -i -j -k -l -m -n -o -p -q -r -s -t -u -v -w -x -y -z -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z -1 -2 -3 -4 -5 -6 -7 -8 -9 -0 diff --git a/contrib/splice3/SPLICE3/splice3.LNS b/contrib/splice3/SPLICE3/splice3.LNS deleted file mode 100644 index bf23f3e..0000000 --- a/contrib/splice3/SPLICE3/splice3.LNS +++ /dev/null @@ -1,94 +0,0 @@ -a -b -c -d -e -f -g -h -i -j -k -l -m -n -o -p -q -r -s -t -u -v -w -x -y -z -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z -1 -2 -3 -4 -5 -6 -7 -8 -9 -0 -~ -` -! -@ -# -$ -% -^ -& -* -( -) -- -_ -+ -= -[ -{ -] -} -\ -| -; -: -' -" -, -< -. -> -/ -? diff --git a/contrib/splice3/SPLICE3/splice3.LS b/contrib/splice3/SPLICE3/splice3.LS deleted file mode 100644 index 114bb87..0000000 --- a/contrib/splice3/SPLICE3/splice3.LS +++ /dev/null @@ -1,84 +0,0 @@ -a -b -c -d -e -f -g -h -i -j -k -l -m -n -o -p -q -r -s -t -u -v -w -x -y -z -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z -~ -` -! -@ -# -$ -% -^ -& -* -( -) -- -_ -+ -= -[ -{ -] -} -\ -| -; -: -' -" -, -< -. -> -/ -? diff --git a/contrib/splice3/SPLICE3/splice3.N b/contrib/splice3/SPLICE3/splice3.N deleted file mode 100644 index e53eaa1..0000000 --- a/contrib/splice3/SPLICE3/splice3.N +++ /dev/null @@ -1,10 +0,0 @@ -1 -2 -3 -4 -5 -6 -7 -8 -9 -0 diff --git a/contrib/splice3/SPLICE3/splice3.NS b/contrib/splice3/SPLICE3/splice3.NS deleted file mode 100644 index 070c8f1..0000000 --- a/contrib/splice3/SPLICE3/splice3.NS +++ /dev/null @@ -1,42 +0,0 @@ -1 -2 -3 -4 -5 -6 -7 -8 -9 -0 -~ -` -! -@ -# -$ -% -^ -& -* -( -) -- -_ -+ -= -[ -{ -] -} -\ -| -; -: -' -" -, -< -. -> -/ -? diff --git a/contrib/splice3/SPLICE3/splice3.S b/contrib/splice3/SPLICE3/splice3.S deleted file mode 100644 index 5d2948b..0000000 --- a/contrib/splice3/SPLICE3/splice3.S +++ /dev/null @@ -1,32 +0,0 @@ -~ -` -! -@ -# -$ -% -^ -& -* -( -) -- -_ -+ -= -[ -{ -] -} -\ -| -; -: -' -" -, -< -. -> -/ -? diff --git a/contrib/splice3/SPLICE3/splice3.list b/contrib/splice3/SPLICE3/splice3.list deleted file mode 100644 index 6a6017a..0000000 --- a/contrib/splice3/SPLICE3/splice3.list +++ /dev/null @@ -1,1413 +0,0 @@ -a -aaa -aaaaaa -aaron -abacab -abby -abc -abcd -abcdef -abcdefg -abigail -abracadabra -absolut -access -account -ace -acropolis -adam -adi -adidas -admin -adrian -alaska -albert -alex -alexander -alexandr -alexis -alfred -alice -allison -alpha -alpine -amanda -amber -amy -ander -andre -andrea -andrew -andy -angel -angela -angie -animal -anita -anna -annette -antares -anthony -apache -apollo -apple -aragorn -archie -ariel -arizona -arnold -arsenal -arthur -asdf -asdfasdf -asdfg -asdfgh -asdfghjk -asdfjkl; -ashley -as -assword -athena -august -austin -avalon -avenger -avenir -awesome -axbycz -baby -babydoll -babylon -bach -backup -badger -bailey -bamboo -banana -bandit -barbara -barney -barry -baseball -basf -basil -basket -basketball -bass -bastard -batman -beagle -beaner -bear -beast -beatle -beatrice -beautiful -beaver -beavis -beer -bella -ben -benjamin -benny -bertha -big -bigben -bigdog -bigmac -bigman -bill -billy -bingo -binky -biology -bird -bishop -bismillah -bitch -biteme -black -blazer -bliss -blonde -blondie -blow -blowfish -blowjob -blue -bluebird -bluefish -bmw -bob -bobby -bobcat -bond -bonnie -bonzo -booboo -booger -boogie -boomer -boris -bosco -boss -boston -bradley -brandon -brandy -brave -brazil -brenda -brian -bridge -bright -broadway -bruce -bruno -brutus -bubba -bubble -buck -buddy -buffalo -buffy -bugsy -bull -bulldog -bullet -bullshit -bunny -business -buster -butch -butler -butter -butthead -button -button -c -cacti -cactus -cake -call -callgirl -call-girl -caitlin -california -calvin -camaro -camera -canada -candy -cannondale -canon -canuck -captain -cardinal -carebear -carlos -carmen -carol -carole -caroline -carrie -cash -cashmoney -casey -casper -cassie -castle -catalina -catalog -catch -catherine -catnip -cba -celine -celtic -center -challenge -champion -champ -chance -chanel -changeme -chaos -charity -charles -charlie -charlotte -cheese -chelsea -cheryl -chester -chevy -chicago -chicken -chico -chip -chloe -chocolate -chris -christian -christin -christy -church -cinder -cindy -civil -claire -clancy -clark -claudia -clipper -cocacola -cock -coffee -coke -colleen -colorado -coltrane -columbia -commander -compaq -compton -computer -connect -connie -conrad -content -control -cook -cookie -cooking -cooper -cooter -copper -cordelia -corona -cosmos -cougar -cowboy -coyote -crack -cracker -craig -crawford -creative -cricket -crow -cruise -crystal -cuddle -cuervo -cunt -curtis -cutie -cyber -cyclone -cyrano -daddy -daisie -daisy -dakota -dallas -dan -dance -daniel -danielle -danny -dark -darkman -database -dave -david -dawn -deadhead -dean -death -debbie -deliver -delta -denali -denis -denise -dennis -depeche -derek -design -destiny -deutsch -diablo -diamond -diana -diane -dick -dicken -dickhead -digger -digital -dilbert -disney -doctor -dodger -dog -dollar -dolphin -don -donald -donna -dookie -doom -dorothy -dougie -douglas -draft -dragon -dragonfly -dreamer -dream -duck -duckie -duke -dumbass -dundee -dwarf -dwarves -dylan -eagle -eclipse -eddie -edward -eeyore -einstein -electric -elephant -elizabeth -elvis -email -e-mail -emerald -emily -emmitt -enter -entropy -eric -esther -etoile -europe -excalibur -explorer -export -express -faith -falcon -family -farmer -farout -farside -feedback -felix -fender -ferrari -fidel -figaro -fiona -fire -firebird -fireman -firenze -fish -fisher -fishing -flamingo -flash -fletch -fletcher -flip -flipper -florida -flower -floyd -fluffy -fonzy -fonzie -foobar -fool -football -ford -fortune -foster -fountain -fox -foxtrot -fozzie -france -francesco -francine -francis -francois -frank -franklin -freak -fred -freddy -freedom -french -friday -friend -frodo -frog -froggy -front -fucker -fuckface -fuckme -fuckoff -fuckyou -fun -gabriel -gabriell -galaxy -galileo -gambit -gandalf -garden -garfield -gargoyle -garlic -garnet -gasman -gemini -general -genesis -genius -george -gerald -germany -geronimo -giant -gilbert -ginger -girl -gizmo -global -goaway -godzilla -goforit -gold -golden -goldfish -golf -golfer -goober -goodluck -goofy -goose -gopher -gordon -grace -graham -grant -graphic -grateful -green -greenday -gregory -gretchen -gretel -groovy -grover -guest -guitar -gunner -gurl -hack -hacker -hal -hammer -hannah -hansolo -happy -harley -harold -harrison -harry -harvey -hawkeye -hazel -heather -heaven -hector -heidi -helen -helena -hell -hello -help -helpme -hendrix -henry -herbert -herman -hershey -hithere -hobbit -hockey -homer -honda -honey -hoop -horizon -hornet -horse -house -houston -howard -huey -hunt -ibanez -icecream -iceman -idontknow -iguana -iloveyou -image -imagine -impala -indiana -indigo -info -insane -inside -integra -intern -internet -intrepid -ireland -irene -irish -ironman -isaac -isabel -island -jack -jackie -jackson -jaguar -jake -jamaica -james -jane -janet -janice -japan -jasmin -jasmine -jason -jasper -jeanette -jeanne -jeff -jeffrey -jenifer -jenni -jennifer -jenny -jeremy -jerry -jersey -jessica -jessie -jesus -jethrotull -jewel -jim -jkl -joanna -joanne -joe -joel -joey -johan -johanna -john -johnny -johnson -joker -jonathan -jordan -joseph -joshua -judith -julia -julian -julie -jumanji -junior -jupiter -jussi -justice -justin -kangaroo -karen -katherine -kathleen -kathy -katie -keepout -keith -kelly -kelsey -kennedy -kenneth -kermit -kevin -kidder -kid -killer -kim -kimberly -king -kingdom -kingfish -kirk -kitkat -kitten -kitty -knick -knight -koala -kramer -kris -kristen -kunt -l -lacrosse -lady -laker -lambda -larry -laura -lauren -laurie -law -lawrence -lawyer -ledzep -lee -legend -leon -leonard -leslie -lestat -letmein -liberty -library -light -lincoln -linda -lindsay -lindsey -linux -lionking -lisa -liverpool -lizard -logan -logical -lola -london -lonely -lorrie -louis -louise -love -lovely -loveme -lucas -lucky -lucy -m -maddog -made -madeline -madison -madonna -maggie -magic -maid -mail -mailman -major -majordomo -malcolm -malibu -mantra -marathon -marcel -margaret -maria -mariah -marie -marilyn -marina -mariner -mario -mariposa -mark -market -marlboro -marley -martin -marty -marvin -mary -maryjane -master -matrix -matt -matthew -maurice -maverick -max -maxine -maxwell -mayday -mazda -md -me -media -meggie -melanie -melissa -mellon -melody -menblow -mensuck -mercede -mercury -merlin -merlot -metal -metallic -mexico -michael -michel -michele -michelle -mickey -micro -midnight -midway -milk -mike -mikey -miki -miller -millie -mindy -mine -minnie -miracle -mirage -miss -misty -mitch -mitchell -mmm -mmouse -molly -molson -mom -monday -monet -money -monica -monique -monkey -monopoly -monster -montreal -moocow -moon -moore -moose -mopar -morgan -moron -morris -mort -mortimer -mother -mountain -mouse -muffin -mulder -murphy -music -mustang -nancy -naomi -nascar -natasha -nathan -nautica -nelly -nellie -nelson -nermal -nesbitt -netware -new -newpass -newpassword -news -newton -newuser -newyork -nicholas -nick -nicole -nimrod -nina -niner -ninja -nirvana -nissan -non -norman -notebook -nothing -null -ocean -october -oi -olive -olivia -olivier -ollie -olsen -one -online -open -opera -orange -oregon -orion -oscar -ou -overkill -oxford -pacer -pacific -packer -painter -paladin -pamela -panda -pandora -pantera -panther -paris -parker -passion -passwd -password -pat -patricia -patrick -peace -peache -peanut -pearl -pearljam -pee -pencil -penis -penelope -penguin -penny -pentium -people -pepper -pepsi -percy -person -pete -peter -petey -petunia -phantom -phil -philip -phish -phoenix -photo -piano -picard -picasso -pickle -picture -pierre -piglet -pinkfloyd -pit -pizza -player -please -plus -polar -polaris -police -polo -poo -poohbear -pookie -popcorn -poppy -pork -porsche -porter -power -ppp -predator -preston -primus -prince -princess -prometheus -psycho -public -pumpkin -punkin -puppy -purple -pyramid -python -q -quality -queen -queenie -quentin -quest -quiet -quite -qwe -qwerty -r -rabbit -rachel -radio -raider -rain -rainbow -raistlin -ralph -random -randy -ranger -raptor -raquel -rascal -rastafarian -raven -raymond -reality -rebecca -red -reddog -redrum -remember -remote -reptile -republic -research -reynold -rhonda -ricardo -richard -ricky -river -roadrunner -rob -robbie -robert -robin -robinhood -robotech -rocket -rocknroll -rocky -rodeo -roger -rolex -roman -ronald -root -rose -rosebud -rouge -route -roxy -roy -royal -ruby -rugby -runner -running -russell -ruthie -ryan -sabrina -sadie -sailing -sailor -sakura -salasana -sally -salmon -salt -sam -samantha -sammy -sampson -samson -samuel -sandra -sandy -santa -sapphire -sarah -sasha -saturn -savage -scarecrow -scarlet -scarlett -school -scooter -scorpio -scott -scottie -scout -scruffy -scuba -sean -seattle -secret -security -serena -service -seven -sex -shadow -shalom -shannon -shanti -shark -sharon -sheba -sheena -sheila -shelby -shit -shithead -shoe -shogun -short -shorty -shortie -sidekick -sierra -silver -simba -simon -simple -singer -skeeter -ski -skibum -skiing -skipper -skippy -skull -skunk -sky -skywalker -slacker -slut -smashing -smile -smiley -smokey -snail -snailmail -snake -snapple -sne -snicker -sniper -snoopdog -snoopy -snowball -snowflake -snowman -snowski -snuffy -soccer -soleil -sonic -sonny -sophie -sound -spanky -sparky -sparrow -special -speedy -spencer -sphincter -spider -spike -spitfire -spooky -spring -sprite -spunky -stacey -stanley -star -start -starter -startrek -starwar -station -stealth -steeler -stella -stephanie -stephen -sterling -steve -steven -stimpy -sting -stingray -stinky -storm -stormy -strawberry -stuart -student -stupid -success -sugar -summer -sumuinen -sun -sunbird -sundance -sunflower -sunny -sunrise -sunshine -superfly -superman -support -supra -surfer -susan -suzanne -suzuki -sverige -sweetie -swimmer -swimming -swoosh -sydney -sylvia -system -t -taffy -tamara -tammy -tango -tanya -tara -tarzan -taurus -taylor -tbird -teacher -tech -techno -ted -teddy -teddybear -teflon -telecom -temp -temporal -tennis -teresa -terminal -terry -test -testing -the -theatre -theboss -thejudge -theking -theresa -thomas -thumper -thunder -thunderbird -thursday -thx -tiger -tigger -time -tina -tinker -tintin -tit -tities -titties -toby -today -tokyo -tomcat -tommy -tony -tootsie -topgun -tornado -toyota -tracy -training -travel -trebor -tree -trek -trevor -tricia -trident -tristan -trojan -trout -truck -truman -trumpet -trust -tucker -tuesday -turtle -tweety -tyler -unicorn -utopia -vader -vag -vagina -val -valentine -valerie -valhalla -vanilla -vernon -veronica -victor -victoria -victory -video -vincent -viper -viral -virus -visa -vodka -voila -volvo -voyager -wally -walter -warcraft -warlock -warren -warrior -water -waterloo -wayne -weasel -webster -weener -weiner -welcome -wendy -wesley -whatever -wheel -whisky -whiskey -wilbur -william -willie -willow -willy -wilson -win -window -windsurf -winner -winnie -winona -winston -winter -wisdom -wizard -wolf -wolverine -wolves -wombat -women -womensuck -womenblow -woodrow -woody -woofwoof -world -wrangler -wright -www -xanadu -xavier -xaybzc -xcountry -xfile -x -xxxx -xxxxxx -xyz -y -yankee -yellow -yoda -yukon -yvonne -zapata -zaphod -zebra -zenith -zephyr -zeppelin -zeus -zig -zigzag -zombie -zorro -zyx -zxcvbnm -zzz diff --git a/contrib/splice3/TOOLS/IM-STEAL/README b/contrib/splice3/TOOLS/IM-STEAL/README deleted file mode 100644 index 7e0bfc3..0000000 --- a/contrib/splice3/TOOLS/IM-STEAL/README +++ /dev/null @@ -1,43 +0,0 @@ -DESCRIPTION: - im-steal.c is a modified nullclient.c that uses - libpurple to test for a successfull login on - multiple instant messenger protocols. - -USAGE: - im-steal <prpl-protocol> <username> <password> - -SPLICE3 USAGE: - -splice3 --command='im-steal <prpl-protocol> <username> PASSWORD' --<modules> --test='Account Connected' - -DEPENDS: - libpurple-dev, libpurple - -INSTALL: - -gcc `pkg-config --libs glib-2.0` -I /usr/include/libpurple/ -I /usr/include/glib-2.0/ -I /usr/lib/glib-2.0/include/ -lpurple im-steal.c -o /usr/bin/im-steal - -UNINSTALL: - -rm /usr/bin/im-steal - -PRPL-PROTOCOL: - libpurple requires and allows several prpl-* arguments - to call various instant messenger protocols. - - AIM == prpl-aim - Bonjour == prpl-bonjour - Gadu-Gadu == prpl-gg - GroupWise == prpl-novell - ICQ == prpl-icq - IRC == prpl-irc - MSN == prpl-msn - MySpaceIM == prpl-myspace - QQ == prpl-qq - SILC == prpl-silc - SIMPLE == prpl-simple - Sametime == prpl-meanwhile - XMPP == prpl-jabber - Yahoo == prpl-yahoo - Yahoo JAPAN == prpl-yahoojp - Zephyr == prpl-zephyr diff --git a/contrib/splice3/TOOLS/IM-STEAL/im-steal.c b/contrib/splice3/TOOLS/IM-STEAL/im-steal.c deleted file mode 100644 index 46bf3c1..0000000 --- a/contrib/splice3/TOOLS/IM-STEAL/im-steal.c +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Modified libpurple nullclient.c from http://pidgin.sourcearchive.com. - * This libpurple program serves no other purpose other than testing - * for a successfull login. - */ - -#include "purple.h" -#include <glib.h> -#include <signal.h> -#include <string.h> -#include <unistd.h> -#include <stdio.h> -#define CUSTOM_USER_DIRECTORY "/dev/null" -#define CUSTOM_PLUGIN_PATH "" -#define PLUGIN_SAVE_PREF "/purple/user/plugins/saved" -#define UI_ID "user" -#define PURPLE_GLIB_READ_COND (G_IO_IN | G_IO_HUP | G_IO_ERR) -#define PURPLE_GLIB_WRITE_COND (G_IO_OUT | G_IO_HUP | G_IO_ERR | G_IO_NVAL) - -typedef struct _PurpleGLibIOClosure { - PurpleInputFunction function; - guint result; - gpointer data; -} PurpleGLibIOClosure; - - -static void purple_glib_io_destroy(gpointer data) -{ - g_free(data); -} - -static gboolean purple_glib_io_invoke(GIOChannel *source, GIOCondition condition, gpointer data) -{ - PurpleGLibIOClosure *closure = data; - PurpleInputCondition purple_cond = 0; - - if (condition & PURPLE_GLIB_READ_COND) - purple_cond |= PURPLE_INPUT_READ; - if (condition & PURPLE_GLIB_WRITE_COND) - purple_cond |= PURPLE_INPUT_WRITE; - - closure->function(closure->data, g_io_channel_unix_get_fd(source), - purple_cond); - - return TRUE; -} - -static guint glib_input_add(gint fd, PurpleInputCondition condition, PurpleInputFunction function, - gpointer data) -{ - PurpleGLibIOClosure *closure = g_new0(PurpleGLibIOClosure, 1); - GIOChannel *channel; - GIOCondition cond = 0; - - closure->function = function; - closure->data = data; - - if (condition & PURPLE_INPUT_READ) - cond |= PURPLE_GLIB_READ_COND; - if (condition & PURPLE_INPUT_WRITE) - cond |= PURPLE_GLIB_WRITE_COND; - - channel = g_io_channel_unix_new(fd); - closure->result = g_io_add_watch_full(channel, G_PRIORITY_DEFAULT, cond, - purple_glib_io_invoke, closure, purple_glib_io_destroy); - - g_io_channel_unref(channel); - return closure->result; -} - -static PurpleEventLoopUiOps glib_eventloops = -{ - g_timeout_add, - g_source_remove, - glib_input_add, - g_source_remove, - NULL, -#if GLIB_CHECK_VERSION(2,14,0) - g_timeout_add_seconds, -#else - NULL, -#endif - NULL, - NULL, - NULL -}; - -static void network_disconnected(void) -{ - printf("This machine has been disconnected from the internet\n"); -} - -static void report_disconnect_reason(PurpleConnection *gc, PurpleConnectionError reason, const char *text) -{ - PurpleAccount *account = purple_connection_get_account(gc); - printf("Connection disconnected: \"%s\" (%s)\n >Error: %d\n >Reason: %s\n", purple_account_get_username(account), purple_account_get_protocol_id(account), reason, text); - abort(); -} - -static PurpleConnectionUiOps connection_uiops = -{ - NULL, /* connect_progress */ - NULL, /* connected */ - NULL, /* disconnected */ - NULL, /* notice */ - NULL, /* report_disconnect */ - NULL, /* network_connected */ - network_disconnected, /* network_disconnected */ - report_disconnect_reason, /* report_disconnect_reason */ - NULL, - NULL, - NULL -}; - -static void ui_init(void) -{ - purple_connections_set_ui_ops(&connection_uiops); -} - -static PurpleCoreUiOps core_uiops = -{ - NULL, - NULL, - ui_init, - NULL, - - /* padding */ - NULL, - NULL, - NULL, - NULL -}; - -static void init_libpurple(void) -{ - purple_debug_set_enabled(FALSE); - purple_core_set_ui_ops(&core_uiops); - purple_eventloop_set_ui_ops(&glib_eventloops); - - if (!purple_core_init(UI_ID)) { - fprintf(stderr, - "libpurple initialization failed. Dumping core.\n" - "Please report this!\n"); - abort(); - } - purple_set_blist(purple_blist_new()); // "Unnecessary" code left here to prevent output spam. -} - -static void signed_on(PurpleConnection *gc) -{ - printf("Account Connected\n"); - abort(); -} - -static void connect_to_signals(void) -{ - static int handle; - purple_signal_connect(purple_connections_get_handle(), "signed-on", &handle, - PURPLE_CALLBACK(signed_on), NULL); -} - -int main(int argc, char *argv[]) -{ - GMainLoop *loop = g_main_loop_new(NULL, FALSE); - signal(SIGCHLD, SIG_IGN); - init_libpurple(); - connect_to_signals(); - PurpleAccount *account = purple_account_new(argv[2], argv[1]); - purple_account_set_password(account, argv[3]); - purple_accounts_add(account); - purple_account_set_enabled(account, UI_ID, TRUE); - g_main_loop_run(loop); - return 0; -} diff --git a/contrib/splice3/setup b/contrib/splice3/setup deleted file mode 100755 index 109f9d4..0000000 --- a/contrib/splice3/setup +++ /dev/null @@ -1,21 +0,0 @@ -#!/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 deleted file mode 100755 index bf8dd01..0000000 --- a/contrib/splice3/setup-deb +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -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 'checking for python2.7' -CheckPython=`dpkg --get-selections python2.7` -if [[ $CheckPython == *deinstall* ]]; then - echo 'python2.7 not found. Quiting... :-(' - exit 1 -elif [[ $CheckPython == '' ]]; then - echo 'python2.7 not found. Quiting... :-(' - exit 1 -else - : -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 |