From 182c7b23d482a680ac140a681128b74c7db058ac Mon Sep 17 00:00:00 2001 From: d3v11 Date: Fri, 28 Oct 2011 19:08:24 -0400 Subject: SpliceX now compiles to true binary --- contrib/splicex/src/splicex.pyx | 4520 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 4520 insertions(+) create mode 100644 contrib/splicex/src/splicex.pyx (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx new file mode 100644 index 0000000..22c4f32 --- /dev/null +++ b/contrib/splicex/src/splicex.pyx @@ -0,0 +1,4520 @@ +#!PYTHON + +Red = '\033[1;31m' +Green = '\033[1;32m' +Yellow = '\033[1;33m' +DefColour = '\033[0;0m' +CLEAR_LINE = chr(27) + '[2K' +SpliceX = Red + '[Splice' + Yellow + 'X' + Red + ']: ' + DefColour + +def HELP(): + print('') + print(Red + ' __________ _ _ ' + Yellow + '__ __' + Red + ' ______ ' + DefColour) + print(Red + ' / / / / ___| _ __ | (_) ___ ___' + Yellow + '\ \/ /' + Red + ' / / / / ' + DefColour) + print(Red + ' / / / /\___ \| \'_ \| | |/ __/ _ \\' + Yellow + '\\ /' + Red + ' / / / /' + DefColour) + print(Red + ' / / / / ___) | |_) | | | (_| __/' + Yellow + '/ \\' + Red + ' / / / / ' + DefColour) + print(Red + ' /_/_/_/ |____/| .__/|_|_|\___\___' + Yellow + '/_/\_\\' + Red + '/_/_/_/ ' + DefColour) + print(Red + ' |_| ' + DefColour) + print(' ' + DefColour) + print(' ' + DefColour) + print(' ' + DefColour) + print(Yellow + ' .:Brute Force Utilities For GNU/Linux:. ' + DefColour) + print('') + print('') + print('') + print(' SpliceX is free software: you can redistribute it and/or modify it under ') + print(' the terms of the GNU General Public License as published by the Free ') + print(' Software Foundation, either version 3 of the License, or (at your option)') + print(' any later version. ') + print('') + print(' SpliceX is distributed in the hope that it will be useful, but WITHOUT ') + print(' ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ') + print(' FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ') + print(' for more details. ') + print('') + print('') + print('') + print(Red + ' --help ' + DefColour + 'Show help display and exit') + print('') + print(Red + ' --command ' + DefColour + 'Parse passwords to this command') + print(' ' + Yellow + 'splicex --command=\' PASSWORD\'' + DefColour) + print('') + print(Red + ' --dictionary ' + DefColour + 'Path to custom dictionary(wordlist)') + print(' ' + Yellow + 'splicex --dictionary=\'WordList.txt\'' + DefColour) + print('') + print(Red + ' --rtfm ' + DefColour + 'Show manual page and exit') + print('') + print(Red + ' --restore ' + DefColour + 'Path to restore file') + print(' ' + Yellow + 'splicex --restore=\'splicex.save\'' + DefColour) + print('') + print(Red + ' --save ' + DefColour + 'Directory path to create save file') + print(' ' + Yellow + 'splicex --save=/home/$USER/' + DefColour) + print('') + print(Red + ' --test ' + DefColour + 'Test output of command') + print(' ' + Yellow + 'splicex --test=\'Password Ok\'' + DefColour) + print('') + print(Red + ' --time ' + DefColour + 'Manipulate timed iterations') + print(' ' + Yellow + 'splicex --time=\'12, 3\'' + DefColour) + print('') + print(Red + ' --usernames ' + DefColour + 'Path to username list') + print(' ' + Yellow + 'splicex --usernames=\'UserList.txt\'' + DefColour) + print('') + print(Red + ' --exh-l ' + DefColour + 'Use an exhaustive attack with letters only') + print('') + print(Red + ' --exh-n ' + DefColour + 'Use an exhaustive attack with numbers only') + print('') + print(Red + ' --exh-s ' + DefColour + 'Use an exhaustive attack with special characters only') + print('') + print(Red + ' --exh-ln ' + DefColour + 'Use an exhaustive attack with letters and numbers only') + print('') + print(Red + ' --exh-ls ' + DefColour + 'Use an exhaustive attack with letters and special') + print(' characters only') + print('') + print(Red + ' --exh-ns ' + DefColour + 'Use an exhaustive attack with numbers and special') + print(' characters only') + print('') + print(Red + ' --exh-all ' + DefColour + 'Use an exhaustive attack with all characters') + print('') + print(Red + ' --exh-custom ' + DefColour + 'Use an exhaustive attack with custom characters') + print(' ' + Yellow + 'splicex --exh-custom=\'CharsList.txt\'' + DefColour) + print('') + print(Red + ' --stdout ' + DefColour + 'Print only passwords to stdout') + print('') + print(Red + ' -A ' + DefColour + 'Use alphabetical mixing module') + print('') + print(Red + ' -B ' + DefColour + 'Use backwords module') + print('') + print(Red + ' -C ' + DefColour + 'Use alternating caps module') + print('') + print(Red + ' -L ' + DefColour + 'Use "L337" speak module') + print('') + print(Red + ' -M ' + DefColour + 'Use MD5 module') + print('') + print(Red + ' -N ' + DefColour + 'Use numerical mixing module') + print('') + print(Red + ' -R ' + DefColour + 'Use regular words module') + print('') + print(Red + ' -S ' + DefColour + 'Use special mixing module') + print('') + print(Red + ' --mix-custom ' + DefColour + 'Use custom mixing module') + print(' ' + Yellow + 'splicex --mix-custom=\'CharsList.txt\'' + DefColour) + print('') + print(Red + ' --wep-5 ' + DefColour + 'Use 5 character WEP module') + print('') + print(Red + ' --wep-13 ' + DefColour + 'Use 13 character WEP module') + print('') + print(Red + ' --wep-* ' + DefColour + 'Use 5 and 13 character WEP module') + print('') + print(Red + ' --letters ' + DefColour + 'Use letter characters') + print('') + print(Red + ' --numbers ' + DefColour + 'Use number characters') + print('') + print(Red + ' --specials ' + DefColour + 'Use special characters') + print('') + print(Red + ' --char-all ' + DefColour + 'Use all characters') + print('') + print(Red + ' --no-char ' + DefColour + 'Override character usage') + print('') + print(Red + ' --char-length ' + DefColour + 'Start and end with set character lengths') + print('') + print(Red + ' --custom ' + DefColour + 'Use custom characters') + print(' ' + Yellow + 'splicex --custom=\'CharsList.txt\'' + DefColour) + print('') + print(Red + ' --deshadow ' + DefColour + 'Crack shadow hash sums') + print('') + print(Red + ' --get-shadow ' + DefColour + 'Get the shadow info for a user') + print(' ' + Yellow + 'splicex --get-shadow=$USER' + DefColour) + print('') + print(Red + ' --set-shadow ' + DefColour + 'Use the shadow info from a file') + print(' ' + Yellow + 'splicex --set-shadow=\'UserShadow.txt\'' + DefColour) + print('') + print(Red + ' --se-module ' + DefColour + 'Use the social engineering module') + print('') + print(Red + ' --create ' + DefColour + 'Create a dictionary') + print('') + print(Red + ' --debug ' + DefColour + 'Enable debugging') + +import os +import re +import sys +import spwd +import getpass +import os.path +import getopt +import time +from hashlib import md5 + +cmd = None +dictionary = None +save = None +restore = None +test = None +TIME = None +LENGTH = None +usernames = None +MixCustom = None +ExhCustom = None +Custom = None +GetShadow = None +SetShadow = None +ExhL = False +ExhN = False +ExhS = False +ExhLN = False +ExhLS = False +ExhNS = False +ExhALL = False +StdoutSwitch = False +AlphaSwitch = False +BWSwitch = False +CapsSwitch = False +L337Switch = False +MD5Switch = False +NumberSwitch = False +RegularSwitch = False +SpecialSwitch = False +wep5 = False +wep13 = False +NoChar = False +Letters = False +Numbers = False +Specials = False +DeShadow = False +SESwitch = False +Create = False +DebugSwitch = False + +for arg in sys.argv: + if '--command=' in arg: + cmd = arg.replace('--command=', '', 1) + elif '--dictionary=' in arg: + dictionary = arg.replace('--dictionary=', '', 1) + elif '--save=' in arg: + save = arg.replace('--save=', '', 1) + elif '--restore=' in arg: + restore = arg.replace('--restore=', '', 1) + elif '--test=' in arg: + test = arg.replace('--test=', '', 1) + elif '--time=' in arg: + TIME = arg.replace('--time=', '', 1) + elif '--char-length=' in arg: + LENGTH = arg.replace('--char-length=', '', 1) + elif '--usernames=' in arg: + usernames = arg.replace('--usernames=', '', 1) + elif '--mix-custom=' in arg: + MixCustom = arg.replace('--mix-custom=', '', 1) + elif '--exh-custom=' in arg: + ExhCustom = arg.replace('--exh-custom=', '', 1) + elif '--custom=' in arg: + Custom = arg.replace('--custom=', '', 1) + elif '--get-shadow=' in arg: + GetShadow = arg.replace('--get-shadow=', '', 1) + elif '--set-shadow=' in arg: + SetShadow = arg.replace('--set-shadow=', '', 1) + elif '--rtfm' in arg: + os.system("man /etc/splicex/splicex.1.gz") + sys.exit(0) + elif '--exh-l' in arg: + ExhL = True + elif '--exh-n' in arg: + ExhN = True + elif '--exh-s' in arg: + ExhS = True + elif '--exh-ln' in arg: + ExhLN = True + elif '--exh-ls' in arg: + ExhLS = True + elif '--exh-ns' in arg: + ExhNS = True + elif '--exh-all' in arg: + ExhALL = True + elif '--stdout' in arg: + StdoutSwitch = True + elif '-A' in arg: + AlphaSwitch = True + elif '-B' in arg: + BWSwitch = True + elif '-C' in arg: + CapsSwitch = True + elif '-L' in arg: + L337Switch = True + elif '-M' in arg: + MD5Switch = True + elif '-N' in arg: + NumberSwitch = True + elif '-R' in arg: + RegularSwitch = True + elif '-S' in arg: + SpecialSwitch = True + elif '--wep-5' in arg: + wep5 = True + elif '--no-13' in arg: + wep13 = True + elif '--wep-*' in arg: + wep5 = True + wep13 = True + elif '--no-char' in arg: + NoChar = True + elif '--letters' in arg: + Letters = True + elif '--numbers' in arg: + Numbers = True + elif '--specials' in arg: + Specials = True + elif '--char-all' in arg: + Letters = True + Numbers = True + Specials = True + elif '--deshadow' in arg: + DeShadow = True + elif '--se-module' in arg: + SESwitch = True + elif '--create' in arg: + Create = True + elif '--debug' in arg: + DebugSwitch = True + elif '--help' in arg: + sys.exit(HELP()) + +if DebugSwitch is False: + sys.tracebacklimit = 0 + +if ExhCustom is not None: + dictionary = ExhCustom + Custom = ExhCustom + + + +ExhSwitch = False +if ExhL == True: + dictionary = "/etc/splicex/splicex.L" + Letters = True + Numbers = False + Specials = False + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True +if ExhN == True: + dictionary = "/etc/splicex/splicex.N" + Letters = False + Numbers = True + Specials = False + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True +if ExhS == True: + dictionary = "/etc/splicex/splicex.S" + Letters = False + Numbers = False + Specials = True + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True +if ExhLN == True: + dictionary = "/etc/splicex/splicex.LN" + Letters = True + Numbers = True + Specials = False + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True +if ExhLS == True: + dictionary = "/etc/splicex/splicex.LS" + Letters = True + Numbers = False + Specials = True + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True +if ExhNS == True: + dictionary = "/etc/splicex/splicex.NS" + Letters = False + Numbers = True + Specials = True + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True +if ExhALL == True: + dictionary = "/etc/splicex/splicex.ALL" + Letters = True + Numbers = True + Specials = True + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True + +if Custom is not None and dictionary is not None: + if Custom == dictionary: + Letters = False + Numbers = True + Specials = True + AlphaSwitch = False + BWSwitch = False + CapsSwitch = False + L337Switch = False + NumberSwitch = False + MD5Switch = False + RegularSwitch = True + SpecialSwitch = False + ExhSwitch = True + + +ShadowValue = [] +if DeShadow is True and SetShadow is None and GetShadow is None: + sys.exit(SpliceX + "error: --deshadow requires --getshadow or --setshadow") +if SetShadow is not None and GetShadow is not None: + sys.exit(SpliceX + "error: --getshadow and --setshadow cannot be combined") +elif not os.geteuid()==0 and GetShadow is not None: + sys.exit(SpliceX + "error: --getshadow requires root privileges") +elif os.geteuid()==0 and GetShadow is not None: + try: + ShadowValue = spwd.getspnam(GetShadow)[1] + except: + sys.exit(SpliceX + "error: --getshadow: invalid user entered") +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): + sys.exit(SpliceX + "error: --setshadow: shadow file does not exist") +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('$', '\$') + +if restore is not None and os.path.exists(restore) is False: + sys.exit(SpliceX + "error: restore file does not exist") +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 + +Slash = "/" +if save is not None and not os.path.isdir(save): + sys.exit(SpliceX + "error: ( -s ) invalid directory") +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 + "splicex.save" +else: + SaveSwitch = False + +if dictionary is None: + dictionary = "/etc/splicex/splicex.list" +elif dictionary is not None and not os.path.exists(dictionary): + sys.exit(SpliceX + "error: dictionary does not exist") + +if usernames is None: + UserSwitch = False +elif usernames is not None and not os.path.exists(usernames): + sys.exit(SpliceX + "error: username list does not exist") +else: + UserSwitch = True + +if RestoreSwitch is False: + AlphaSwitch = AlphaSwitch + CapsSwitch = CapsSwitch + BWSwitch = BWSwitch + L337Switch = L337Switch + MD5Switch = MD5Switch + NumberSwitch = NumberSwitch + RegularSwitch = RegularSwitch + SpecialSwitch = SpecialSwitch + Letters = Letters + Numbers = Numbers + Specials = Specials + MixCustom = MixCustom + Custom = Custom + wep5 = wep5 + wep13 = wep13 +else: + 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: + cmd = "STDOUT PASSWORD ON" + +if Create is False and RestoreSwitch is False: + ShadowSwitch = DeShadow + if ShadowSwitch is True: + cmd = "splicex-deshadow PASSWORD '" + ShadowSalt + "' '" + ShadowValue + "'" + if cmd is None: + sys.exit(SpliceX + "error: invalid usage") + else: + cmd = cmd.replace('','eval ', 1) + +if Create is False and RestoreSwitch is False: + if cmd.__contains__("PASSWORD"): + pass + else: + sys.exit(SpliceX + "error: -c does not contain regexp `PASSWORD'") + +if usernames is not None and RestoreSwitch is False: + if cmd.__contains__("USERNAME"): + pass + else: + sys.exit(SpliceX + "error: -c does not contain regexp `USERNAME'") + +if Create is False and cmd.__contains__("splicex-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: + sys.exit(SpliceX + "error: no modules selected: ( -A -B -C -L -M -N -R -S --mix-custom --wep-5 --wep-13 --wep-* --se-module)") + +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: + sys.exit(SpliceX + "error: --custom list does not exist") + +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: + sys.exit(SpliceX + "error: -U list does not exist") + +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: + sys.exit(SpliceX + "error: compiled empty wordlist") + +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: + sys.exit(SpliceX + "error: invalid --time arguments") + +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: + sys.exit(SpliceX + " error: invalid --char-length arguments") + +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(SpliceX + 'unable to find password') + for x in range(StateW, WordCount): + if SaveSwitch is True: + WriteSave = [] + FILE = open(save, 'w') + WriteSave.append(str(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF2(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF3(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF4(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF5(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF6(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF7(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF8(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF9(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF10(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + else: + print(output) + +def BF11(): + if NoChar is True: + sys.exit(SpliceX + '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(SpliceX + '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(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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + cmd = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace('USERNAME', User[u].replace(" ", ""))) + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() + if test == None: + print(output) + elif output.__contains__(test): + sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) + 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(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 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(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 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(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 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(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 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(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 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(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 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(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 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(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 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(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 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(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 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(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("splicex.create", 'w') + X = 0 + N = 0 + for WCreate in ShowWord: + N += 1 + D1 = round(N * 0.1) + D2 = round(N * 0.2) + D3 = round(N * 0.3) + D4 = round(N * 0.4) + D5 = round(N * 0.5) + D6 = round(N * 0.6) + D7 = round(N * 0.7) + D8 = round(N * 0.8) + D9 = round(N * 0.9) + DStop = round(N * 0.95) + for WCreate in ShowWord: + CFILE.write(WCreate + "\n") + if X == 0: + sys.stdout.write(SpliceX + 'compiling splicex.create') + time.sleep(0.5) + X += 1 + elif X == D1 or X == D2 or X == D3 or X == D4 or X == D5 or X == D6 or X == D7 or X == D8 or X == D9: + sys.stdout.flush() + sys.stdout.write('.') + time.sleep(0.5) + X += 1 + elif X == DStop: + sys.stdout.flush() + sys.stdout.write('.') + time.sleep(0.5) + X += 1 + else: + X += 1 + CFILE.close() + sys.stdout.write(CLEAR_LINE) + sys.stdout.write('\r') + sys.exit(SpliceX + 'compiled ' + str(N) + ' passwords. enjoy ;-)') + +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() + sys.exit(SpliceX + " unable to find password") + +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") +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() + sys.exit(SpliceX + " unable to find password") + +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) + +sys.exit(SpliceX + " unknown error: please report bug to author") -- cgit v1.2.3 From e04f0562d401b1d44c49f8a03e73cd8fdd27c0d4 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Fri, 28 Oct 2011 22:04:07 -0400 Subject: SpliceX Improved --- contrib/splicex/src/splicex.pyx | 751 ++++++++++++++++++++-------------------- 1 file changed, 373 insertions(+), 378 deletions(-) (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 22c4f32..859e6e3 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -1729,8 +1729,7 @@ else: if not Word: sys.exit(SpliceX + "error: compiled empty wordlist") -Word = list(set(Word)) -WordCount = 0 +Word = list(set(Word)) ShowWord = [] PassWd = [] for Input in Word: @@ -1740,7 +1739,9 @@ for Input in Word: c += "\\\\\\" + let PassWd.append(c) - +timeup = 0 +PassAmount = 0 +StartTime = time.time() - 1 if TIME != None: try: TIME = TIME.split(", ") @@ -1772,19 +1773,13 @@ else: length_start = 0 length_end = 10 +WordCount = 0 +for CountWords in ShowWord: + WordCount += 1 + def BF1(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 + global timeup, PassAmount for u in range(StateU, UserCount): - if length_start > 0: - break - if length_end < 0: - sys.exit(SpliceX + 'unable to find password') for x in range(StateW, WordCount): if SaveSwitch is True: WriteSave = [] @@ -1835,20 +1830,10 @@ def BF1(): print(output) def BF2(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for x in range(StateW, WordCount): if SaveSwitch is True: @@ -1920,20 +1905,10 @@ def BF2(): print(output) def BF3(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for x in range(StateW, WordCount): @@ -2025,20 +2000,10 @@ def BF3(): print(output) def BF4(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2150,20 +2115,10 @@ def BF4(): print(output) def BF5(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2259,20 +2214,10 @@ def BF5(): print(output) def BF6(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2388,20 +2333,10 @@ def BF6(): print(output) def BF7(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2501,20 +2436,10 @@ def BF7(): print(output) def BF8(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2634,20 +2559,10 @@ def BF8(): print(output) def BF9(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2751,20 +2666,10 @@ def BF9(): print(output) def BF10(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2888,20 +2793,10 @@ def BF10(): print(output) def BF11(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3009,14 +2904,7 @@ def BF11(): 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 = [] @@ -3052,16 +2940,9 @@ def SBF1(): print(NewShowWord.replace(" ", "")) def SBF2(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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: @@ -3103,16 +2984,9 @@ def SBF2(): print(NewShowWord.replace(" ", "")) def SBF3(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3159,16 +3033,9 @@ def SBF3(): print(NewShowWord.replace(" ", "")) def SBF4(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3220,16 +3087,9 @@ def SBF4(): print(NewShowWord.replace(" ", "")) def SBF5(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3280,16 +3140,9 @@ def SBF5(): print(NewShowWord.replace(" ", "")) def SBF6(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3345,16 +3198,9 @@ def SBF6(): print(NewShowWord.replace(" ", "")) def SBF7(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3409,16 +3255,9 @@ def SBF7(): print(NewShowWord.replace(" ", "")) def SBF8(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3478,16 +3317,9 @@ def SBF8(): print(NewShowWord.replace(" ", "")) def SBF9(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3546,16 +3378,9 @@ def SBF9(): print(NewShowWord.replace(" ", "")) def SBF10(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3619,16 +3444,9 @@ def SBF10(): print(NewShowWord.replace(" ", "")) def SBF11(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3729,6 +3547,183 @@ if Create is True: sys.stdout.write('\r') sys.exit(SpliceX + 'compiled ' + str(N) + ' passwords. enjoy ;-)') +def C_BF1(): + if length_start > 0: + pass + elif length_end < 0: + sys.exit(SpliceX + 'unable to find password') + elif StdoutSwitch is True: + BF1() + +def C_BF2(): + if length_start > 1: + pass + elif length_end < 1: + sys.exit(SpliceX + 'unable to find password') + else: + BF2() + +def C_BF3(): + if length_start > 2: + pass + elif length_end < 2: + sys.exit(SpliceX + 'unable to find password') + else: + BF3() + +def C_BF4(): + if length_start > 3: + pass + elif length_end < 3: + sys.exit(SpliceX + 'unable to find password') + else: + BF4() + +def C_BF5(): + if length_start > 4: + pass + elif length_end < 4: + sys.exit(SpliceX + 'unable to find password') + else: + BF5() + +def C_BF6(): + if length_start > 5: + pass + elif length_end < 5: + sys.exit(SpliceX + 'unable to find password') + else: + BF6() + +def C_BF7(): + if length_start > 6: + pass + elif length_end < 6: + sys.exit(SpliceX + 'unable to find password') + else: + BF7() + +def C_BF8(): + if length_start > 7: + pass + elif length_end < 7: + sys.exit(SpliceX + 'unable to find password') + else: + BF8() + +def C_BF9(): + if length_start > 8: + pass + elif length_end < 8: + sys.exit(SpliceX + 'unable to find password') + else: + BF9() + +def C_BF10(): + if length_start > 9: + pass + elif length_end < 9: + sys.exit(SpliceX + 'unable to find password') + else: + BF10() + +def C_BF11(): + if length_start > 10: + pass + elif length_end < 10: + sys.exit(SpliceX + 'unable to find password') + else: + BF11() + +def C_SBF1(): + if length_start > 0: + pass + elif length_end < 0: + sys.exit(0) + elif StdoutSwitch is True: + SBF1() + +def C_SBF2(): + if length_start > 1: + pass + elif length_end < 1: + sys.exit(0) + else: + SBF2() + +def C_SBF3(): + if length_start > 2: + pass + elif length_end < 2: + sys.exit(0) + else: + SBF3() + +def C_SBF4(): + if length_start > 3: + pass + elif length_end < 3: + sys.exit(0) + else: + SBF4() + +def C_SBF5(): + if length_start > 4: + pass + elif length_end < 4: + sys.exit(0) + else: + SBF5() + +def C_SBF6(): + if length_start > 5: + pass + elif length_end < 5: + sys.exit(0) + else: + SBF6() + +def C_SBF7(): + if length_start > 6: + pass + elif length_end < 6: + sys.exit(0) + else: + SBF7() + +def C_SBF8(): + if length_start > 7: + pass + elif length_end < 7: + sys.exit(0) + else: + SBF8() + +def C_SBF9(): + if length_start > 8: + pass + elif length_end < 8: + sys.exit(0) + else: + SBF9() + +def C_SBF10(): + if length_start > 9: + pass + elif length_end < 9: + sys.exit(0) + else: + SBF10() + +def C_SBF11(): + if length_start > 10: + pass + elif length_end < 10: + sys.exit(0) + else: + SBF11() + + if RestoreSwitch is False: StateCount = 0 if RestoreSwitch is False and StdoutSwitch is False: @@ -3744,17 +3739,17 @@ if RestoreSwitch is False and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF1() - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF1() + C_BF2() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: @@ -3770,7 +3765,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF1() + C_BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3782,18 +3777,18 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF2() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") -if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: +if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) StateW = int(State[23]) StateA = 0 @@ -3806,7 +3801,7 @@ if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF1() + C_BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3818,16 +3813,16 @@ if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF2() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3842,7 +3837,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF2() + C_BF2() StateW = 0 StateA = 0 StateB = 0 @@ -3854,15 +3849,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3877,7 +3872,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF3() + C_BF3() StateW = 0 StateA = 0 StateB = 0 @@ -3889,14 +3884,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3911,7 +3906,7 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF4() + C_BF4() StateW = 0 StateA = 0 StateB = 0 @@ -3923,13 +3918,13 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3944,7 +3939,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF5() + C_BF5() StateW = 0 StateA = 0 StateB = 0 @@ -3956,12 +3951,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3976,7 +3971,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF6() + C_BF6() StateW = 0 StateA = 0 StateB = 0 @@ -3988,11 +3983,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4007,7 +4002,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF7() + C_BF7() StateW = 0 StateA = 0 StateB = 0 @@ -4019,10 +4014,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF8() - BF9() - BF10() - BF11() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4037,7 +4032,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF8() + C_BF8() StateW = 0 StateA = 0 StateB = 0 @@ -4049,9 +4044,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF9() - BF10() - BF11() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4066,7 +4061,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = 0 StateJ = 0 - BF9() + C_BF9() StateW = 0 StateA = 0 StateB = 0 @@ -4078,8 +4073,8 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF10() - BF11() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4094,7 +4089,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - BF10() + C_BF10() StateW = 0 StateA = 0 StateB = 0 @@ -4106,7 +4101,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF11() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4121,7 +4116,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - BF11() + C_BF11() sys.exit(SpliceX + " unable to find password") if RestoreSwitch is False and StdoutSwitch is True: @@ -4137,17 +4132,17 @@ if RestoreSwitch is False and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF1() - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF1() + C_SBF2() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: @@ -4163,7 +4158,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF1() + C_SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4175,16 +4170,16 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF2() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4199,7 +4194,7 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF1() + C_SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4211,16 +4206,16 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF2() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4235,7 +4230,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF2() + C_SBF2() StateW = 0 StateA = 0 StateB = 0 @@ -4247,15 +4242,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4270,7 +4265,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF3() + C_SBF3() StateW = 0 StateA = 0 StateB = 0 @@ -4282,14 +4277,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4304,7 +4299,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF4() + C_SBF4() StateW = 0 StateA = 0 StateB = 0 @@ -4316,13 +4311,13 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4337,7 +4332,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF5() + C_SBF5() StateW = 0 StateA = 0 StateB = 0 @@ -4349,12 +4344,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4369,7 +4364,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF6() + C_SBF6() StateW = 0 StateA = 0 StateB = 0 @@ -4381,11 +4376,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4400,7 +4395,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF7() + C_SBF7() StateW = 0 StateA = 0 StateB = 0 @@ -4412,10 +4407,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4430,7 +4425,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF8() + C_SBF8() StateW = 0 StateA = 0 StateB = 0 @@ -4442,9 +4437,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF9() - SBF10() - SBF11() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4459,7 +4454,7 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = 0 StateJ = 0 - SBF9() + C_SBF9() StateW = 0 StateA = 0 StateB = 0 @@ -4471,8 +4466,8 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF10() - SBF11() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4487,7 +4482,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - SBF10() + C_SBF10() StateW = 0 StateA = 0 StateB = 0 @@ -4499,7 +4494,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF11() + C_SBF11() sys.exit(0) elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4514,7 +4509,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - SBF11() + C_SBF11() sys.exit(0) sys.exit(SpliceX + " unknown error: please report bug to author") -- cgit v1.2.3 From 81aab712cfe805dc00010cb2ff5761787d0a4050 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 29 Oct 2011 10:17:30 -0400 Subject: SpliceX update: pyinstall added --- contrib/splicex.tgz | Bin 204800 -> 0 bytes contrib/splicex/README | 70 ++- contrib/splicex/configure | 69 ++- contrib/splicex/src/deshadow.pyx | 7 + contrib/splicex/src/make.in | 11 +- contrib/splicex/src/pymake.in | 62 +++ contrib/splicex/src/splicex-deshadow.py | 7 +- contrib/splicex/src/splicex.py | 2 +- contrib/splicex/src/splicex.pyx | 751 ++++++++++++++++---------------- 9 files changed, 559 insertions(+), 420 deletions(-) delete mode 100644 contrib/splicex.tgz create mode 100644 contrib/splicex/src/deshadow.pyx create mode 100644 contrib/splicex/src/pymake.in (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex.tgz b/contrib/splicex.tgz deleted file mode 100644 index 98e255b..0000000 Binary files a/contrib/splicex.tgz and /dev/null differ diff --git a/contrib/splicex/README b/contrib/splicex/README index 66dc9a7..2a44677 100644 --- a/contrib/splicex/README +++ b/contrib/splicex/README @@ -21,33 +21,71 @@ AUTHOR: d3v11 -DEPENDS ON: - python (>=2.6), python-dev(>=2.6), cython (>=0.12.1), - gcc (>=4.4.3), bash (>=4.1.5), man (>=2.5.7) (UN)INSTALL: - SOURCE: + You may optionally install splicex with cython. Doing so takes + longer to install because of compile times but splicex will + also be 20% to 35% faster, depending on your system. I recommend + this option if you intend on putting splicex to long-term use. + If your goal is simply to test, try, and/or debug splicex then + using the pythonic install will be more practical. - ./configure - make compile - make install + DEPENDS ON: - DEBIAN/UBUNTU: + python (>=2.6), python-dev(>=2.6), cython (>=0.12.1), + gcc (>=4.4.3), bash (>=4.1.5), man (>=2.5.7) - ./configure - make compile - make install-deb + SOURCE: - UNINSTALL: + ./configure + make compile + make install + + DEBIAN/UBUNTU: + + ./configure + make compile + make install-deb + + UNINSTALL: - source: - make uninstall + SOURCE: + make uninstall + + DEBIAN/UBUNTU: + apt-get remove splicex + +PYTHONIC (UN)INSTALL: + + You make optionally install splicex as pure python. + Install times are quick but splicex will be 20% to 35% + slower than compiling an executable binary with the + cython + gcc option above. I recommend using this option + if you simply want to test, try, and/or debug splicex. + + DEPENDS ON: - debian/ubuntu: - apt-get remove splicex + python (>=2.6), bash (>=4.1.5), man (>=2.5.7) + + SOURCE: + + ./configure --no-compile + make pyinstall + + DEBIAN/UBUNTU: + + ./configure --no-compile + make pyinstall-deb + + UNINSTALL: + + SOURCE: + make uninstall + DEBIAN/UBUNTU: + apt-get remove splicex TOOLS: diff --git a/contrib/splicex/configure b/contrib/splicex/configure index 2795772..535520e 100755 --- a/contrib/splicex/configure +++ b/contrib/splicex/configure @@ -1,11 +1,16 @@ #!/bin/bash if [ -z "$1" ]; then - echo 'usage: ./configure ' + echo 'usage: ./configure {optional: <--no-compile>}' + exit 1 +fi + +if [ -n "$2" ] && [[ "$2" != *--no-compile* ]]; then + echo 'usage: ./configure {optional: <--no-compile>}' exit 1 fi echo -e 'checking dependencies: ' -echo -ne " checking for python as <$1>..." +echo -ne " checking for python as <$1>..." if which `which "$1"` >/dev/null; then PYPATH=`which "$1"` echo -ne ' OK' @@ -24,32 +29,52 @@ else exit 1 fi -echo -ne ' checking for cython...' -if which cython >/dev/null; then - echo -ne ' OK' - echo -else - echo -ne ' FAILED' - exit 1 +if [ -z "$2" ]; then + echo -ne ' checking for cython...' + if which cython >/dev/null; then + echo -ne ' OK' + echo + else + echo -ne ' FAILED' + exit 1 + fi fi -echo -ne ' checking for gcc...' -if which gcc >/dev/null; then - echo -ne ' OK' - echo -else - echo -ne ' FAILED' - exit 1 +if [ -z "$2" ]; then + echo -ne ' checking for gcc...' + if which gcc >/dev/null; then + echo -ne ' OK' + echo + else + echo -ne ' FAILED' + exit 1 + fi fi echo echo -ne "configuring splicex: " echo -echo -e " python version == $1" -echo -e " interpreter path == $PYPATH" -echo -e " compiler flags == gcc -I/usr/include/$1" -sed -e s^PYTHON^"$1"^g src/make.in >Makefile -sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >build/splicex -sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >build/splicex-deshadow +echo -e " python version == $1" +echo -e " interpreter path == $PYPATH" +if [ -z "$2" ]; then + echo -e " compiler flags == gcc -I/usr/include/$1" +fi +echo +if [ -z "$2" ]; then + sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >build/splicex || exit 1 + sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >build/splicex-deshadow || exit 1 +fi +sed -e s^PYTHON^"$PYPATH"^g src/splicex.pyx >build/splicex.pyx || exit 1 +sed -e s^PYTHON^"$PYPATH"^g src/deshadow.pyx >build/deshadow.pyx || exit 1 +echo -ne " generating Makefile..." +if [ -z "$2" ]; then + sed -e s^PYTHON^"$1"^g src/make.in >Makefile || exit 1 + echo -ne ' DONE' + echo +else + sed -e s^PYTHON^"$1"^g src/pymake.in >Makefile || exit 1 + echo -ne ' DONE' + echo +fi echo echo -e 'splicex configured' diff --git a/contrib/splicex/src/deshadow.pyx b/contrib/splicex/src/deshadow.pyx new file mode 100644 index 0000000..c8e11ec --- /dev/null +++ b/contrib/splicex/src/deshadow.pyx @@ -0,0 +1,7 @@ +#!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/splicex/src/make.in b/contrib/splicex/src/make.in index 1ed50d2..5393658 100644 --- a/contrib/splicex/src/make.in +++ b/contrib/splicex/src/make.in @@ -1,10 +1,13 @@ compile: - cython src/splicex.pyx -o build/splicex.c + cython build/deshadow.pyx -o build/deshadow.c + gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/PYTHON -c build/deshadow.c -o build/deshadow.o + gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/deshadow.o -o build/deshadow.so + + cython build/splicex.pyx -o build/splicex.c gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/PYTHON -c build/splicex.c -o build/splicex.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/splicex.o -o build/splicex.so install-deb: - make preinstall mkdir DEBIAN/splicex mkdir DEBIAN/splicex/DEBIAN mkdir DEBIAN/splicex/usr @@ -13,7 +16,8 @@ install-deb: mkdir DEBIAN/splicex/etc/splicex cp DEBIAN/control DEBIAN/splicex/DEBIAN/control cp build/splicex DEBIAN/splicex/usr/bin/splicex - cp build/splicex.so /etc/splicex/splicex.so + cp build/splicex.so DEBIAN/etc/splicex/splicex.so + cp build/deshadow.so DEBIAN/etc/splicex/deshadow.so cp build/splicex-deshadow DEBIAN/splicex/usr/bin/splicex-deshadow chmod +x DEBIAN/splicex/usr/bin/splicex chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow @@ -36,6 +40,7 @@ install: mkdir /etc/splicex cp build/splicex /usr/bin/splicex cp build/splicex.so /etc/splicex/splicex.so + cp build/deshadow.so /etc/splicex/deshadow.so cp build/splicex-deshadow /usr/bin/splicex-deshadow chmod +x /usr/bin/splicex chmod +x /usr/bin/splicex-deshadow diff --git a/contrib/splicex/src/pymake.in b/contrib/splicex/src/pymake.in new file mode 100644 index 0000000..f948da6 --- /dev/null +++ b/contrib/splicex/src/pymake.in @@ -0,0 +1,62 @@ +pyinstall-deb: + mkdir DEBIAN/splicex + mkdir DEBIAN/splicex/DEBIAN + mkdir DEBIAN/splicex/usr + mkdir DEBIAN/splicex/usr/bin + mkdir DEBIAN/splicex/etc + mkdir DEBIAN/splicex/etc/splicex + cp DEBIAN/control DEBIAN/splicex/DEBIAN/control + cp build/splicex.pyx DEBIAN/splicex/usr/bin/splicex + cp build/deshadow.pyx DEBIAN/splicex/usr/bin/splicex-deshadow + chmod +x DEBIAN/splicex/usr/bin/splicex + chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow + cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list + cp src/manual DEBIAN/splicex/etc/splicex/splicex.1 + gzip DEBIAN/splicex/etc/splicex/splicex.1 + cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L + cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N + cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S + cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN + cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS + cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS + cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL + dpkg-deb --build DEBIAN/splicex + dpkg -i DEBIAN/splicex.deb + rm -rf DEBIAN/splicex DEBIAN/splicex.deb + +pyinstall: + make preinstall + mkdir /etc/splicex + cp build/splicex.pyx /usr/bin/splicex + cp build/deshadow.pyx /usr/bin/splicex-deshadow + chmod +x /usr/bin/splicex + chmod +x /usr/bin/splicex-deshadow + cp src/splicex.list /etc/splicex/splicex.list + cp src/manual /etc/splicex/splicex.1 + gzip /etc/splicex/splicex.1 + cp src/splicex.L /etc/splicex/splicex.L + cp src/splicex.N /etc/splicex/splicex.N + cp src/splicex.S /etc/splicex/splicex.S + cp src/splicex.LN /etc/splicex/splicex.LN + cp src/splicex.LS /etc/splicex/splicex.LS + cp src/splicex.NS /etc/splicex/splicex.NS + cp src/splicex.ALL /etc/splicex/splicex.ALL + +uninstall: + rm -rf /etc/splicex + rm -f /usr/bin/splicex + rm -f /usr/bin/splicex-deshadow + +clean: + rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf + +preinstall: + rm -rf /etc/splicex + rm -f /usr/bin/splicex + rm -f /usr/bin/splicex-deshadow + rm DEBIAN/splicex DEBIAN/*.deb -rf + +update: + wget http://www.d3v11.ano/splicex.tgz + tar -xvf ../splicex.tgz --directory='../' + rm ../splicex.tgz diff --git a/contrib/splicex/src/splicex-deshadow.py b/contrib/splicex/src/splicex-deshadow.py index c8e11ec..d027f1c 100644 --- a/contrib/splicex/src/splicex-deshadow.py +++ b/contrib/splicex/src/splicex-deshadow.py @@ -1,7 +1,4 @@ #!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") +sys.path.append('/etc/splicex') +import deshadow diff --git a/contrib/splicex/src/splicex.py b/contrib/splicex/src/splicex.py index 968e163..8d3ff79 100644 --- a/contrib/splicex/src/splicex.py +++ b/contrib/splicex/src/splicex.py @@ -1,4 +1,4 @@ #!PYTHON -import sys +import sys; sys.tracebacklimit = 0 sys.path.append('/etc/splicex') import splicex diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 859e6e3..22c4f32 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -1729,7 +1729,8 @@ else: if not Word: sys.exit(SpliceX + "error: compiled empty wordlist") -Word = list(set(Word)) +Word = list(set(Word)) +WordCount = 0 ShowWord = [] PassWd = [] for Input in Word: @@ -1739,9 +1740,7 @@ for Input in Word: c += "\\\\\\" + let PassWd.append(c) -timeup = 0 -PassAmount = 0 -StartTime = time.time() - 1 + if TIME != None: try: TIME = TIME.split(", ") @@ -1773,13 +1772,19 @@ else: length_start = 0 length_end = 10 -WordCount = 0 -for CountWords in ShowWord: - WordCount += 1 - def BF1(): - global timeup, PassAmount + 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(SpliceX + 'unable to find password') for x in range(StateW, WordCount): if SaveSwitch is True: WriteSave = [] @@ -1830,10 +1835,20 @@ def BF1(): print(output) def BF2(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for x in range(StateW, WordCount): if SaveSwitch is True: @@ -1905,10 +1920,20 @@ def BF2(): print(output) def BF3(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for x in range(StateW, WordCount): @@ -2000,10 +2025,20 @@ def BF3(): print(output) def BF4(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2115,10 +2150,20 @@ def BF4(): print(output) def BF5(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2214,10 +2259,20 @@ def BF5(): print(output) def BF6(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2333,10 +2388,20 @@ def BF6(): print(output) def BF7(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2436,10 +2501,20 @@ def BF7(): print(output) def BF8(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2559,10 +2634,20 @@ def BF8(): print(output) def BF9(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2666,10 +2751,20 @@ def BF9(): print(output) def BF10(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2793,10 +2888,20 @@ def BF10(): print(output) def BF11(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2904,7 +3009,14 @@ def BF11(): 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 = [] @@ -2940,9 +3052,16 @@ def SBF1(): print(NewShowWord.replace(" ", "")) def SBF2(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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: @@ -2984,9 +3103,16 @@ def SBF2(): print(NewShowWord.replace(" ", "")) def SBF3(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3033,9 +3159,16 @@ def SBF3(): print(NewShowWord.replace(" ", "")) def SBF4(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3087,9 +3220,16 @@ def SBF4(): print(NewShowWord.replace(" ", "")) def SBF5(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3140,9 +3280,16 @@ def SBF5(): print(NewShowWord.replace(" ", "")) def SBF6(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3198,9 +3345,16 @@ def SBF6(): print(NewShowWord.replace(" ", "")) def SBF7(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3255,9 +3409,16 @@ def SBF7(): print(NewShowWord.replace(" ", "")) def SBF8(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3317,9 +3478,16 @@ def SBF8(): print(NewShowWord.replace(" ", "")) def SBF9(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3378,9 +3546,16 @@ def SBF9(): print(NewShowWord.replace(" ", "")) def SBF10(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3444,9 +3619,16 @@ def SBF10(): print(NewShowWord.replace(" ", "")) def SBF11(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if 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): @@ -3547,183 +3729,6 @@ if Create is True: sys.stdout.write('\r') sys.exit(SpliceX + 'compiled ' + str(N) + ' passwords. enjoy ;-)') -def C_BF1(): - if length_start > 0: - pass - elif length_end < 0: - sys.exit(SpliceX + 'unable to find password') - elif StdoutSwitch is True: - BF1() - -def C_BF2(): - if length_start > 1: - pass - elif length_end < 1: - sys.exit(SpliceX + 'unable to find password') - else: - BF2() - -def C_BF3(): - if length_start > 2: - pass - elif length_end < 2: - sys.exit(SpliceX + 'unable to find password') - else: - BF3() - -def C_BF4(): - if length_start > 3: - pass - elif length_end < 3: - sys.exit(SpliceX + 'unable to find password') - else: - BF4() - -def C_BF5(): - if length_start > 4: - pass - elif length_end < 4: - sys.exit(SpliceX + 'unable to find password') - else: - BF5() - -def C_BF6(): - if length_start > 5: - pass - elif length_end < 5: - sys.exit(SpliceX + 'unable to find password') - else: - BF6() - -def C_BF7(): - if length_start > 6: - pass - elif length_end < 6: - sys.exit(SpliceX + 'unable to find password') - else: - BF7() - -def C_BF8(): - if length_start > 7: - pass - elif length_end < 7: - sys.exit(SpliceX + 'unable to find password') - else: - BF8() - -def C_BF9(): - if length_start > 8: - pass - elif length_end < 8: - sys.exit(SpliceX + 'unable to find password') - else: - BF9() - -def C_BF10(): - if length_start > 9: - pass - elif length_end < 9: - sys.exit(SpliceX + 'unable to find password') - else: - BF10() - -def C_BF11(): - if length_start > 10: - pass - elif length_end < 10: - sys.exit(SpliceX + 'unable to find password') - else: - BF11() - -def C_SBF1(): - if length_start > 0: - pass - elif length_end < 0: - sys.exit(0) - elif StdoutSwitch is True: - SBF1() - -def C_SBF2(): - if length_start > 1: - pass - elif length_end < 1: - sys.exit(0) - else: - SBF2() - -def C_SBF3(): - if length_start > 2: - pass - elif length_end < 2: - sys.exit(0) - else: - SBF3() - -def C_SBF4(): - if length_start > 3: - pass - elif length_end < 3: - sys.exit(0) - else: - SBF4() - -def C_SBF5(): - if length_start > 4: - pass - elif length_end < 4: - sys.exit(0) - else: - SBF5() - -def C_SBF6(): - if length_start > 5: - pass - elif length_end < 5: - sys.exit(0) - else: - SBF6() - -def C_SBF7(): - if length_start > 6: - pass - elif length_end < 6: - sys.exit(0) - else: - SBF7() - -def C_SBF8(): - if length_start > 7: - pass - elif length_end < 7: - sys.exit(0) - else: - SBF8() - -def C_SBF9(): - if length_start > 8: - pass - elif length_end < 8: - sys.exit(0) - else: - SBF9() - -def C_SBF10(): - if length_start > 9: - pass - elif length_end < 9: - sys.exit(0) - else: - SBF10() - -def C_SBF11(): - if length_start > 10: - pass - elif length_end < 10: - sys.exit(0) - else: - SBF11() - - if RestoreSwitch is False: StateCount = 0 if RestoreSwitch is False and StdoutSwitch is False: @@ -3739,17 +3744,17 @@ if RestoreSwitch is False and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF1() - C_BF2() - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF1() + BF2() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: @@ -3765,7 +3770,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF1() + BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3777,18 +3782,18 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF2() - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF2() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") -if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: +if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) StateW = int(State[23]) StateA = 0 @@ -3801,7 +3806,7 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF1() + BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3813,16 +3818,16 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF2() - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF2() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3837,7 +3842,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF2() + BF2() StateW = 0 StateA = 0 StateB = 0 @@ -3849,15 +3854,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3872,7 +3877,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF3() + BF3() StateW = 0 StateA = 0 StateB = 0 @@ -3884,14 +3889,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3906,7 +3911,7 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF4() + BF4() StateW = 0 StateA = 0 StateB = 0 @@ -3918,13 +3923,13 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3939,7 +3944,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF5() + BF5() StateW = 0 StateA = 0 StateB = 0 @@ -3951,12 +3956,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3971,7 +3976,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF6() + BF6() StateW = 0 StateA = 0 StateB = 0 @@ -3983,11 +3988,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4002,7 +4007,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF7() + BF7() StateW = 0 StateA = 0 StateB = 0 @@ -4014,10 +4019,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4032,7 +4037,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF8() + BF8() StateW = 0 StateA = 0 StateB = 0 @@ -4044,9 +4049,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF9() - C_BF10() - C_BF11() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4061,7 +4066,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = 0 StateJ = 0 - C_BF9() + BF9() StateW = 0 StateA = 0 StateB = 0 @@ -4073,8 +4078,8 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF10() - C_BF11() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4089,7 +4094,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - C_BF10() + BF10() StateW = 0 StateA = 0 StateB = 0 @@ -4101,7 +4106,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF11() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4116,7 +4121,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - C_BF11() + BF11() sys.exit(SpliceX + " unable to find password") if RestoreSwitch is False and StdoutSwitch is True: @@ -4132,17 +4137,17 @@ if RestoreSwitch is False and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF1() - C_SBF2() - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + 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: @@ -4158,7 +4163,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF1() + SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4170,16 +4175,16 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF2() - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + 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]) @@ -4194,7 +4199,7 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF1() + SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4206,16 +4211,16 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF2() - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + 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]) @@ -4230,7 +4235,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF2() + SBF2() StateW = 0 StateA = 0 StateB = 0 @@ -4242,15 +4247,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + 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]) @@ -4265,7 +4270,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF3() + SBF3() StateW = 0 StateA = 0 StateB = 0 @@ -4277,14 +4282,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + 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]) @@ -4299,7 +4304,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF4() + SBF4() StateW = 0 StateA = 0 StateB = 0 @@ -4311,13 +4316,13 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + 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]) @@ -4332,7 +4337,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF5() + SBF5() StateW = 0 StateA = 0 StateB = 0 @@ -4344,12 +4349,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4364,7 +4369,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF6() + SBF6() StateW = 0 StateA = 0 StateB = 0 @@ -4376,11 +4381,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4395,7 +4400,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF7() + SBF7() StateW = 0 StateA = 0 StateB = 0 @@ -4407,10 +4412,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4425,7 +4430,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF8() + SBF8() StateW = 0 StateA = 0 StateB = 0 @@ -4437,9 +4442,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF9() - C_SBF10() - C_SBF11() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4454,7 +4459,7 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = 0 StateJ = 0 - C_SBF9() + SBF9() StateW = 0 StateA = 0 StateB = 0 @@ -4466,8 +4471,8 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF10() - C_SBF11() + SBF10() + SBF11() sys.exit(0) elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4482,7 +4487,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - C_SBF10() + SBF10() StateW = 0 StateA = 0 StateB = 0 @@ -4494,7 +4499,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF11() + SBF11() sys.exit(0) elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4509,7 +4514,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - C_SBF11() + SBF11() sys.exit(0) sys.exit(SpliceX + " unknown error: please report bug to author") -- cgit v1.2.3 From 17eab179fe15658c1b904ede61d5554ac222c1d1 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 29 Oct 2011 17:06:38 -0400 Subject: SpliceX invalid argument detection made --- contrib/splicex/src/splicex.pyx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 22c4f32..1e7e271 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -275,6 +275,9 @@ for arg in sys.argv: DebugSwitch = True elif '--help' in arg: sys.exit(HELP()) + else: + if arg != '/usr/bin/splicex': + sys.exit(SpliceX + 'error: invalid argument: ' + arg) if DebugSwitch is False: sys.tracebacklimit = 0 -- cgit v1.2.3 From 526841ec91f7d0e4d2ffd5589525fe91e42384c0 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 30 Oct 2011 07:48:04 -0400 Subject: SpliceX fixed --- contrib/splicex/src/splicex.pyx | 756 ++++++++++++++++++++-------------------- 1 file changed, 375 insertions(+), 381 deletions(-) (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 1e7e271..d5d23c8 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -275,9 +275,8 @@ for arg in sys.argv: DebugSwitch = True elif '--help' in arg: sys.exit(HELP()) - else: - if arg != '/usr/bin/splicex': - sys.exit(SpliceX + 'error: invalid argument: ' + arg) + elif arg != sys.argv[0]: + sys.exit(SpliceX + 'error: invalid argument: ' + arg) if DebugSwitch is False: sys.tracebacklimit = 0 @@ -1732,8 +1731,7 @@ else: if not Word: sys.exit(SpliceX + "error: compiled empty wordlist") -Word = list(set(Word)) -WordCount = 0 +Word = list(set(Word)) ShowWord = [] PassWd = [] for Input in Word: @@ -1743,7 +1741,9 @@ for Input in Word: c += "\\\\\\" + let PassWd.append(c) - +timeup = 0 +PassAmount = 0 +StartTime = time.time() - 1 if TIME != None: try: TIME = TIME.split(", ") @@ -1775,19 +1775,13 @@ else: length_start = 0 length_end = 10 +WordCount = 0 +for CountWords in ShowWord: + WordCount += 1 + def BF1(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 - StartTime = time.time() - StartTime = StartTime - 1 - PassAmount = 0 - timeup = 0 + global timeup, PassAmount for u in range(StateU, UserCount): - if length_start > 0: - break - if length_end < 0: - sys.exit(SpliceX + 'unable to find password') for x in range(StateW, WordCount): if SaveSwitch is True: WriteSave = [] @@ -1838,20 +1832,10 @@ def BF1(): print(output) def BF2(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for x in range(StateW, WordCount): if SaveSwitch is True: @@ -1923,20 +1907,10 @@ def BF2(): print(output) def BF3(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for x in range(StateW, WordCount): @@ -2028,20 +2002,10 @@ def BF3(): print(output) def BF4(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2153,20 +2117,10 @@ def BF4(): print(output) def BF5(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2262,20 +2216,10 @@ def BF5(): print(output) def BF6(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2391,20 +2335,10 @@ def BF6(): print(output) def BF7(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2504,20 +2438,10 @@ def BF7(): print(output) def BF8(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2637,20 +2561,10 @@ def BF8(): print(output) def BF9(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2754,20 +2668,10 @@ def BF9(): print(output) def BF10(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2891,20 +2795,10 @@ def BF10(): print(output) def BF11(): + global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + '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(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3012,14 +2906,7 @@ def BF11(): 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 = [] @@ -3055,16 +2942,9 @@ def SBF1(): print(NewShowWord.replace(" ", "")) def SBF2(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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: @@ -3106,16 +2986,9 @@ def SBF2(): print(NewShowWord.replace(" ", "")) def SBF3(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3162,16 +3035,9 @@ def SBF3(): print(NewShowWord.replace(" ", "")) def SBF4(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3223,16 +3089,9 @@ def SBF4(): print(NewShowWord.replace(" ", "")) def SBF5(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3283,16 +3142,9 @@ def SBF5(): print(NewShowWord.replace(" ", "")) def SBF6(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3348,16 +3200,9 @@ def SBF6(): print(NewShowWord.replace(" ", "")) def SBF7(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3412,16 +3257,9 @@ def SBF7(): print(NewShowWord.replace(" ", "")) def SBF8(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3481,16 +3319,9 @@ def SBF8(): print(NewShowWord.replace(" ", "")) def SBF9(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3549,16 +3380,9 @@ def SBF9(): print(NewShowWord.replace(" ", "")) def SBF10(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3622,16 +3446,9 @@ def SBF10(): print(NewShowWord.replace(" ", "")) def SBF11(): - WordCount = 0 - for CountWords in ShowWord: - WordCount += 1 if 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): @@ -3732,6 +3549,183 @@ if Create is True: sys.stdout.write('\r') sys.exit(SpliceX + 'compiled ' + str(N) + ' passwords. enjoy ;-)') +def C_BF1(): + if length_start > 0: + pass + elif length_end < 0: + sys.exit(SpliceX + 'unable to find password') + elif StdoutSwitch is True: + BF1() + +def C_BF2(): + if length_start > 1: + pass + elif length_end < 1: + sys.exit(SpliceX + 'unable to find password') + else: + BF2() + +def C_BF3(): + if length_start > 2: + pass + elif length_end < 2: + sys.exit(SpliceX + 'unable to find password') + else: + BF3() + +def C_BF4(): + if length_start > 3: + pass + elif length_end < 3: + sys.exit(SpliceX + 'unable to find password') + else: + BF4() + +def C_BF5(): + if length_start > 4: + pass + elif length_end < 4: + sys.exit(SpliceX + 'unable to find password') + else: + BF5() + +def C_BF6(): + if length_start > 5: + pass + elif length_end < 5: + sys.exit(SpliceX + 'unable to find password') + else: + BF6() + +def C_BF7(): + if length_start > 6: + pass + elif length_end < 6: + sys.exit(SpliceX + 'unable to find password') + else: + BF7() + +def C_BF8(): + if length_start > 7: + pass + elif length_end < 7: + sys.exit(SpliceX + 'unable to find password') + else: + BF8() + +def C_BF9(): + if length_start > 8: + pass + elif length_end < 8: + sys.exit(SpliceX + 'unable to find password') + else: + BF9() + +def C_BF10(): + if length_start > 9: + pass + elif length_end < 9: + sys.exit(SpliceX + 'unable to find password') + else: + BF10() + +def C_BF11(): + if length_start > 10: + pass + elif length_end < 10: + sys.exit(SpliceX + 'unable to find password') + else: + BF11() + +def C_SBF1(): + if length_start > 0: + pass + elif length_end < 0: + sys.exit(0) + elif StdoutSwitch is True: + SBF1() + +def C_SBF2(): + if length_start > 1: + pass + elif length_end < 1: + sys.exit(0) + else: + SBF2() + +def C_SBF3(): + if length_start > 2: + pass + elif length_end < 2: + sys.exit(0) + else: + SBF3() + +def C_SBF4(): + if length_start > 3: + pass + elif length_end < 3: + sys.exit(0) + else: + SBF4() + +def C_SBF5(): + if length_start > 4: + pass + elif length_end < 4: + sys.exit(0) + else: + SBF5() + +def C_SBF6(): + if length_start > 5: + pass + elif length_end < 5: + sys.exit(0) + else: + SBF6() + +def C_SBF7(): + if length_start > 6: + pass + elif length_end < 6: + sys.exit(0) + else: + SBF7() + +def C_SBF8(): + if length_start > 7: + pass + elif length_end < 7: + sys.exit(0) + else: + SBF8() + +def C_SBF9(): + if length_start > 8: + pass + elif length_end < 8: + sys.exit(0) + else: + SBF9() + +def C_SBF10(): + if length_start > 9: + pass + elif length_end < 9: + sys.exit(0) + else: + SBF10() + +def C_SBF11(): + if length_start > 10: + pass + elif length_end < 10: + sys.exit(0) + else: + SBF11() + + if RestoreSwitch is False: StateCount = 0 if RestoreSwitch is False and StdoutSwitch is False: @@ -3747,17 +3741,17 @@ if RestoreSwitch is False and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF1() - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF1() + C_BF2() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: @@ -3773,7 +3767,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF1() + C_BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3785,18 +3779,18 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF2() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") -if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: +if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) StateW = int(State[23]) StateA = 0 @@ -3809,7 +3803,7 @@ if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF1() + C_BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3821,16 +3815,16 @@ if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF2() - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF2() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3845,7 +3839,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF2() + C_BF2() StateW = 0 StateA = 0 StateB = 0 @@ -3857,15 +3851,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF3() - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF3() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3880,7 +3874,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF3() + C_BF3() StateW = 0 StateA = 0 StateB = 0 @@ -3892,14 +3886,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF4() - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF4() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3914,7 +3908,7 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF4() + C_BF4() StateW = 0 StateA = 0 StateB = 0 @@ -3926,13 +3920,13 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF5() - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF5() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3947,7 +3941,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF5() + C_BF5() StateW = 0 StateA = 0 StateB = 0 @@ -3959,12 +3953,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF6() - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF6() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3979,7 +3973,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF6() + C_BF6() StateW = 0 StateA = 0 StateB = 0 @@ -3991,11 +3985,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF7() - BF8() - BF9() - BF10() - BF11() + C_BF7() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4010,7 +4004,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF7() + C_BF7() StateW = 0 StateA = 0 StateB = 0 @@ -4022,10 +4016,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF8() - BF9() - BF10() - BF11() + C_BF8() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4040,7 +4034,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF8() + C_BF8() StateW = 0 StateA = 0 StateB = 0 @@ -4052,9 +4046,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF9() - BF10() - BF11() + C_BF9() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4069,7 +4063,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = 0 StateJ = 0 - BF9() + C_BF9() StateW = 0 StateA = 0 StateB = 0 @@ -4081,8 +4075,8 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF10() - BF11() + C_BF10() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4097,7 +4091,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - BF10() + C_BF10() StateW = 0 StateA = 0 StateB = 0 @@ -4109,7 +4103,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - BF11() + C_BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4124,7 +4118,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - BF11() + C_BF11() sys.exit(SpliceX + " unable to find password") if RestoreSwitch is False and StdoutSwitch is True: @@ -4140,17 +4134,17 @@ if RestoreSwitch is False and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF1() - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF1() + C_SBF2() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: @@ -4166,7 +4160,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF1() + C_SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4178,16 +4172,16 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF2() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4202,7 +4196,7 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF1() + C_SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4214,16 +4208,16 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF2() - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF2() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4238,7 +4232,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF2() + C_SBF2() StateW = 0 StateA = 0 StateB = 0 @@ -4250,15 +4244,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF3() - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF3() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4273,7 +4267,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF3() + C_SBF3() StateW = 0 StateA = 0 StateB = 0 @@ -4285,14 +4279,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF4() - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF4() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4307,7 +4301,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF4() + C_SBF4() StateW = 0 StateA = 0 StateB = 0 @@ -4319,13 +4313,13 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF5() - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF5() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4340,7 +4334,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF5() + C_SBF5() StateW = 0 StateA = 0 StateB = 0 @@ -4352,12 +4346,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF6() - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF6() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4372,7 +4366,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF6() + C_SBF6() StateW = 0 StateA = 0 StateB = 0 @@ -4384,11 +4378,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF7() - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF7() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4403,7 +4397,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF7() + C_SBF7() StateW = 0 StateA = 0 StateB = 0 @@ -4415,10 +4409,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF8() - SBF9() - SBF10() - SBF11() + C_SBF8() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4433,7 +4427,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF8() + C_SBF8() StateW = 0 StateA = 0 StateB = 0 @@ -4445,9 +4439,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF9() - SBF10() - SBF11() + C_SBF9() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4462,7 +4456,7 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = 0 StateJ = 0 - SBF9() + C_SBF9() StateW = 0 StateA = 0 StateB = 0 @@ -4474,8 +4468,8 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF10() - SBF11() + C_SBF10() + C_SBF11() sys.exit(0) elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4490,7 +4484,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - SBF10() + C_SBF10() StateW = 0 StateA = 0 StateB = 0 @@ -4502,7 +4496,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - SBF11() + C_SBF11() sys.exit(0) elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4517,7 +4511,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - SBF11() + C_SBF11() sys.exit(0) sys.exit(SpliceX + " unknown error: please report bug to author") -- cgit v1.2.3 From dfd03060484c8ad77f7fa8a713e046237ecc37e9 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 30 Oct 2011 08:01:22 -0400 Subject: SpliceX fixed, old coding trim down with patch for --time option --- contrib/splicex/CHANGES | 11 +++++++ contrib/splicex/configure | 6 ++++ contrib/splicex/src/splicex.pyx | 68 ++++++++++++++++++++--------------------- 3 files changed, 51 insertions(+), 34 deletions(-) (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/CHANGES b/contrib/splicex/CHANGES index f550f6d..f6befee 100644 --- a/contrib/splicex/CHANGES +++ b/contrib/splicex/CHANGES @@ -48,3 +48,14 @@ CHANGES: SpliceX now detects invalid arguments and prints with error message. + + d3v11 - Sat Oct 29 2011: + + Old timing bug is now fixed. --time now + how a consistant tracking of how many + passwords and how much time has elapsed + among each brute force algorithm. This + new patch also simplified the code and + makes the functions faster. Much code + has been trimmed from splicex without + removing any options or functionality. diff --git a/contrib/splicex/configure b/contrib/splicex/configure index 933b51d..a01825c 100755 --- a/contrib/splicex/configure +++ b/contrib/splicex/configure @@ -17,6 +17,7 @@ if which `which "$1"` >/dev/null; then echo else echo -ne ' FAILED' + echo exit 1 fi @@ -26,6 +27,7 @@ if which man >/dev/null; then echo else echo -ne ' FAILED' + echo exit 1 fi @@ -36,6 +38,7 @@ if [ -z "$2" ]; then echo else echo -ne ' FAILED' + echo exit 1 fi fi @@ -47,6 +50,7 @@ if [ -z "$2" ]; then echo else echo -ne ' FAILED' + echo exit 1 fi fi @@ -65,6 +69,8 @@ if [ -z "$2" ]; then echo -e " compiler flags == gcc -I /usr/local/include/$1" else echo -e " Python.h and structmember.h could not be found... FAILED" + echo + exit 1 fi fi echo diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index d5d23c8..26c7898 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -1822,7 +1822,7 @@ def BF1(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -1878,7 +1878,7 @@ def BF2(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -1897,7 +1897,7 @@ def BF2(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -1955,7 +1955,7 @@ def BF3(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -1974,7 +1974,7 @@ def BF3(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -1992,7 +1992,7 @@ def BF3(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2052,7 +2052,7 @@ def BF4(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2071,7 +2071,7 @@ def BF4(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2089,7 +2089,7 @@ def BF4(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2107,7 +2107,7 @@ def BF4(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2169,7 +2169,7 @@ def BF5(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2188,7 +2188,7 @@ def BF5(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2206,7 +2206,7 @@ def BF5(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2270,7 +2270,7 @@ def BF6(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2289,7 +2289,7 @@ def BF6(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2307,7 +2307,7 @@ def BF6(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2325,7 +2325,7 @@ def BF6(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2391,7 +2391,7 @@ def BF7(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2410,7 +2410,7 @@ def BF7(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2428,7 +2428,7 @@ def BF7(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2496,7 +2496,7 @@ def BF8(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2515,7 +2515,7 @@ def BF8(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2533,7 +2533,7 @@ def BF8(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2551,7 +2551,7 @@ def BF8(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2621,7 +2621,7 @@ def BF9(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2640,7 +2640,7 @@ def BF9(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2658,7 +2658,7 @@ def BF9(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2730,7 +2730,7 @@ def BF10(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2749,7 +2749,7 @@ def BF10(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2767,7 +2767,7 @@ def BF10(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2785,7 +2785,7 @@ def BF10(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2859,7 +2859,7 @@ def BF11(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) cmd = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace('USERNAME', User[u].replace(" ", ""))) if test == None: print(output) @@ -2878,7 +2878,7 @@ def BF11(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) @@ -2896,7 +2896,7 @@ def BF11(): if timeup == sleep_now: time.sleep(sleep_for) timeup = 0 - print(SpliceX + str(Speed) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) + print(SpliceX + str(int(round(float(Speed)))) + "/s " + User[u].replace(" ", "") + " " + NewShowWord.replace(" ", "")) output = os.popen(cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))).read() if test == None: print(output) -- cgit v1.2.3 From fc5f4ecbc35a9d6bd39f73ecca9f4239d3e84512 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 30 Oct 2011 08:28:45 -0400 Subject: Splicex --no-char bug fixed --- contrib/splicex/src/splicex.pyx | 82 ++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 26c7898..740d7ce 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -1833,8 +1833,6 @@ def BF1(): def BF2(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for x in range(StateW, WordCount): @@ -1908,8 +1906,6 @@ def BF2(): def BF3(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2003,8 +1999,6 @@ def BF3(): def BF4(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2118,8 +2112,6 @@ def BF4(): def BF5(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2217,8 +2209,6 @@ def BF5(): def BF6(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2336,8 +2326,6 @@ def BF6(): def BF7(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2439,8 +2427,6 @@ def BF7(): def BF8(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2562,8 +2548,6 @@ def BF8(): def BF9(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2669,8 +2653,6 @@ def BF9(): def BF10(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2796,8 +2778,6 @@ def BF10(): def BF11(): global timeup, PassAmount - if NoChar is True: - sys.exit(SpliceX + 'unable to find password') for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -2942,8 +2922,6 @@ def SBF1(): print(NewShowWord.replace(" ", "")) def SBF2(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for x in range(StateW, WordCount): @@ -2986,8 +2964,6 @@ def SBF2(): print(NewShowWord.replace(" ", "")) def SBF3(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3035,8 +3011,6 @@ def SBF3(): print(NewShowWord.replace(" ", "")) def SBF4(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3089,8 +3063,6 @@ def SBF4(): print(NewShowWord.replace(" ", "")) def SBF5(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3142,8 +3114,6 @@ def SBF5(): print(NewShowWord.replace(" ", "")) def SBF6(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3200,8 +3170,6 @@ def SBF6(): print(NewShowWord.replace(" ", "")) def SBF7(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3257,8 +3225,6 @@ def SBF7(): print(NewShowWord.replace(" ", "")) def SBF8(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3319,8 +3285,6 @@ def SBF8(): print(NewShowWord.replace(" ", "")) def SBF9(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3380,8 +3344,6 @@ def SBF9(): print(NewShowWord.replace(" ", "")) def SBF10(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3446,8 +3408,6 @@ def SBF10(): print(NewShowWord.replace(" ", "")) def SBF11(): - if NoChar is True: - sys.exit(0) for u in range(StateU, UserCount): for a in range(StateA, EndCount): for b in range(StateB, EndCount): @@ -3554,7 +3514,7 @@ def C_BF1(): pass elif length_end < 0: sys.exit(SpliceX + 'unable to find password') - elif StdoutSwitch is True: + else: BF1() def C_BF2(): @@ -3562,6 +3522,8 @@ def C_BF2(): pass elif length_end < 1: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF2() @@ -3570,6 +3532,8 @@ def C_BF3(): pass elif length_end < 2: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF3() @@ -3578,6 +3542,8 @@ def C_BF4(): pass elif length_end < 3: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF4() @@ -3586,6 +3552,8 @@ def C_BF5(): pass elif length_end < 4: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF5() @@ -3594,6 +3562,8 @@ def C_BF6(): pass elif length_end < 5: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF6() @@ -3602,6 +3572,8 @@ def C_BF7(): pass elif length_end < 6: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF7() @@ -3610,6 +3582,8 @@ def C_BF8(): pass elif length_end < 7: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF8() @@ -3618,6 +3592,8 @@ def C_BF9(): pass elif length_end < 8: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF9() @@ -3626,6 +3602,8 @@ def C_BF10(): pass elif length_end < 9: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF10() @@ -3634,6 +3612,8 @@ def C_BF11(): pass elif length_end < 10: sys.exit(SpliceX + 'unable to find password') + elif NoChar is True: + sys.exit(SpliceX + 'unable to find password') else: BF11() @@ -3650,6 +3630,8 @@ def C_SBF2(): pass elif length_end < 1: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF2() @@ -3658,6 +3640,8 @@ def C_SBF3(): pass elif length_end < 2: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF3() @@ -3666,6 +3650,8 @@ def C_SBF4(): pass elif length_end < 3: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF4() @@ -3674,6 +3660,8 @@ def C_SBF5(): pass elif length_end < 4: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF5() @@ -3682,6 +3670,8 @@ def C_SBF6(): pass elif length_end < 5: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF6() @@ -3690,6 +3680,8 @@ def C_SBF7(): pass elif length_end < 6: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF7() @@ -3698,6 +3690,8 @@ def C_SBF8(): pass elif length_end < 7: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF8() @@ -3706,6 +3700,8 @@ def C_SBF9(): pass elif length_end < 8: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF9() @@ -3714,6 +3710,8 @@ def C_SBF10(): pass elif length_end < 9: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF10() @@ -3722,6 +3720,8 @@ def C_SBF11(): pass elif length_end < 10: sys.exit(0) + elif NoChar is True: + sys.exit(0) else: SBF11() -- cgit v1.2.3 From 257e78ffed5ba14eb952fcf517ef69b7e9e32a2f Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 30 Oct 2011 08:31:15 -0400 Subject: Splicex Update from --no-char fix --- contrib/splicex/src/splicex.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 740d7ce..5834618 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -3622,7 +3622,7 @@ def C_SBF1(): pass elif length_end < 0: sys.exit(0) - elif StdoutSwitch is True: + else: SBF1() def C_SBF2(): -- cgit v1.2.3 From 927170ecad08b8659c088d806ca566f09bef94ae Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 30 Oct 2011 08:47:33 -0400 Subject: Splicex update regarding 'PassAmount' --- contrib/splicex/src/splicex.pyx | 68 ++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 34 deletions(-) (limited to 'contrib/splicex/src/splicex.pyx') diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 5834618..206cee6 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -1813,7 +1813,6 @@ def BF1(): 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] @@ -1830,6 +1829,7 @@ def BF1(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF2(): global timeup, PassAmount @@ -1867,7 +1867,6 @@ def BF2(): 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] @@ -1884,9 +1883,9 @@ def BF2(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 if ExhSwitch is False: - PassAmount += 1 Timer = int(round(float(time.time() - StartTime))) Speed = PassAmount / Timer NewShowWord = ShowWord[x] + Char1[a] @@ -1903,6 +1902,7 @@ def BF2(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF3(): global timeup, PassAmount @@ -1942,7 +1942,6 @@ def BF3(): 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] @@ -1959,9 +1958,9 @@ def BF3(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 if ExhSwitch is False: - PassAmount += 1 Timer = int(round(float(time.time() - StartTime))) Speed = PassAmount / Timer NewShowWord = Char1[a] + Char1[b] + ShowWord[x] @@ -1978,8 +1977,8 @@ def BF3(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) - PassAmount += 1 + Timer = int(round(float(time.time() - StartTime))) Speed = PassAmount / Timer NewShowWord = ShowWord[x] + Char1[b] + Char1[a] @@ -1996,6 +1995,7 @@ def BF3(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF4(): global timeup, PassAmount @@ -2037,7 +2037,6 @@ def BF4(): 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] @@ -2054,9 +2053,9 @@ def BF4(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2073,8 +2072,8 @@ def BF4(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) - PassAmount += 1 + Timer = int(round(float(time.time() - StartTime))) Speed = PassAmount / Timer NewShowWord = Char1[c] + Char1[a] + Char1[b] + ShowWord[x] @@ -2091,8 +2090,8 @@ def BF4(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) - PassAmount += 1 + Timer = int(round(float(time.time() - StartTime))) Speed = PassAmount / Timer NewShowWord = ShowWord[x] + Char1[b] + Char1[a] + Char1[c] @@ -2109,6 +2108,7 @@ def BF4(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF5(): global timeup, PassAmount @@ -2152,7 +2152,6 @@ def BF5(): 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] @@ -2169,9 +2168,9 @@ def BF5(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2188,8 +2187,8 @@ def BF5(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2206,6 +2205,7 @@ def BF5(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF6(): global timeup, PassAmount @@ -2251,7 +2251,6 @@ def BF6(): 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] @@ -2268,9 +2267,9 @@ def BF6(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2287,8 +2286,8 @@ def BF6(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2305,8 +2304,8 @@ def BF6(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2323,6 +2322,7 @@ def BF6(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF7(): global timeup, PassAmount @@ -2370,7 +2370,6 @@ def BF7(): 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] @@ -2387,9 +2386,9 @@ def BF7(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2406,8 +2405,8 @@ def BF7(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2424,6 +2423,7 @@ def BF7(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF8(): global timeup, PassAmount @@ -2473,7 +2473,6 @@ def BF8(): 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] @@ -2490,9 +2489,9 @@ def BF8(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2509,8 +2508,8 @@ def BF8(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2527,8 +2526,8 @@ def BF8(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2545,6 +2544,7 @@ def BF8(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF9(): global timeup, PassAmount @@ -2596,7 +2596,6 @@ def BF9(): 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] @@ -2613,9 +2612,9 @@ def BF9(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2632,8 +2631,8 @@ def BF9(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2650,6 +2649,7 @@ def BF9(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF10(): global timeup, PassAmount @@ -2703,7 +2703,6 @@ def BF10(): 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] @@ -2720,9 +2719,9 @@ def BF10(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2739,8 +2738,8 @@ def BF10(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2757,8 +2756,8 @@ def BF10(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2775,6 +2774,7 @@ def BF10(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def BF11(): global timeup, PassAmount @@ -2830,7 +2830,6 @@ def BF11(): 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] @@ -2847,9 +2846,9 @@ def BF11(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 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] @@ -2866,8 +2865,8 @@ def BF11(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) 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] @@ -2884,6 +2883,7 @@ def BF11(): sys.exit(Red + "[PASSWORD FOUND]: " + Green + NewShowWord + DefColour) else: print(output) + PassAmount += 1 def SBF1(): for u in range(StateU, UserCount): -- cgit v1.2.3