diff options
author | d3v11 <d3v11@d3v11.ano> | 2011-10-29 10:17:30 -0400 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2011-10-29 10:17:30 -0400 |
commit | 81aab712cfe805dc00010cb2ff5761787d0a4050 (patch) | |
tree | 61b67ad7fd6bd307c63653082c7ab34e9b27f09d /contrib/splicex/src | |
parent | e04f0562d401b1d44c49f8a03e73cd8fdd27c0d4 (diff) | |
download | resdb-81aab712cfe805dc00010cb2ff5761787d0a4050.tar.gz resdb-81aab712cfe805dc00010cb2ff5761787d0a4050.zip |
SpliceX update: pyinstall added
Diffstat (limited to 'contrib/splicex/src')
-rw-r--r-- | contrib/splicex/src/deshadow.pyx | 7 | ||||
-rw-r--r-- | contrib/splicex/src/make.in | 11 | ||||
-rw-r--r-- | contrib/splicex/src/pymake.in | 62 | ||||
-rw-r--r-- | contrib/splicex/src/splicex-deshadow.py | 7 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.py | 2 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.pyx | 751 |
6 files changed, 458 insertions, 382 deletions
diff --git a/contrib/splicex/src/deshadow.pyx b/contrib/splicex/src/deshadow.pyx new file mode 100644 index 0000000..c8e11ec --- /dev/null +++ b/contrib/splicex/src/deshadow.pyx @@ -0,0 +1,7 @@ +#!PYTHON +import sys; sys.tracebacklimit = 0 +from crypt import crypt +TestHash = crypt(sys.argv[1], sys.argv[2]) +HashValue = sys.argv[3] +if TestHash.__contains__(HashValue): + print("SHADOW CRACKED") diff --git a/contrib/splicex/src/make.in b/contrib/splicex/src/make.in index 1ed50d2..5393658 100644 --- a/contrib/splicex/src/make.in +++ b/contrib/splicex/src/make.in @@ -1,10 +1,13 @@ compile: - cython src/splicex.pyx -o build/splicex.c + cython build/deshadow.pyx -o build/deshadow.c + gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/PYTHON -c build/deshadow.c -o build/deshadow.o + gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/deshadow.o -o build/deshadow.so + + cython build/splicex.pyx -o build/splicex.c gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/PYTHON -c build/splicex.c -o build/splicex.o gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/splicex.o -o build/splicex.so install-deb: - make preinstall mkdir DEBIAN/splicex mkdir DEBIAN/splicex/DEBIAN mkdir DEBIAN/splicex/usr @@ -13,7 +16,8 @@ install-deb: mkdir DEBIAN/splicex/etc/splicex cp DEBIAN/control DEBIAN/splicex/DEBIAN/control cp build/splicex DEBIAN/splicex/usr/bin/splicex - cp build/splicex.so /etc/splicex/splicex.so + cp build/splicex.so DEBIAN/etc/splicex/splicex.so + cp build/deshadow.so DEBIAN/etc/splicex/deshadow.so cp build/splicex-deshadow DEBIAN/splicex/usr/bin/splicex-deshadow chmod +x DEBIAN/splicex/usr/bin/splicex chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow @@ -36,6 +40,7 @@ install: mkdir /etc/splicex cp build/splicex /usr/bin/splicex cp build/splicex.so /etc/splicex/splicex.so + cp build/deshadow.so /etc/splicex/deshadow.so cp build/splicex-deshadow /usr/bin/splicex-deshadow chmod +x /usr/bin/splicex chmod +x /usr/bin/splicex-deshadow diff --git a/contrib/splicex/src/pymake.in b/contrib/splicex/src/pymake.in new file mode 100644 index 0000000..f948da6 --- /dev/null +++ b/contrib/splicex/src/pymake.in @@ -0,0 +1,62 @@ +pyinstall-deb: + mkdir DEBIAN/splicex + mkdir DEBIAN/splicex/DEBIAN + mkdir DEBIAN/splicex/usr + mkdir DEBIAN/splicex/usr/bin + mkdir DEBIAN/splicex/etc + mkdir DEBIAN/splicex/etc/splicex + cp DEBIAN/control DEBIAN/splicex/DEBIAN/control + cp build/splicex.pyx DEBIAN/splicex/usr/bin/splicex + cp build/deshadow.pyx DEBIAN/splicex/usr/bin/splicex-deshadow + chmod +x DEBIAN/splicex/usr/bin/splicex + chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow + cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list + cp src/manual DEBIAN/splicex/etc/splicex/splicex.1 + gzip DEBIAN/splicex/etc/splicex/splicex.1 + cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L + cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N + cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S + cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN + cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS + cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS + cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL + dpkg-deb --build DEBIAN/splicex + dpkg -i DEBIAN/splicex.deb + rm -rf DEBIAN/splicex DEBIAN/splicex.deb + +pyinstall: + make preinstall + mkdir /etc/splicex + cp build/splicex.pyx /usr/bin/splicex + cp build/deshadow.pyx /usr/bin/splicex-deshadow + chmod +x /usr/bin/splicex + chmod +x /usr/bin/splicex-deshadow + cp src/splicex.list /etc/splicex/splicex.list + cp src/manual /etc/splicex/splicex.1 + gzip /etc/splicex/splicex.1 + cp src/splicex.L /etc/splicex/splicex.L + cp src/splicex.N /etc/splicex/splicex.N + cp src/splicex.S /etc/splicex/splicex.S + cp src/splicex.LN /etc/splicex/splicex.LN + cp src/splicex.LS /etc/splicex/splicex.LS + cp src/splicex.NS /etc/splicex/splicex.NS + cp src/splicex.ALL /etc/splicex/splicex.ALL + +uninstall: + rm -rf /etc/splicex + rm -f /usr/bin/splicex + rm -f /usr/bin/splicex-deshadow + +clean: + rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf + +preinstall: + rm -rf /etc/splicex + rm -f /usr/bin/splicex + rm -f /usr/bin/splicex-deshadow + rm DEBIAN/splicex DEBIAN/*.deb -rf + +update: + wget http://www.d3v11.ano/splicex.tgz + tar -xvf ../splicex.tgz --directory='../' + rm ../splicex.tgz diff --git a/contrib/splicex/src/splicex-deshadow.py b/contrib/splicex/src/splicex-deshadow.py index c8e11ec..d027f1c 100644 --- a/contrib/splicex/src/splicex-deshadow.py +++ b/contrib/splicex/src/splicex-deshadow.py @@ -1,7 +1,4 @@ #!PYTHON import sys; sys.tracebacklimit = 0 -from crypt import crypt -TestHash = crypt(sys.argv[1], sys.argv[2]) -HashValue = sys.argv[3] -if TestHash.__contains__(HashValue): - print("SHADOW CRACKED") +sys.path.append('/etc/splicex') +import deshadow diff --git a/contrib/splicex/src/splicex.py b/contrib/splicex/src/splicex.py index 968e163..8d3ff79 100644 --- a/contrib/splicex/src/splicex.py +++ b/contrib/splicex/src/splicex.py @@ -1,4 +1,4 @@ #!PYTHON -import sys +import sys; sys.tracebacklimit = 0 sys.path.append('/etc/splicex') import splicex diff --git a/contrib/splicex/src/splicex.pyx b/contrib/splicex/src/splicex.pyx index 859e6e3..22c4f32 100644 --- a/contrib/splicex/src/splicex.pyx +++ b/contrib/splicex/src/splicex.pyx @@ -1729,7 +1729,8 @@ else: if not Word: sys.exit(SpliceX + "error: compiled empty wordlist") -Word = list(set(Word)) +Word = list(set(Word)) +WordCount = 0 ShowWord = [] PassWd = [] for Input in Word: @@ -1739,9 +1740,7 @@ for Input in Word: c += "\\\\\\" + let PassWd.append(c) -timeup = 0 -PassAmount = 0 -StartTime = time.time() - 1 + if TIME != None: try: TIME = TIME.split(", ") @@ -1773,13 +1772,19 @@ else: length_start = 0 length_end = 10 -WordCount = 0 -for CountWords in ShowWord: - WordCount += 1 - def BF1(): - global timeup, PassAmount + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 0: + break + if length_end < 0: + sys.exit(SpliceX + 'unable to find password') for x in range(StateW, WordCount): if SaveSwitch is True: WriteSave = [] @@ -1830,10 +1835,20 @@ def BF1(): print(output) def BF2(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 1: + break + if length_end < 1: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for x in range(StateW, WordCount): if SaveSwitch is True: @@ -1905,10 +1920,20 @@ def BF2(): print(output) def BF3(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 2: + break + if length_end < 2: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for x in range(StateW, WordCount): @@ -2000,10 +2025,20 @@ def BF3(): print(output) def BF4(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 3: + break + if length_end < 3: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2115,10 +2150,20 @@ def BF4(): print(output) def BF5(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 4: + break + if length_end < 4: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2214,10 +2259,20 @@ def BF5(): print(output) def BF6(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 5: + break + if length_end < 5: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2333,10 +2388,20 @@ def BF6(): print(output) def BF7(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 6: + break + if length_end < 6: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2436,10 +2501,20 @@ def BF7(): print(output) def BF8(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 7: + break + if length_end < 7: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2559,10 +2634,20 @@ def BF8(): print(output) def BF9(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 8: + break + if length_end < 8: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2666,10 +2751,20 @@ def BF9(): print(output) def BF10(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 9: + break + if length_end < 9: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2793,10 +2888,20 @@ def BF10(): print(output) def BF11(): - global timeup, PassAmount if NoChar is True: sys.exit(SpliceX + 'unable to find password') + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 + StartTime = time.time() + StartTime = StartTime - 1 + PassAmount = 0 + timeup = 0 for u in range(StateU, UserCount): + if length_start > 10: + break + if length_end < 10: + sys.exit(SpliceX + 'unable to find password') for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -2904,7 +3009,14 @@ def BF11(): print(output) def SBF1(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 for u in range(StateU, UserCount): + if length_start > 0: + break + if length_end < 0: + sys.exit(0) for x in range(StateW, WordCount): if SaveSwitch is True: WriteSave = [] @@ -2940,9 +3052,16 @@ def SBF1(): print(NewShowWord.replace(" ", "")) def SBF2(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 1: + break + if length_end < 1: + sys.exit(0) for a in range(StateA, EndCount): for x in range(StateW, WordCount): if SaveSwitch is True: @@ -2984,9 +3103,16 @@ def SBF2(): print(NewShowWord.replace(" ", "")) def SBF3(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 2: + break + if length_end < 2: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for x in range(StateW, WordCount): @@ -3033,9 +3159,16 @@ def SBF3(): print(NewShowWord.replace(" ", "")) def SBF4(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 3: + break + if length_end < 3: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3087,9 +3220,16 @@ def SBF4(): print(NewShowWord.replace(" ", "")) def SBF5(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 4: + break + if length_end < 4: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3140,9 +3280,16 @@ def SBF5(): print(NewShowWord.replace(" ", "")) def SBF6(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 5: + break + if length_end < 5: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3198,9 +3345,16 @@ def SBF6(): print(NewShowWord.replace(" ", "")) def SBF7(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 6: + break + if length_end < 6: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3255,9 +3409,16 @@ def SBF7(): print(NewShowWord.replace(" ", "")) def SBF8(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 7: + break + if length_end < 7: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3317,9 +3478,16 @@ def SBF8(): print(NewShowWord.replace(" ", "")) def SBF9(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 8: + break + if length_end < 8: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3378,9 +3546,16 @@ def SBF9(): print(NewShowWord.replace(" ", "")) def SBF10(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 9: + break + if length_end < 9: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3444,9 +3619,16 @@ def SBF10(): print(NewShowWord.replace(" ", "")) def SBF11(): + WordCount = 0 + for CountWords in ShowWord: + WordCount += 1 if NoChar is True: sys.exit(0) for u in range(StateU, UserCount): + if length_start > 10: + break + if length_end < 10: + sys.exit(0) for a in range(StateA, EndCount): for b in range(StateB, EndCount): for c in range(StateC, EndCount): @@ -3547,183 +3729,6 @@ if Create is True: sys.stdout.write('\r') sys.exit(SpliceX + 'compiled ' + str(N) + ' passwords. enjoy ;-)') -def C_BF1(): - if length_start > 0: - pass - elif length_end < 0: - sys.exit(SpliceX + 'unable to find password') - elif StdoutSwitch is True: - BF1() - -def C_BF2(): - if length_start > 1: - pass - elif length_end < 1: - sys.exit(SpliceX + 'unable to find password') - else: - BF2() - -def C_BF3(): - if length_start > 2: - pass - elif length_end < 2: - sys.exit(SpliceX + 'unable to find password') - else: - BF3() - -def C_BF4(): - if length_start > 3: - pass - elif length_end < 3: - sys.exit(SpliceX + 'unable to find password') - else: - BF4() - -def C_BF5(): - if length_start > 4: - pass - elif length_end < 4: - sys.exit(SpliceX + 'unable to find password') - else: - BF5() - -def C_BF6(): - if length_start > 5: - pass - elif length_end < 5: - sys.exit(SpliceX + 'unable to find password') - else: - BF6() - -def C_BF7(): - if length_start > 6: - pass - elif length_end < 6: - sys.exit(SpliceX + 'unable to find password') - else: - BF7() - -def C_BF8(): - if length_start > 7: - pass - elif length_end < 7: - sys.exit(SpliceX + 'unable to find password') - else: - BF8() - -def C_BF9(): - if length_start > 8: - pass - elif length_end < 8: - sys.exit(SpliceX + 'unable to find password') - else: - BF9() - -def C_BF10(): - if length_start > 9: - pass - elif length_end < 9: - sys.exit(SpliceX + 'unable to find password') - else: - BF10() - -def C_BF11(): - if length_start > 10: - pass - elif length_end < 10: - sys.exit(SpliceX + 'unable to find password') - else: - BF11() - -def C_SBF1(): - if length_start > 0: - pass - elif length_end < 0: - sys.exit(0) - elif StdoutSwitch is True: - SBF1() - -def C_SBF2(): - if length_start > 1: - pass - elif length_end < 1: - sys.exit(0) - else: - SBF2() - -def C_SBF3(): - if length_start > 2: - pass - elif length_end < 2: - sys.exit(0) - else: - SBF3() - -def C_SBF4(): - if length_start > 3: - pass - elif length_end < 3: - sys.exit(0) - else: - SBF4() - -def C_SBF5(): - if length_start > 4: - pass - elif length_end < 4: - sys.exit(0) - else: - SBF5() - -def C_SBF6(): - if length_start > 5: - pass - elif length_end < 5: - sys.exit(0) - else: - SBF6() - -def C_SBF7(): - if length_start > 6: - pass - elif length_end < 6: - sys.exit(0) - else: - SBF7() - -def C_SBF8(): - if length_start > 7: - pass - elif length_end < 7: - sys.exit(0) - else: - SBF8() - -def C_SBF9(): - if length_start > 8: - pass - elif length_end < 8: - sys.exit(0) - else: - SBF9() - -def C_SBF10(): - if length_start > 9: - pass - elif length_end < 9: - sys.exit(0) - else: - SBF10() - -def C_SBF11(): - if length_start > 10: - pass - elif length_end < 10: - sys.exit(0) - else: - SBF11() - - if RestoreSwitch is False: StateCount = 0 if RestoreSwitch is False and StdoutSwitch is False: @@ -3739,17 +3744,17 @@ if RestoreSwitch is False and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF1() - C_BF2() - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF1() + BF2() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: @@ -3765,7 +3770,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF1() + BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3777,18 +3782,18 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF2() - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF2() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") -if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: +if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) StateW = int(State[23]) StateA = 0 @@ -3801,7 +3806,7 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF1() + BF1() StateW = 0 StateA = 0 StateB = 0 @@ -3813,16 +3818,16 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF2() - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF2() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3837,7 +3842,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF2() + BF2() StateW = 0 StateA = 0 StateB = 0 @@ -3849,15 +3854,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF3() - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF3() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3872,7 +3877,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF3() + BF3() StateW = 0 StateA = 0 StateB = 0 @@ -3884,14 +3889,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF4() - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF4() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3906,7 +3911,7 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF4() + BF4() StateW = 0 StateA = 0 StateB = 0 @@ -3918,13 +3923,13 @@ elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF5() - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF5() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3939,7 +3944,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF5() + BF5() StateW = 0 StateA = 0 StateB = 0 @@ -3951,12 +3956,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF6() - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF6() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -3971,7 +3976,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF6() + BF6() StateW = 0 StateA = 0 StateB = 0 @@ -3983,11 +3988,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF7() - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF7() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4002,7 +4007,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF7() + BF7() StateW = 0 StateA = 0 StateB = 0 @@ -4014,10 +4019,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF8() - C_BF9() - C_BF10() - C_BF11() + BF8() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4032,7 +4037,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF8() + BF8() StateW = 0 StateA = 0 StateB = 0 @@ -4044,9 +4049,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF9() - C_BF10() - C_BF11() + BF9() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4061,7 +4066,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = 0 StateJ = 0 - C_BF9() + BF9() StateW = 0 StateA = 0 StateB = 0 @@ -4073,8 +4078,8 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF10() - C_BF11() + BF10() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4089,7 +4094,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - C_BF10() + BF10() StateW = 0 StateA = 0 StateB = 0 @@ -4101,7 +4106,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: StateH = 0 StateI = 0 StateJ = 0 - C_BF11() + BF11() sys.exit(SpliceX + " unable to find password") elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateU = int(State[22]) @@ -4116,7 +4121,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is False: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - C_BF11() + BF11() sys.exit(SpliceX + " unable to find password") if RestoreSwitch is False and StdoutSwitch is True: @@ -4132,17 +4137,17 @@ if RestoreSwitch is False and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF1() - C_SBF2() - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF1() + SBF2() + SBF3() + SBF4() + SBF5() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: @@ -4158,7 +4163,7 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF1() + SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4170,16 +4175,16 @@ if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF2() - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF2() + SBF3() + SBF4() + SBF5() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4194,7 +4199,7 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF1() + SBF1() StateW = 0 StateA = 0 StateB = 0 @@ -4206,16 +4211,16 @@ if StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF2() - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF2() + SBF3() + SBF4() + SBF5() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4230,7 +4235,7 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF2() + SBF2() StateW = 0 StateA = 0 StateB = 0 @@ -4242,15 +4247,15 @@ elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF3() - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF3() + SBF4() + SBF5() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4265,7 +4270,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF3() + SBF3() StateW = 0 StateA = 0 StateB = 0 @@ -4277,14 +4282,14 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF4() - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF4() + SBF5() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4299,7 +4304,7 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF4() + SBF4() StateW = 0 StateA = 0 StateB = 0 @@ -4311,13 +4316,13 @@ elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF5() - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF5() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4332,7 +4337,7 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF5() + SBF5() StateW = 0 StateA = 0 StateB = 0 @@ -4344,12 +4349,12 @@ elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF6() - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF6() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4364,7 +4369,7 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF6() + SBF6() StateW = 0 StateA = 0 StateB = 0 @@ -4376,11 +4381,11 @@ elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF7() - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF7() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4395,7 +4400,7 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF7() + SBF7() StateW = 0 StateA = 0 StateB = 0 @@ -4407,10 +4412,10 @@ elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF8() - C_SBF9() - C_SBF10() - C_SBF11() + SBF8() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4425,7 +4430,7 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF8() + SBF8() StateW = 0 StateA = 0 StateB = 0 @@ -4437,9 +4442,9 @@ elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF9() - C_SBF10() - C_SBF11() + SBF9() + SBF10() + SBF11() sys.exit(0) elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4454,7 +4459,7 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = 0 StateJ = 0 - C_SBF9() + SBF9() StateW = 0 StateA = 0 StateB = 0 @@ -4466,8 +4471,8 @@ elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF10() - C_SBF11() + SBF10() + SBF11() sys.exit(0) elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4482,7 +4487,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = 0 - C_SBF10() + SBF10() StateW = 0 StateA = 0 StateB = 0 @@ -4494,7 +4499,7 @@ elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: StateH = 0 StateI = 0 StateJ = 0 - C_SBF11() + SBF11() sys.exit(0) elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateU = int(State[22]) @@ -4509,7 +4514,7 @@ elif StateCount == 33 and RestoreSwitch is True and StdoutSwitch is True: StateH = int(State[31]) StateI = int(State[32]) StateJ = int(State[33]) - C_SBF11() + SBF11() sys.exit(0) sys.exit(SpliceX + " unknown error: please report bug to author") |