diff options
author | d3v11 <d3v11@d3v11.ano> | 2011-10-23 16:37:08 -0500 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2011-10-23 16:37:08 -0500 |
commit | c28b889515f7d84a49575dd89a9c486041e8a7c8 (patch) | |
tree | 1155d47016a5d0a449b582615c3aace552f97003 /contrib/splicex/src | |
parent | 748c8ac5fba847358166c6dd330cc0315f1e1a16 (diff) | |
download | resdb-c28b889515f7d84a49575dd89a9c486041e8a7c8.tar.gz resdb-c28b889515f7d84a49575dd89a9c486041e8a7c8.zip |
SpliceX Repairs
Diffstat (limited to 'contrib/splicex/src')
-rwxr-xr-x | contrib/splicex/src/splicex.py | 122 |
1 files changed, 121 insertions, 1 deletions
diff --git a/contrib/splicex/src/splicex.py b/contrib/splicex/src/splicex.py index 00b8fa4..0108043 100755 --- a/contrib/splicex/src/splicex.py +++ b/contrib/splicex/src/splicex.py @@ -710,175 +710,217 @@ elif MixCustom is not None and RestoreSwitch is False: sys.exit(SpliceX + "error: -U list does not exist") Word = [] -ReadDictionary = open(dictionary, 'r') 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") @@ -895,6 +937,7 @@ def L337(): 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") @@ -911,6 +954,7 @@ def L337(): 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") @@ -927,6 +971,7 @@ def L337(): 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") @@ -943,6 +988,7 @@ def L337(): 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") @@ -959,6 +1005,7 @@ def L337(): 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") @@ -975,6 +1022,7 @@ def L337(): 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") @@ -991,6 +1039,7 @@ def L337(): 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") @@ -1007,6 +1056,7 @@ def L337(): 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") @@ -1023,6 +1073,7 @@ def L337(): 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") @@ -1039,6 +1090,7 @@ def L337(): 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") @@ -1055,6 +1107,7 @@ def L337(): 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") @@ -1072,10 +1125,12 @@ def L337(): 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 @@ -1088,6 +1143,7 @@ def CAPS(): up ^= 1 Word.append(a) + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') up = 0 @@ -1100,6 +1156,7 @@ def CAPS(): up ^= 1 Word.append(a) + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') up = 0 @@ -1113,6 +1170,7 @@ def CAPS(): up = up + 1 Word.append(a) + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') up = 0 @@ -1126,6 +1184,7 @@ def CAPS(): up = up + 1 Word.append(a) + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') a = 0 @@ -1141,6 +1200,7 @@ def CAPS(): c += let.upper() Word.append(c) + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') a = 0 @@ -1157,261 +1217,313 @@ def CAPS(): 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"): @@ -1419,6 +1531,7 @@ def CAPS(): def MIX(): for Input in MixChars: + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') up = 0 @@ -1434,6 +1547,7 @@ def MIX(): for Input in MixChars: for Input2 in MixChars: + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') up = 0 @@ -1448,6 +1562,7 @@ def MIX(): Word.append(a) for Input in MixChars: + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') a = 0 @@ -1465,6 +1580,7 @@ def MIX(): for Input in MixChars: for Input2 in MixChars: + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: line = line.replace('\n', '') a = 0 @@ -1483,10 +1599,12 @@ def MIX(): 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: @@ -1498,6 +1616,7 @@ def WEP5(): Word.append(line.replace('0a', '')) def WEP13(): + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: i = 0 for let in line: @@ -1520,6 +1639,7 @@ def SOCEN(): except: pass + ReadDictionary = open(dictionary, 'r') for line in ReadDictionary: socen_words.append(line.replace('\n', '')) socen_words = list(set(socen_words)) |