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