Mercurial > hg > anonet-resdb
comparison contrib/splice3/LINUX/splice3.py @ 626:ed8cff39b9a7 draft
added splice3 to resdb/contrib
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Fri, 23 Sep 2011 00:12:08 -0500 |
parents | |
children | 7399891bf274 |
comparison
equal
deleted
inserted
replaced
625:ad10fd05ee0e | 626:ed8cff39b9a7 |
---|---|
1 #!/usr/bin/python2.7 | |
2 | |
3 import os | |
4 import re | |
5 import sys | |
6 import spwd | |
7 import getpass | |
8 import os.path | |
9 import argparse | |
10 import time | |
11 from hashlib import md5 | |
12 | |
13 | |
14 parser = argparse.ArgumentParser() | |
15 | |
16 parser.add_argument('-c', '--command', action='store', dest='cmd', | |
17 help='Parse passwords to this command') | |
18 | |
19 parser.add_argument('-d', '--dictionary', action='store', dest='dictionary', | |
20 help='Path to custom dictionary(wordlist)') | |
21 | |
22 parser.add_argument('--rtfm', action="store_true", default=False, | |
23 dest='ManSwitch', | |
24 help='Show manual page and exit') | |
25 | |
26 parser.add_argument('-r', '--restore', action='store', dest='restore', | |
27 help='Path to restore file') | |
28 | |
29 parser.add_argument('-s', '--save', action='store', dest='save', | |
30 help='Directory path to create save file') | |
31 | |
32 parser.add_argument('-t', '--test', action='store', dest='test', | |
33 help='Test output of -c\'s command') | |
34 | |
35 parser.add_argument('--time', action='store', dest='TIME', | |
36 help='Manipulate timed iterations') | |
37 | |
38 parser.add_argument('-u', '--usernames', action='store', dest='usernames', | |
39 help='Path to username list') | |
40 | |
41 parser.add_argument('--exh-l', action="store_true", default=False, | |
42 dest='ExhL', help='Use an exhaustive attack with letters only') | |
43 | |
44 parser.add_argument('--exh-n', action="store_true", default=False, | |
45 dest='ExhN', help='Use an exhaustive attack with numbers only') | |
46 | |
47 parser.add_argument('--exh-s', action="store_true", default=False, | |
48 dest='ExhS', help='Use an exhaustive attack with special characters only') | |
49 | |
50 parser.add_argument('--exh-ln', action="store_true", default=False, | |
51 dest='ExhLN', help='Use an exhaustive attack with letters and numbers only') | |
52 | |
53 parser.add_argument('--exh-ls', action="store_true", default=False, | |
54 dest='ExhLS', help='Use an exhaustive attack with letters and special characters only') | |
55 | |
56 parser.add_argument('--exh-ns', action="store_true", default=False, | |
57 dest='ExhNS', help='Use an exhaustive attack with numbers and special characters only') | |
58 | |
59 parser.add_argument('--exh-lns', action="store_true", default=False, | |
60 dest='ExhLNS', help='Use an exhaustive attack with all characters') | |
61 | |
62 parser.add_argument('--exh-custom', action='store', dest='ExhCustom', | |
63 help='Use an exhaustive attack with custom characters') | |
64 | |
65 parser.add_argument('--stdout', action="store_true", default=False, | |
66 dest='StdoutSwitch', help='Print only passwords to stdout') | |
67 | |
68 parser.add_argument('-A', action="store_true", default=False, | |
69 dest='AlphaSwitch', | |
70 help='Use alphabetical mixing module') | |
71 | |
72 parser.add_argument('-B', action="store_true", default=False, | |
73 dest='BWSwitch', | |
74 help='Use backwords module') | |
75 | |
76 parser.add_argument('-C', action="store_true", default=False, | |
77 dest='CapsSwitch', | |
78 help='Use alternating caps module') | |
79 | |
80 parser.add_argument('-L', action="store_true", default=False, | |
81 dest='L337Switch', | |
82 help='Use \"L337\" speak module') | |
83 | |
84 parser.add_argument('-M', action="store_true", default=False, | |
85 dest='MD5Switch', | |
86 help='Use MD5 module') | |
87 | |
88 parser.add_argument('-N', action="store_true", default=False, | |
89 dest='NumberSwitch', | |
90 help='Use numerical mixing module') | |
91 | |
92 parser.add_argument('-R', action="store_true", default=False, | |
93 dest='RegularSwitch', | |
94 help='Use regular words module') | |
95 | |
96 parser.add_argument('-S', action="store_true", default=False, | |
97 dest='SpecialSwitch', | |
98 help='Use special mixing module') | |
99 | |
100 parser.add_argument('-U', action='store', dest='MixCustom', | |
101 help='Use custom mixing module') | |
102 | |
103 parser.add_argument('--wep-5', action="store_true", default=False, | |
104 dest='wep5', help='Use 5 char WEP module') | |
105 | |
106 parser.add_argument('--wep-13', action="store_true", default=False, | |
107 dest='wep13', help='Use 13 char WEP module') | |
108 | |
109 parser.add_argument('--letters', action="store_true", default=False, | |
110 dest='Letters', help='Use letter characters') | |
111 | |
112 parser.add_argument('--numbers', action="store_true", default=False, | |
113 dest='Numbers', help='Use number characters') | |
114 | |
115 parser.add_argument('--specials', action="store_true", default=False, | |
116 dest='Specials', help='Use special characters') | |
117 | |
118 parser.add_argument('--no-char', action="store_true", default=False, | |
119 dest='NoChar', help='Override character usage') | |
120 | |
121 parser.add_argument('--custom', action='store', dest='Custom', | |
122 help='Use custom characters') | |
123 | |
124 parser.add_argument('--deshadow', action="store_true", default=False, | |
125 dest='DeShadow', help='Crack shadow hash sums') | |
126 | |
127 parser.add_argument('--getshadow', action='store', dest='GetShadow', | |
128 help='Get the shadow info for a user') | |
129 | |
130 parser.add_argument('--setshadow', action='store', dest='SetShadow', | |
131 help='Use the shadow info from a file') | |
132 | |
133 parser.add_argument('--se-create', action="store_true", default=False, | |
134 dest='SESwitch', | |
135 help='a weird modular dictionary option') | |
136 | |
137 parser.add_argument('--create', action="store_true", default=False, | |
138 dest='Create', help='Create a dictionary') | |
139 | |
140 parser.add_argument('-v', '--version', action='version', version='Splice3: Brute Force Utilities For The Linux Shell', | |
141 help='Show splice3\'s version number and exit') | |
142 | |
143 parser.add_argument('--debug', action="store_true", default=False, | |
144 dest='DebugSwitch', help='Enable debugging') | |
145 | |
146 option = parser.parse_args() | |
147 | |
148 if option.ExhCustom is not None: | |
149 option.dictionary = option.ExhCustom | |
150 option.Custom = option.ExhCustom | |
151 | |
152 if option.DebugSwitch is False: | |
153 sys.tracebacklimit = 0 | |
154 | |
155 StdoutSwitch = option.StdoutSwitch | |
156 TIME = option.TIME | |
157 | |
158 ExhL = option.ExhL | |
159 ExhN = option.ExhN | |
160 ExhS = option.ExhS | |
161 ExhLN = option.ExhLN | |
162 ExhLS = option.ExhLS | |
163 ExhNS = option.ExhNS | |
164 ExhLNS = option.ExhLNS | |
165 ExhSwitch = False | |
166 if ExhL == True: | |
167 option.dictionary = "/etc/splice3/splice3.L" | |
168 option.Letters = True | |
169 option.Numbers = False | |
170 option.Specials = False | |
171 option.AlphaSwitch = False | |
172 option.BWSwitch = False | |
173 option.CapsSwitch = False | |
174 option.L337Switch = False | |
175 option.NumberSwitch = False | |
176 option.MD5Switch = False | |
177 option.RegularSwitch = True | |
178 option.SpecialSwitch = False | |
179 ExhSwitch = True | |
180 if ExhN == True: | |
181 option.dictionary = "/etc/splice3/splice3.N" | |
182 option.Letters = False | |
183 option.Numbers = True | |
184 option.Specials = False | |
185 option.AlphaSwitch = False | |
186 option.BWSwitch = False | |
187 option.CapsSwitch = False | |
188 option.L337Switch = False | |
189 option.NumberSwitch = False | |
190 option.MD5Switch = False | |
191 option.RegularSwitch = True | |
192 option.SpecialSwitch = False | |
193 ExhSwitch = True | |
194 if ExhS == True: | |
195 option.dictionary = "/etc/splice3/splice3.S" | |
196 option.Letters = False | |
197 option.Numbers = False | |
198 option.Specials = True | |
199 option.AlphaSwitch = False | |
200 option.BWSwitch = False | |
201 option.CapsSwitch = False | |
202 option.L337Switch = False | |
203 option.NumberSwitch = False | |
204 option.MD5Switch = False | |
205 option.RegularSwitch = True | |
206 option.SpecialSwitch = False | |
207 ExhSwitch = True | |
208 if ExhLN == True: | |
209 option.dictionary = "/etc/splice3/splice3.LN" | |
210 option.Letters = True | |
211 option.Numbers = True | |
212 option.Specials = False | |
213 option.AlphaSwitch = False | |
214 option.BWSwitch = False | |
215 option.CapsSwitch = False | |
216 option.L337Switch = False | |
217 option.NumberSwitch = False | |
218 option.MD5Switch = False | |
219 option.RegularSwitch = True | |
220 option.SpecialSwitch = False | |
221 ExhSwitch = True | |
222 if ExhLS == True: | |
223 option.dictionary = "/etc/splice3/splice3.LS" | |
224 option.Letters = True | |
225 option.Numbers = False | |
226 option.Specials = True | |
227 option.AlphaSwitch = False | |
228 option.BWSwitch = False | |
229 option.CapsSwitch = False | |
230 option.L337Switch = False | |
231 option.NumberSwitch = False | |
232 option.MD5Switch = False | |
233 option.RegularSwitch = True | |
234 option.SpecialSwitch = False | |
235 ExhSwitch = True | |
236 if ExhNS == True: | |
237 option.dictionary = "/etc/splice3/splice3.NS" | |
238 option.Letters = False | |
239 option.Numbers = True | |
240 option.Specials = True | |
241 option.AlphaSwitch = False | |
242 option.BWSwitch = False | |
243 option.CapsSwitch = False | |
244 option.L337Switch = False | |
245 option.NumberSwitch = False | |
246 option.MD5Switch = False | |
247 option.RegularSwitch = True | |
248 option.SpecialSwitch = False | |
249 ExhSwitch = True | |
250 if ExhLNS == True: | |
251 option.dictionary = "/etc/splice3/splice3.LNS" | |
252 option.Letters = True | |
253 option.Numbers = True | |
254 option.Specials = True | |
255 option.AlphaSwitch = False | |
256 option.BWSwitch = False | |
257 option.CapsSwitch = False | |
258 option.L337Switch = False | |
259 option.NumberSwitch = False | |
260 option.MD5Switch = False | |
261 option.RegularSwitch = True | |
262 option.SpecialSwitch = False | |
263 ExhSwitch = True | |
264 | |
265 if option.Custom is not None and option.dictionary is not None: | |
266 if option.Custom == option.dictionary: | |
267 option.Letters = False | |
268 option.Numbers = True | |
269 option.Specials = True | |
270 option.AlphaSwitch = False | |
271 option.BWSwitch = False | |
272 option.CapsSwitch = False | |
273 option.L337Switch = False | |
274 option.NumberSwitch = False | |
275 option.MD5Switch = False | |
276 option.RegularSwitch = True | |
277 option.SpecialSwitch = False | |
278 ExhSwitch = True | |
279 | |
280 | |
281 ShadowValue = [] | |
282 GetShadow = option.GetShadow | |
283 SetShadow = option.SetShadow | |
284 if option.DeShadow is True and SetShadow is None and GetShadow is None: | |
285 print "splice3: error: --deshadow requires --getshadow or --setshadow" | |
286 sys.exit(1) | |
287 if SetShadow is not None and GetShadow is not None: | |
288 print "splice3: error: --getshadow and --setshadow cannot be combined" | |
289 sys.exit(1) | |
290 elif not os.geteuid()==0 and GetShadow is not None: | |
291 print "splice3: error: --getshadow requires root privileges" | |
292 sys.exit(1) | |
293 elif os.geteuid()==0 and GetShadow is not None: | |
294 try: | |
295 ShadowValue = spwd.getspnam(GetShadow)[1] | |
296 except: | |
297 print "splice3: error: --getshadow: invalid user entered" | |
298 sys.exit(1) | |
299 elif SetShadow is not None and os.path.exists(SetShadow): | |
300 ShadowFile = open(SetShadow, 'r') | |
301 for line in ShadowFile: | |
302 line = line.replace('\n', '') | |
303 ShadowValue = line | |
304 if SetShadow is not None and not os.path.exists(SetShadow): | |
305 print "splice3: error: --setshadow: shadow file does not exist" | |
306 sys.exit(1) | |
307 elif SetShadow is not None or GetShadow is not None: | |
308 ShadowSalt = ShadowValue.replace('$', '^1', 1) | |
309 ShadowSalt = ShadowSalt.replace('$', '^2', 1) | |
310 ShadowSalt = ShadowSalt.replace('$', '^3', 1) | |
311 ShadowSalt=ShadowSalt[ShadowSalt.find("^1"):ShadowSalt.find("^3")] | |
312 ShadowSalt = ShadowSalt.replace('^1', '$') | |
313 ShadowSalt = ShadowSalt.replace('^2', '$') | |
314 ShadowSalt = ShadowSalt + "$" | |
315 ShadowValue = ShadowValue.replace(':', '^1', 1) | |
316 ShadowValue = ShadowValue.replace(':', '^2', 1) | |
317 ShadowValue=ShadowValue[ShadowValue.find("^1")+2:ShadowValue.find("^2")] | |
318 ShadowValue = ShadowValue.replace('$', '\$') | |
319 ShadowSalt = ShadowSalt.replace('$', '\$') | |
320 | |
321 | |
322 ManSwitch = option.ManSwitch | |
323 if ManSwitch is True: | |
324 os.system("man /etc/splice3/splice3.1.gz") | |
325 sys.exit(0) | |
326 | |
327 test = option.test | |
328 | |
329 restore = option.restore | |
330 if restore is not None and os.path.exists(restore) is False: | |
331 print "splice3: error: restore file does not exist" | |
332 sys.exit(1) | |
333 elif restore is not None and os.path.exists(restore) is True: | |
334 RestoreSwitch = True | |
335 State = [] | |
336 StateCount = 0 | |
337 if RestoreSwitch is True: | |
338 RESTORE = open(restore, 'r') | |
339 for line in RESTORE: | |
340 line = line.replace('\n', '') | |
341 State.append(line) | |
342 StateCount += 1 | |
343 StateCount -= 1 | |
344 else: | |
345 RestoreSwitch = False | |
346 | |
347 save = option.save | |
348 Slash = "/" | |
349 if save is not None and not os.path.isdir(save): | |
350 print "splice3: error: ( -s ) invalid directory" | |
351 sys.exit(1) | |
352 elif save is not None and os.path.isdir(save): | |
353 SaveSwitch = True | |
354 s = "" | |
355 up = 0 | |
356 end = 0 | |
357 for let in save: | |
358 end += 1 | |
359 for let in save: | |
360 up += 1 | |
361 if let == Slash and end == up: | |
362 s += "" | |
363 else: | |
364 s += let | |
365 save = s | |
366 save += Slash + "splice3.save" | |
367 else: | |
368 SaveSwitch = False | |
369 | |
370 SESwitch = option.SESwitch | |
371 dictionary = option.dictionary | |
372 if dictionary is None: | |
373 dictionary = "/etc/splice3/splice3.list" | |
374 elif dictionary is not None and not os.path.exists(dictionary): | |
375 print "splice3: error: dictionary does not exist" | |
376 sys.exit(1) | |
377 | |
378 usernames = option.usernames | |
379 if usernames is None: | |
380 UserSwitch = False | |
381 UserStatus = "" | |
382 elif usernames is not None and not os.path.exists(usernames): | |
383 print "splice3: error: username list does not exist" | |
384 sys.exit(1) | |
385 else: | |
386 UserSwitch = True | |
387 UserStatus = "TRYING: [USERNAME]:" | |
388 | |
389 if RestoreSwitch is False: | |
390 AlphaSwitch = option.AlphaSwitch | |
391 CapsSwitch = option.CapsSwitch | |
392 BWSwitch = option.BWSwitch | |
393 L337Switch = option.L337Switch | |
394 MD5Switch = option.MD5Switch | |
395 NumberSwitch = option.NumberSwitch | |
396 RegularSwitch = option.RegularSwitch | |
397 SpecialSwitch = option.SpecialSwitch | |
398 Letters = option.Letters | |
399 Numbers = option.Numbers | |
400 Specials = option.Specials | |
401 MixCustom = option.MixCustom | |
402 Custom = option.Custom | |
403 wep5 = option.wep5 | |
404 wep13 = option.wep13 | |
405 else: | |
406 option.cmd = State[0] | |
407 dictionary = State[1] | |
408 MixCustom = State[2] | |
409 Custom = State[3] | |
410 if State[4] == "True": | |
411 ExhSwitch = True | |
412 else: | |
413 ExhSwitch = False | |
414 if State[5] == "True": | |
415 StdoutSwitch = True | |
416 else: | |
417 StdoutSwitch = False | |
418 usernames = State[6] | |
419 if State[7] == "True": | |
420 UserSwitch = True | |
421 else: | |
422 UserSwitch = False | |
423 if State[8] == "True": | |
424 AlphaSwitch = True | |
425 else: | |
426 AlphaSwitch = False | |
427 if State[9] == "True": | |
428 BWSwitch = True | |
429 else: | |
430 BWSwitch = False | |
431 if State[10] == "True": | |
432 CapsSwitch = True | |
433 else: | |
434 CapsSwitch = False | |
435 if State[11] == "True": | |
436 L337Switch = True | |
437 else: | |
438 L337Switch = False | |
439 if State[12] == "True": | |
440 MD5Switch = True | |
441 else: | |
442 MD5Switch = False | |
443 if State[13] == "True": | |
444 NumberSwitch = True | |
445 else: | |
446 NumberSwitch = False | |
447 if State[14] == "True": | |
448 RegularSwitch = True | |
449 else: | |
450 RegularSwitch = False | |
451 if State[15] == "True": | |
452 SpecialSwitch = True | |
453 else: | |
454 SpecialSwitch = False | |
455 if State[16] == "True": | |
456 Letters = True | |
457 else: | |
458 Letters = False | |
459 if State[17] == "True": | |
460 Numbers = True | |
461 else: | |
462 Numbers = False | |
463 if State[18] == "True": | |
464 Specials = True | |
465 else: | |
466 Specials = False | |
467 if State[19] == "True": | |
468 wep5 = True | |
469 else: | |
470 wep5 = False | |
471 if State[20] == "True": | |
472 wep13 = True | |
473 else: | |
474 wep13 = False | |
475 | |
476 if StdoutSwitch is True: | |
477 option.cmd = "STDOUT PASSWORD ON" | |
478 | |
479 if option.Create is False and RestoreSwitch is False: | |
480 ShadowSwitch = option.DeShadow | |
481 if ShadowSwitch is True: | |
482 option.cmd = "splice3-deshadow PASSWORD '" + ShadowSalt + "' '" + ShadowValue + "'" | |
483 if option.cmd is None: | |
484 print "splice3: error: invalid usage" | |
485 sys.exit(1) | |
486 else: | |
487 option.cmd = option.cmd.replace('','eval ', 1) | |
488 | |
489 if option.Create is False and RestoreSwitch is False: | |
490 if option.cmd.__contains__("PASSWORD"): | |
491 pass | |
492 else: | |
493 print "splice3: error: -c does not contain regexp `PASSWORD'" | |
494 sys.exit(1) | |
495 | |
496 if option.usernames is not None and RestoreSwitch is False: | |
497 if option.cmd.__contains__("USERNAME"): | |
498 pass | |
499 else: | |
500 print "splice3: error: -c does not contain regexp `USERNAME'" | |
501 sys.exit(1) | |
502 | |
503 Create = option.Create | |
504 if Create is True: | |
505 print "Creating dictionary and exiting" | |
506 | |
507 if Create is False and option.cmd.__contains__("splice3-deshadow"): | |
508 test = "SHADOW CRACKED" | |
509 | |
510 | |
511 if AlphaSwitch is False and BWSwitch is False and CapsSwitch is False\ | |
512 and L337Switch is False and NumberSwitch is False and RegularSwitch is False\ | |
513 and SpecialSwitch is False and MixCustom is None and MD5Switch is False\ | |
514 and wep5 is False and wep13 is False: | |
515 print "splice3: error: no modules selected: ( -A -B -C -L -M -N -R -S, -ABCLMNRS, --wep-*)" | |
516 sys.exit(1) | |
517 | |
518 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",\ | |
519 "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",\ | |
520 "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]",\ | |
521 "`", "~", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",", ">", ".", "?", "/"] | |
522 | |
523 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",\ | |
524 "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",\ | |
525 "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ | |
526 "`", "~", ">", ".", "?", "/", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] | |
527 | |
528 CharSet2 = ["!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ | |
529 "`", "~", ">", ".", "?", "/", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] | |
530 | |
531 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",\ | |
532 "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",\ | |
533 "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ | |
534 "`", "~", ">", ".", "?", "/"] | |
535 | |
536 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",\ | |
537 "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",\ | |
538 "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] | |
539 | |
540 CharSet5 = ["!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "[", "]", "{", "}", "\\", "|", ";", ":", "\"", "'", "<", ",",\ | |
541 "`", "~", ">", ".", "?", "/"] | |
542 | |
543 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",\ | |
544 "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"] | |
545 | |
546 CharSet7 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] | |
547 | |
548 | |
549 if Letters == True and Numbers == True and Specials == True: | |
550 Characters = CharSet1 | |
551 elif Letters == False and Numbers == True and Specials == True: | |
552 Characters = CharSet2 | |
553 elif Letters == True and Numbers == False and Specials == True: | |
554 Characters = CharSet3 | |
555 elif Letters == True and Numbers == True and Specials == False: | |
556 Characters = CharSet4 | |
557 elif Letters == False and Numbers == False and Specials == True: | |
558 Characters = CharSet5 | |
559 elif Letters == True and Numbers == False and Specials == False: | |
560 Characters = CharSet6 | |
561 elif Letters == False and Numbers == True and Specials == False: | |
562 Characters = CharSet7 | |
563 else: | |
564 Characters = CharSet1 | |
565 | |
566 if Custom != "None" and RestoreSwitch is True: | |
567 if os.path.exists(Custom): | |
568 Characters = [] | |
569 UserCharacters = open(Custom, 'r') | |
570 for line in UserCharacters: | |
571 Characters.append(line.replace('\n', '')) | |
572 elif Custom is not None and RestoreSwitch is False: | |
573 if os.path.exists(Custom): | |
574 Characters = [] | |
575 UserCharacters = open(Custom, 'r') | |
576 for line in UserCharacters: | |
577 Characters.append(line.replace('\n', '')) | |
578 else: | |
579 print "splice3: error: --custom list does not exist" | |
580 sys.exit(1) | |
581 | |
582 EndCount = 0 | |
583 for CountChars in Characters: | |
584 EndCount += 1 | |
585 | |
586 Char1 = [] | |
587 for a in range(0, EndCount): | |
588 Char1.append(Characters[a]) | |
589 Char2 = [] | |
590 for a in range(0, EndCount): | |
591 Char2.append("\\\\\\" + Characters[a]) | |
592 | |
593 if AlphaSwitch == True and NumberSwitch == True and SpecialSwitch == True: | |
594 MixChars = CharSet1 | |
595 elif AlphaSwitch == False and NumberSwitch == True and SpecialSwitch == True: | |
596 MixChars = CharSet2 | |
597 elif AlphaSwitch == True and NumberSwitch == False and SpecialSwitch == True: | |
598 MixChars = CharSet3 | |
599 elif AlphaSwitch == True and NumberSwitch == True and SpecialSwitch == False: | |
600 MixChars = CharSet4 | |
601 elif AlphaSwitch == False and NumberSwitch == False and SpecialSwitch == True: | |
602 MixChars = CharSet5 | |
603 elif AlphaSwitch == True and NumberSwitch == False and SpecialSwitch == False: | |
604 MixChars = CharSet6 | |
605 elif AlphaSwitch == False and NumberSwitch == True and SpecialSwitch == False: | |
606 MixChars = CharSet7 | |
607 else: | |
608 MixChars = CharSet1 | |
609 | |
610 if MixCustom != "None" and RestoreSwitch is True: | |
611 if os.path.exists(MixCustom): | |
612 MixChars = [] | |
613 MixCharacters = open(MixCustom, 'r') | |
614 for line in MixCharacters: | |
615 MixChars.append(line.replace('\n', '')) | |
616 elif MixCustom is not None and RestoreSwitch is False: | |
617 if os.path.exists(MixCustom): | |
618 MixChars = [] | |
619 MixCharacters = open(MixCustom, 'r') | |
620 for line in MixCharacters: | |
621 MixChars.append(line.replace('\n', '')) | |
622 else: | |
623 print "splice3: error: -U list does not exist" | |
624 sys.exit(1) | |
625 | |
626 Word = [] | |
627 def REGULAR(): | |
628 ReadDictionary = open(dictionary, 'r') | |
629 for line in ReadDictionary: | |
630 Word.append(line.replace('\n', '')) | |
631 | |
632 def L337(): | |
633 ReadDictionary = open(dictionary, 'r') | |
634 for line in ReadDictionary: | |
635 line = line.replace("a", "4", 1) | |
636 Word.append(line.replace('\n', '')) | |
637 | |
638 ReadDictionary = open(dictionary, 'r') | |
639 for line in ReadDictionary: | |
640 line = line.replace("a", "4") | |
641 Word.append(line.replace('\n', '')) | |
642 | |
643 ReadDictionary = open(dictionary, 'r') | |
644 for line in ReadDictionary: | |
645 line = line.replace("a", "@", 1) | |
646 Word.append(line.replace('\n', '')) | |
647 | |
648 ReadDictionary = open(dictionary, 'r') | |
649 for line in ReadDictionary: | |
650 line = line.replace("a", "@") | |
651 Word.append(line.replace('\n', '')) | |
652 | |
653 ReadDictionary = open(dictionary, 'r') | |
654 for line in ReadDictionary: | |
655 line = line.replace("a", "^", 1) | |
656 Word.append(line.replace('\n', '')) | |
657 | |
658 ReadDictionary = open(dictionary, 'r') | |
659 for line in ReadDictionary: | |
660 line = line.replace("a", "^") | |
661 Word.append(line.replace('\n', '')) | |
662 | |
663 ReadDictionary = open(dictionary, 'r') | |
664 for line in ReadDictionary: | |
665 line = line.replace("b", "8", 1) | |
666 Word.append(line.replace('\n', '')) | |
667 | |
668 ReadDictionary = open(dictionary, 'r') | |
669 for line in ReadDictionary: | |
670 line = line.replace("b", "8") | |
671 Word.append(line.replace('\n', '')) | |
672 | |
673 ReadDictionary = open(dictionary, 'r') | |
674 for line in ReadDictionary: | |
675 line = line.replace("e", "3", 1) | |
676 Word.append(line.replace('\n', '')) | |
677 | |
678 ReadDictionary = open(dictionary, 'r') | |
679 for line in ReadDictionary: | |
680 line = line.replace("e", "3") | |
681 Word.append(line.replace('\n', '')) | |
682 | |
683 ReadDictionary = open(dictionary, 'r') | |
684 for line in ReadDictionary: | |
685 line = line.replace("f", "ph", 1) | |
686 Word.append(line.replace('\n', '')) | |
687 | |
688 ReadDictionary = open(dictionary, 'r') | |
689 for line in ReadDictionary: | |
690 line = line.replace("g", "6", 1) | |
691 Word.append(line.replace('\n', '')) | |
692 | |
693 ReadDictionary = open(dictionary, 'r') | |
694 for line in ReadDictionary: | |
695 line = line.replace("g", "6") | |
696 Word.append(line.replace('\n', '')) | |
697 | |
698 ReadDictionary = open(dictionary, 'r') | |
699 for line in ReadDictionary: | |
700 line = line.replace("g", "9", 1) | |
701 Word.append(line.replace('\n', '')) | |
702 | |
703 ReadDictionary = open(dictionary, 'r') | |
704 for line in ReadDictionary: | |
705 line = line.replace("g", "9") | |
706 Word.append(line.replace('\n', '')) | |
707 | |
708 ReadDictionary = open(dictionary, 'r') | |
709 for line in ReadDictionary: | |
710 line = line.replace("h", "#", 1) | |
711 Word.append(line.replace('\n', '')) | |
712 | |
713 ReadDictionary = open(dictionary, 'r') | |
714 for line in ReadDictionary: | |
715 line = line.replace("h", "#") | |
716 Word.append(line.replace('\n', '')) | |
717 | |
718 ReadDictionary = open(dictionary, 'r') | |
719 for line in ReadDictionary: | |
720 line = line.replace("i", "1", 1) | |
721 Word.append(line.replace('\n', '')) | |
722 | |
723 ReadDictionary = open(dictionary, 'r') | |
724 for line in ReadDictionary: | |
725 line = line.replace("i", "1") | |
726 Word.append(line.replace('\n', '')) | |
727 | |
728 ReadDictionary = open(dictionary, 'r') | |
729 for line in ReadDictionary: | |
730 line = line.replace("i", "!", 1) | |
731 Word.append(line.replace('\n', '')) | |
732 | |
733 ReadDictionary = open(dictionary, 'r') | |
734 for line in ReadDictionary: | |
735 line = line.replace("i", "!") | |
736 Word.append(line.replace('\n', '')) | |
737 | |
738 ReadDictionary = open(dictionary, 'r') | |
739 for line in ReadDictionary: | |
740 line = line.replace("i", "|", 1) | |
741 Word.append(line.replace('\n', '')) | |
742 | |
743 ReadDictionary = open(dictionary, 'r') | |
744 for line in ReadDictionary: | |
745 line = line.replace("i", "|") | |
746 Word.append(line.replace('\n', '')) | |
747 | |
748 ReadDictionary = open(dictionary, 'r') | |
749 for line in ReadDictionary: | |
750 line = line.replace("k", "X", 1) | |
751 Word.append(line.replace('\n', '')) | |
752 | |
753 ReadDictionary = open(dictionary, 'r') | |
754 for line in ReadDictionary: | |
755 line = line.replace("k", "X") | |
756 Word.append(line.replace('\n', '')) | |
757 | |
758 ReadDictionary = open(dictionary, 'r') | |
759 for line in ReadDictionary: | |
760 line = line.replace("l", "1", 1) | |
761 Word.append(line.replace('\n', '')) | |
762 | |
763 ReadDictionary = open(dictionary, 'r') | |
764 for line in ReadDictionary: | |
765 line = line.replace("l", "1") | |
766 Word.append(line.replace('\n', '')) | |
767 | |
768 ReadDictionary = open(dictionary, 'r') | |
769 for line in ReadDictionary: | |
770 line = line.replace("l", "|", 1) | |
771 Word.append(line.replace('\n', '')) | |
772 | |
773 ReadDictionary = open(dictionary, 'r') | |
774 for line in ReadDictionary: | |
775 line = line.replace("l", "|") | |
776 Word.append(line.replace('\n', '')) | |
777 | |
778 ReadDictionary = open(dictionary, 'r') | |
779 for line in ReadDictionary: | |
780 line = line.replace("o", "0", 1) | |
781 Word.append(line.replace('\n', '')) | |
782 | |
783 ReadDictionary = open(dictionary, 'r') | |
784 for line in ReadDictionary: | |
785 line = line.replace("o", "0") | |
786 Word.append(line.replace('\n', '')) | |
787 | |
788 ReadDictionary = open(dictionary, 'r') | |
789 for line in ReadDictionary: | |
790 line = line.replace("s", "5", 1) | |
791 Word.append(line.replace('\n', '')) | |
792 | |
793 ReadDictionary = open(dictionary, 'r') | |
794 for line in ReadDictionary: | |
795 line = line.replace("s", "5") | |
796 Word.append(line.replace('\n', '')) | |
797 | |
798 ReadDictionary = open(dictionary, 'r') | |
799 for line in ReadDictionary: | |
800 line = line.replace("s", "$", 1) | |
801 Word.append(line.replace('\n', '')) | |
802 | |
803 ReadDictionary = open(dictionary, 'r') | |
804 for line in ReadDictionary: | |
805 line = line.replace("s", "$") | |
806 Word.append(line.replace('\n', '')) | |
807 | |
808 ReadDictionary = open(dictionary, 'r') | |
809 for line in ReadDictionary: | |
810 line = line.replace("t", "7", 1) | |
811 Word.append(line.replace('\n', '')) | |
812 | |
813 ReadDictionary = open(dictionary, 'r') | |
814 for line in ReadDictionary: | |
815 line = line.replace("t", "7") | |
816 Word.append(line.replace('\n', '')) | |
817 | |
818 ReadDictionary = open(dictionary, 'r') | |
819 for line in ReadDictionary: | |
820 line = line.replace("t", "+", 1) | |
821 Word.append(line.replace('\n', '')) | |
822 | |
823 ReadDictionary = open(dictionary, 'r') | |
824 for line in ReadDictionary: | |
825 line = line.replace("t", "+") | |
826 Word.append(line.replace('\n', '')) | |
827 | |
828 ReadDictionary = open(dictionary, 'r') | |
829 for line in ReadDictionary: | |
830 line = line.replace("z", "2", 1) | |
831 Word.append(line.replace('\n', '')) | |
832 | |
833 ReadDictionary = open(dictionary, 'r') | |
834 for line in ReadDictionary: | |
835 line = line.replace("z", "2") | |
836 Word.append(line.replace('\n', '')) | |
837 | |
838 ReadDictionary = open(dictionary, 'r') | |
839 for line in ReadDictionary: | |
840 line = line.replace("a", "4") | |
841 line = line.replace("b", "8") | |
842 line = line.replace("e", "3") | |
843 line = line.replace("f", "ph", 1) | |
844 line = line.replace("g", "6") | |
845 line = line.replace("h", "#") | |
846 line = line.replace("i", "1") | |
847 line = line.replace("l", "|") | |
848 line = line.replace("k", "X") | |
849 line = line.replace("o", "0") | |
850 line = line.replace("s", "5") | |
851 line = line.replace("t", "7") | |
852 line = line.replace("z", "2") | |
853 Word.append(line.replace('\n', '')) | |
854 | |
855 ReadDictionary = open(dictionary, 'r') | |
856 for line in ReadDictionary: | |
857 line = line.replace("a", "^") | |
858 line = line.replace("b", "8") | |
859 line = line.replace("e", "3") | |
860 line = line.replace("f", "ph", 1) | |
861 line = line.replace("g", "6") | |
862 line = line.replace("h", "#") | |
863 line = line.replace("i", "1") | |
864 line = line.replace("l", "|") | |
865 line = line.replace("k", "X") | |
866 line = line.replace("o", "0") | |
867 line = line.replace("s", "5") | |
868 line = line.replace("t", "7") | |
869 line = line.replace("z", "2") | |
870 Word.append(line.replace('\n', '')) | |
871 | |
872 ReadDictionary = open(dictionary, 'r') | |
873 for line in ReadDictionary: | |
874 line = line.replace("a", "4") | |
875 line = line.replace("b", "8") | |
876 line = line.replace("e", "3") | |
877 line = line.replace("f", "ph", 1) | |
878 line = line.replace("g", "9") | |
879 line = line.replace("h", "#") | |
880 line = line.replace("i", "1") | |
881 line = line.replace("l", "|") | |
882 line = line.replace("k", "X") | |
883 line = line.replace("o", "0") | |
884 line = line.replace("s", "5") | |
885 line = line.replace("t", "7") | |
886 line = line.replace("z", "2") | |
887 Word.append(line.replace('\n', '')) | |
888 | |
889 ReadDictionary = open(dictionary, 'r') | |
890 for line in ReadDictionary: | |
891 line = line.replace("a", "^") | |
892 line = line.replace("b", "8") | |
893 line = line.replace("e", "3") | |
894 line = line.replace("f", "ph", 1) | |
895 line = line.replace("g", "9") | |
896 line = line.replace("h", "#") | |
897 line = line.replace("i", "1") | |
898 line = line.replace("l", "|") | |
899 line = line.replace("k", "X") | |
900 line = line.replace("o", "0") | |
901 line = line.replace("s", "5") | |
902 line = line.replace("t", "7") | |
903 line = line.replace("z", "2") | |
904 Word.append(line.replace('\n', '')) | |
905 | |
906 ReadDictionary = open(dictionary, 'r') | |
907 for line in ReadDictionary: | |
908 line = line.replace("a", "4") | |
909 line = line.replace("b", "8") | |
910 line = line.replace("e", "3") | |
911 line = line.replace("f", "ph", 1) | |
912 line = line.replace("g", "&") | |
913 line = line.replace("h", "#") | |
914 line = line.replace("i", "1") | |
915 line = line.replace("l", "|") | |
916 line = line.replace("k", "X") | |
917 line = line.replace("o", "0") | |
918 line = line.replace("s", "5") | |
919 line = line.replace("t", "7") | |
920 line = line.replace("z", "2") | |
921 Word.append(line.replace('\n', '')) | |
922 | |
923 ReadDictionary = open(dictionary, 'r') | |
924 for line in ReadDictionary: | |
925 line = line.replace("a", "^") | |
926 line = line.replace("b", "8") | |
927 line = line.replace("e", "3") | |
928 line = line.replace("f", "ph", 1) | |
929 line = line.replace("g", "&") | |
930 line = line.replace("h", "#") | |
931 line = line.replace("i", "1") | |
932 line = line.replace("l", "|") | |
933 line = line.replace("k", "X") | |
934 line = line.replace("o", "0") | |
935 line = line.replace("s", "5") | |
936 line = line.replace("t", "7") | |
937 line = line.replace("z", "2") | |
938 Word.append(line.replace('\n', '')) | |
939 | |
940 ReadDictionary = open(dictionary, 'r') | |
941 for line in ReadDictionary: | |
942 line = line.replace("a", "4") | |
943 line = line.replace("b", "8") | |
944 line = line.replace("e", "3") | |
945 line = line.replace("f", "ph", 1) | |
946 line = line.replace("g", "6") | |
947 line = line.replace("h", "#") | |
948 line = line.replace("i", "1") | |
949 line = line.replace("l", "|") | |
950 line = line.replace("k", "X") | |
951 line = line.replace("o", "0") | |
952 line = line.replace("s", "5") | |
953 line = line.replace("t", "7") | |
954 line = line.replace("z", "2") | |
955 Word.append(line.replace('\n', '')) | |
956 | |
957 ReadDictionary = open(dictionary, 'r') | |
958 for line in ReadDictionary: | |
959 line = line.replace("a", "^") | |
960 line = line.replace("b", "8") | |
961 line = line.replace("e", "3") | |
962 line = line.replace("f", "ph", 1) | |
963 line = line.replace("g", "6") | |
964 line = line.replace("h", "#") | |
965 line = line.replace("i", "1") | |
966 line = line.replace("l", "|") | |
967 line = line.replace("k", "X") | |
968 line = line.replace("o", "0") | |
969 line = line.replace("s", "5") | |
970 line = line.replace("t", "7") | |
971 line = line.replace("z", "2") | |
972 Word.append(line.replace('\n', '')) | |
973 | |
974 ReadDictionary = open(dictionary, 'r') | |
975 for line in ReadDictionary: | |
976 line = line.replace("a", "4") | |
977 line = line.replace("b", "8") | |
978 line = line.replace("e", "3") | |
979 line = line.replace("f", "ph", 1) | |
980 line = line.replace("g", "9") | |
981 line = line.replace("h", "#") | |
982 line = line.replace("i", "|") | |
983 line = line.replace("l", "1") | |
984 line = line.replace("k", "X") | |
985 line = line.replace("o", "0") | |
986 line = line.replace("s", "5") | |
987 line = line.replace("t", "7") | |
988 line = line.replace("z", "2") | |
989 Word.append(line.replace('\n', '')) | |
990 | |
991 ReadDictionary = open(dictionary, 'r') | |
992 for line in ReadDictionary: | |
993 line = line.replace("a", "^") | |
994 line = line.replace("b", "8") | |
995 line = line.replace("e", "3") | |
996 line = line.replace("f", "ph", 1) | |
997 line = line.replace("g", "9") | |
998 line = line.replace("h", "#") | |
999 line = line.replace("i", "|") | |
1000 line = line.replace("l", "1") | |
1001 line = line.replace("k", "X") | |
1002 line = line.replace("o", "0") | |
1003 line = line.replace("s", "5") | |
1004 line = line.replace("t", "7") | |
1005 line = line.replace("z", "2") | |
1006 Word.append(line.replace('\n', '')) | |
1007 | |
1008 ReadDictionary = open(dictionary, 'r') | |
1009 for line in ReadDictionary: | |
1010 line = line.replace("a", "4") | |
1011 line = line.replace("b", "8") | |
1012 line = line.replace("e", "3") | |
1013 line = line.replace("f", "ph", 1) | |
1014 line = line.replace("g", "&") | |
1015 line = line.replace("h", "#") | |
1016 line = line.replace("i", "|") | |
1017 line = line.replace("l", "1") | |
1018 line = line.replace("k", "X") | |
1019 line = line.replace("o", "0") | |
1020 line = line.replace("s", "5") | |
1021 line = line.replace("t", "7") | |
1022 line = line.replace("z", "2") | |
1023 Word.append(line.replace('\n', '')) | |
1024 | |
1025 ReadDictionary = open(dictionary, 'r') | |
1026 for line in ReadDictionary: | |
1027 line = line.replace("a", "^") | |
1028 line = line.replace("b", "8") | |
1029 line = line.replace("e", "3") | |
1030 line = line.replace("f", "ph", 1) | |
1031 line = line.replace("g", "&") | |
1032 line = line.replace("h", "#") | |
1033 line = line.replace("i", "|") | |
1034 line = line.replace("l", "1") | |
1035 line = line.replace("k", "X") | |
1036 line = line.replace("o", "0") | |
1037 line = line.replace("s", "5") | |
1038 line = line.replace("t", "7") | |
1039 line = line.replace("z", "2") | |
1040 Word.append(line.replace('\n', '')) | |
1041 | |
1042 def BW(): | |
1043 ReadDictionary = open(dictionary, 'r') | |
1044 for line in ReadDictionary: | |
1045 Word.append(line[::-1].replace('\n', '')) | |
1046 | |
1047 def CAPS(): | |
1048 ReadDictionary = open(dictionary, 'r') | |
1049 for line in ReadDictionary: | |
1050 line = line.replace('\n', '') | |
1051 up = 0 | |
1052 a = "" | |
1053 for let in line: | |
1054 if up == 0: | |
1055 a += let.upper() | |
1056 else: | |
1057 a += let | |
1058 up ^= 1 | |
1059 Word.append(a) | |
1060 | |
1061 ReadDictionary = open(dictionary, 'r') | |
1062 for line in ReadDictionary: | |
1063 line = line.replace('\n', '') | |
1064 up = 0 | |
1065 a = "" | |
1066 for let in line: | |
1067 if up == 1: | |
1068 a += let.upper() | |
1069 else: | |
1070 a += let | |
1071 up ^= 1 | |
1072 Word.append(a) | |
1073 | |
1074 ReadDictionary = open(dictionary, 'r') | |
1075 for line in ReadDictionary: | |
1076 line = line.replace('\n', '') | |
1077 up = 0 | |
1078 a = "" | |
1079 for let in line: | |
1080 if up <= 1: | |
1081 a += let.upper() | |
1082 up = up + 1 | |
1083 else: | |
1084 a += let | |
1085 up = up + 1 | |
1086 Word.append(a) | |
1087 | |
1088 ReadDictionary = open(dictionary, 'r') | |
1089 for line in ReadDictionary: | |
1090 line = line.replace('\n', '') | |
1091 up = 0 | |
1092 a = "" | |
1093 for let in line: | |
1094 if up <= 2: | |
1095 a += let.upper() | |
1096 up = up + 1 | |
1097 else: | |
1098 a += let | |
1099 up = up + 1 | |
1100 Word.append(a) | |
1101 | |
1102 | |
1103 ReadDictionary = open(dictionary, 'r') | |
1104 for line in ReadDictionary: | |
1105 line = line.replace('\n', '') | |
1106 a = 0 | |
1107 b = 1 | |
1108 c = "" | |
1109 for let in line: | |
1110 a = a + 1 | |
1111 for let in line: | |
1112 if a != b: | |
1113 b = b + 1 | |
1114 c += let | |
1115 else: | |
1116 c += let.upper() | |
1117 Word.append(c) | |
1118 | |
1119 ReadDictionary = open(dictionary, 'r') | |
1120 for line in ReadDictionary: | |
1121 line = line.replace('\n', '') | |
1122 a = 0 | |
1123 b = 1 | |
1124 c = "" | |
1125 for let in line: | |
1126 a = a + 1 | |
1127 a = a - 1 | |
1128 for let in line: | |
1129 if b < a: | |
1130 b = b + 1 | |
1131 c += let | |
1132 else: | |
1133 c += let.upper() | |
1134 Word.append(c) | |
1135 | |
1136 ReadDictionary = open(dictionary, 'r') | |
1137 for line in ReadDictionary: | |
1138 line = line.replace("a", "A", 1) | |
1139 if line.__contains__("A"): | |
1140 Word.append(line.replace('\n', '')) | |
1141 | |
1142 ReadDictionary = open(dictionary, 'r') | |
1143 for line in ReadDictionary: | |
1144 line = line.replace("a", "A") | |
1145 if line.__contains__("A"): | |
1146 Word.append(line.replace('\n', '')) | |
1147 | |
1148 ReadDictionary = open(dictionary, 'r') | |
1149 for line in ReadDictionary: | |
1150 line = line.replace("b", "B", 1) | |
1151 if line.__contains__("B"): | |
1152 Word.append(line.replace('\n', '')) | |
1153 | |
1154 ReadDictionary = open(dictionary, 'r') | |
1155 for line in ReadDictionary: | |
1156 line = line.replace("b", "B") | |
1157 if line.__contains__("B"): | |
1158 Word.append(line.replace('\n', '')) | |
1159 | |
1160 ReadDictionary = open(dictionary, 'r') | |
1161 for line in ReadDictionary: | |
1162 line = line.replace("c", "C", 1) | |
1163 if line.__contains__("C"): | |
1164 Word.append(line.replace('\n', '')) | |
1165 | |
1166 ReadDictionary = open(dictionary, 'r') | |
1167 for line in ReadDictionary: | |
1168 line = line.replace("c", "C") | |
1169 if line.__contains__("C"): | |
1170 Word.append(line.replace('\n', '')) | |
1171 | |
1172 ReadDictionary = open(dictionary, 'r') | |
1173 for line in ReadDictionary: | |
1174 line = line.replace("d", "D", 1) | |
1175 if line.__contains__("D"): | |
1176 Word.append(line.replace('\n', '')) | |
1177 | |
1178 ReadDictionary = open(dictionary, 'r') | |
1179 for line in ReadDictionary: | |
1180 line = line.replace("d", "D") | |
1181 if line.__contains__("D"): | |
1182 Word.append(line.replace('\n', '')) | |
1183 | |
1184 ReadDictionary = open(dictionary, 'r') | |
1185 for line in ReadDictionary: | |
1186 line = line.replace("e", "E", 1) | |
1187 if line.__contains__("E"): | |
1188 Word.append(line.replace('\n', '')) | |
1189 | |
1190 ReadDictionary = open(dictionary, 'r') | |
1191 for line in ReadDictionary: | |
1192 line = line.replace("e", "E") | |
1193 if line.__contains__("E"): | |
1194 Word.append(line.replace('\n', '')) | |
1195 | |
1196 ReadDictionary = open(dictionary, 'r') | |
1197 for line in ReadDictionary: | |
1198 line = line.replace("f", "F", 1) | |
1199 if line.__contains__("F"): | |
1200 Word.append(line.replace('\n', '')) | |
1201 | |
1202 ReadDictionary = open(dictionary, 'r') | |
1203 for line in ReadDictionary: | |
1204 line = line.replace("f", "F") | |
1205 if line.__contains__("F"): | |
1206 Word.append(line.replace('\n', '')) | |
1207 | |
1208 ReadDictionary = open(dictionary, 'r') | |
1209 for line in ReadDictionary: | |
1210 line = line.replace("g", "G", 1) | |
1211 if line.__contains__("G"): | |
1212 Word.append(line.replace('\n', '')) | |
1213 | |
1214 ReadDictionary = open(dictionary, 'r') | |
1215 for line in ReadDictionary: | |
1216 line = line.replace("g", "G") | |
1217 if line.__contains__("G"): | |
1218 Word.append(line.replace('\n', '')) | |
1219 | |
1220 ReadDictionary = open(dictionary, 'r') | |
1221 for line in ReadDictionary: | |
1222 line = line.replace("h", "H", 1) | |
1223 if line.__contains__("H"): | |
1224 Word.append(line.replace('\n', '')) | |
1225 | |
1226 ReadDictionary = open(dictionary, 'r') | |
1227 for line in ReadDictionary: | |
1228 line = line.replace("h", "H") | |
1229 if line.__contains__("H"): | |
1230 Word.append(line.replace('\n', '')) | |
1231 | |
1232 ReadDictionary = open(dictionary, 'r') | |
1233 for line in ReadDictionary: | |
1234 line = line.replace("i", "I", 1) | |
1235 if line.__contains__("I"): | |
1236 Word.append(line.replace('\n', '')) | |
1237 | |
1238 ReadDictionary = open(dictionary, 'r') | |
1239 for line in ReadDictionary: | |
1240 line = line.replace("i", "I") | |
1241 if line.__contains__("I"): | |
1242 Word.append(line.replace('\n', '')) | |
1243 | |
1244 ReadDictionary = open(dictionary, 'r') | |
1245 for line in ReadDictionary: | |
1246 line = line.replace("j", "J", 1) | |
1247 if line.__contains__("J"): | |
1248 Word.append(line.replace('\n', '')) | |
1249 | |
1250 ReadDictionary = open(dictionary, 'r') | |
1251 for line in ReadDictionary: | |
1252 line = line.replace("j", "J") | |
1253 if line.__contains__("J"): | |
1254 Word.append(line.replace('\n', '')) | |
1255 | |
1256 ReadDictionary = open(dictionary, 'r') | |
1257 for line in ReadDictionary: | |
1258 line = line.replace("k", "K", 1) | |
1259 if line.__contains__("K"): | |
1260 Word.append(line.replace('\n', '')) | |
1261 | |
1262 ReadDictionary = open(dictionary, 'r') | |
1263 for line in ReadDictionary: | |
1264 line = line.replace("k", "K") | |
1265 if line.__contains__("K"): | |
1266 Word.append(line.replace('\n', '')) | |
1267 | |
1268 ReadDictionary = open(dictionary, 'r') | |
1269 for line in ReadDictionary: | |
1270 line = line.replace("l", "L", 1) | |
1271 if line.__contains__("L"): | |
1272 Word.append(line.replace('\n', '')) | |
1273 | |
1274 ReadDictionary = open(dictionary, 'r') | |
1275 for line in ReadDictionary: | |
1276 line = line.replace("l", "L") | |
1277 if line.__contains__("L"): | |
1278 Word.append(line.replace('\n', '')) | |
1279 | |
1280 ReadDictionary = open(dictionary, 'r') | |
1281 for line in ReadDictionary: | |
1282 line = line.replace("m", "M", 1) | |
1283 if line.__contains__("M"): | |
1284 Word.append(line.replace('\n', '')) | |
1285 | |
1286 ReadDictionary = open(dictionary, 'r') | |
1287 for line in ReadDictionary: | |
1288 line = line.replace("m", "M") | |
1289 if line.__contains__("M"): | |
1290 Word.append(line.replace('\n', '')) | |
1291 | |
1292 ReadDictionary = open(dictionary, 'r') | |
1293 for line in ReadDictionary: | |
1294 line = line.replace("n", "N", 1) | |
1295 if line.__contains__("N"): | |
1296 Word.append(line.replace('\n', '')) | |
1297 | |
1298 ReadDictionary = open(dictionary, 'r') | |
1299 for line in ReadDictionary: | |
1300 line = line.replace("n", "N") | |
1301 if line.__contains__("N"): | |
1302 Word.append(line.replace('\n', '')) | |
1303 | |
1304 ReadDictionary = open(dictionary, 'r') | |
1305 for line in ReadDictionary: | |
1306 line = line.replace("o", "O", 1) | |
1307 if line.__contains__("O"): | |
1308 Word.append(line.replace('\n', '')) | |
1309 | |
1310 ReadDictionary = open(dictionary, 'r') | |
1311 for line in ReadDictionary: | |
1312 line = line.replace("o", "O") | |
1313 if line.__contains__("O"): | |
1314 Word.append(line.replace('\n', '')) | |
1315 | |
1316 ReadDictionary = open(dictionary, 'r') | |
1317 for line in ReadDictionary: | |
1318 line = line.replace("p", "P", 1) | |
1319 if line.__contains__("P"): | |
1320 Word.append(line.replace('\n', '')) | |
1321 | |
1322 ReadDictionary = open(dictionary, 'r') | |
1323 for line in ReadDictionary: | |
1324 line = line.replace("p", "P") | |
1325 if line.__contains__("P"): | |
1326 Word.append(line.replace('\n', '')) | |
1327 | |
1328 ReadDictionary = open(dictionary, 'r') | |
1329 for line in ReadDictionary: | |
1330 line = line.replace("q", "Q", 1) | |
1331 if line.__contains__("Q"): | |
1332 Word.append(line.replace('\n', '')) | |
1333 | |
1334 ReadDictionary = open(dictionary, 'r') | |
1335 for line in ReadDictionary: | |
1336 line = line.replace("q", "Q") | |
1337 if line.__contains__("Q"): | |
1338 Word.append(line.replace('\n', '')) | |
1339 | |
1340 ReadDictionary = open(dictionary, 'r') | |
1341 for line in ReadDictionary: | |
1342 line = line.replace("r", "R", 1) | |
1343 if line.__contains__("R"): | |
1344 Word.append(line.replace('\n', '')) | |
1345 | |
1346 ReadDictionary = open(dictionary, 'r') | |
1347 for line in ReadDictionary: | |
1348 line = line.replace("r", "R") | |
1349 if line.__contains__("R"): | |
1350 Word.append(line.replace('\n', '')) | |
1351 | |
1352 ReadDictionary = open(dictionary, 'r') | |
1353 for line in ReadDictionary: | |
1354 line = line.replace("s", "S", 1) | |
1355 if line.__contains__("S"): | |
1356 Word.append(line.replace('\n', '')) | |
1357 | |
1358 ReadDictionary = open(dictionary, 'r') | |
1359 for line in ReadDictionary: | |
1360 line = line.replace("s", "S") | |
1361 if line.__contains__("S"): | |
1362 Word.append(line.replace('\n', '')) | |
1363 | |
1364 ReadDictionary = open(dictionary, 'r') | |
1365 for line in ReadDictionary: | |
1366 line = line.replace("t", "T", 1) | |
1367 if line.__contains__("T"): | |
1368 Word.append(line.replace('\n', '')) | |
1369 | |
1370 ReadDictionary = open(dictionary, 'r') | |
1371 for line in ReadDictionary: | |
1372 line = line.replace("t", "T") | |
1373 if line.__contains__("T"): | |
1374 Word.append(line.replace('\n', '')) | |
1375 | |
1376 ReadDictionary = open(dictionary, 'r') | |
1377 for line in ReadDictionary: | |
1378 line = line.replace("u", "U", 1) | |
1379 if line.__contains__("U"): | |
1380 Word.append(line.replace('\n', '')) | |
1381 | |
1382 ReadDictionary = open(dictionary, 'r') | |
1383 for line in ReadDictionary: | |
1384 line = line.replace("u", "U") | |
1385 if line.__contains__("U"): | |
1386 Word.append(line.replace('\n', '')) | |
1387 | |
1388 ReadDictionary = open(dictionary, 'r') | |
1389 for line in ReadDictionary: | |
1390 line = line.replace("v", "V", 1) | |
1391 if line.__contains__("V"): | |
1392 Word.append(line.replace('\n', '')) | |
1393 | |
1394 ReadDictionary = open(dictionary, 'r') | |
1395 for line in ReadDictionary: | |
1396 line = line.replace("v", "V") | |
1397 if line.__contains__("V"): | |
1398 Word.append(line.replace('\n', '')) | |
1399 | |
1400 ReadDictionary = open(dictionary, 'r') | |
1401 for line in ReadDictionary: | |
1402 line = line.replace("w", "W", 1) | |
1403 if line.__contains__("W"): | |
1404 Word.append(line.replace('\n', '')) | |
1405 | |
1406 ReadDictionary = open(dictionary, 'r') | |
1407 for line in ReadDictionary: | |
1408 line = line.replace("w", "W") | |
1409 if line.__contains__("W"): | |
1410 Word.append(line.replace('\n', '')) | |
1411 | |
1412 ReadDictionary = open(dictionary, 'r') | |
1413 for line in ReadDictionary: | |
1414 line = line.replace("x", "X", 1) | |
1415 if line.__contains__("X"): | |
1416 Word.append(line.replace('\n', '')) | |
1417 | |
1418 ReadDictionary = open(dictionary, 'r') | |
1419 for line in ReadDictionary: | |
1420 line = line.replace("x", "X") | |
1421 if line.__contains__("X"): | |
1422 Word.append(line.replace('\n', '')) | |
1423 | |
1424 ReadDictionary = open(dictionary, 'r') | |
1425 for line in ReadDictionary: | |
1426 line = line.replace("y", "Y", 1) | |
1427 if line.__contains__("Y"): | |
1428 Word.append(line.replace('\n', '')) | |
1429 | |
1430 ReadDictionary = open(dictionary, 'r') | |
1431 for line in ReadDictionary: | |
1432 line = line.replace("y", "Y") | |
1433 if line.__contains__("Y"): | |
1434 Word.append(line.replace('\n', '')) | |
1435 | |
1436 ReadDictionary = open(dictionary, 'r') | |
1437 for line in ReadDictionary: | |
1438 line = line.replace("z", "Z", 1) | |
1439 if line.__contains__("Z"): | |
1440 Word.append(line.replace('\n', '')) | |
1441 | |
1442 ReadDictionary = open(dictionary, 'r') | |
1443 for line in ReadDictionary: | |
1444 line = line.replace("z", "Z") | |
1445 if line.__contains__("Z"): | |
1446 Word.append(line.replace('\n', '')) | |
1447 | |
1448 def MIX(): | |
1449 for Input in MixChars: | |
1450 ReadDictionary = open(dictionary, 'r') | |
1451 for line in ReadDictionary: | |
1452 line = line.replace('\n', '') | |
1453 up = 0 | |
1454 a = "" | |
1455 for let in line: | |
1456 if up <= 1: | |
1457 a += let + Input | |
1458 up = up + 1 | |
1459 else: | |
1460 a += let | |
1461 up = up + 1 | |
1462 Word.append(a) | |
1463 | |
1464 for Input in MixChars: | |
1465 for Input2 in MixChars: | |
1466 ReadDictionary = open(dictionary, 'r') | |
1467 for line in ReadDictionary: | |
1468 line = line.replace('\n', '') | |
1469 up = 0 | |
1470 a = "" | |
1471 for let in line: | |
1472 if up == 1: | |
1473 a += Input + let + Input2 | |
1474 up = up + 1 | |
1475 else: | |
1476 a += let | |
1477 up = up + 1 | |
1478 Word.append(a) | |
1479 | |
1480 for Input in MixChars: | |
1481 ReadDictionary = open(dictionary, 'r') | |
1482 for line in ReadDictionary: | |
1483 line = line.replace('\n', '') | |
1484 a = 0 | |
1485 b = 1 | |
1486 c = "" | |
1487 for let in line: | |
1488 a = a + 1 | |
1489 for let in line: | |
1490 if a != b: | |
1491 b = b + 1 | |
1492 c += let | |
1493 else: | |
1494 c += Input + let | |
1495 Word.append(c) | |
1496 | |
1497 for Input in MixChars: | |
1498 for Input2 in MixChars: | |
1499 ReadDictionary = open(dictionary, 'r') | |
1500 for line in ReadDictionary: | |
1501 line = line.replace('\n', '') | |
1502 a = 0 | |
1503 b = 0 | |
1504 c = "" | |
1505 for let in line: | |
1506 a = a + 1 | |
1507 a = a - 2 | |
1508 for let in line: | |
1509 if b == a: | |
1510 b = b + 1 | |
1511 c += Input + let + Input2 | |
1512 else: | |
1513 c += let | |
1514 b = b + 1 | |
1515 Word.append(c) | |
1516 | |
1517 def MD5(): | |
1518 ReadDictionary = open(dictionary, 'r') | |
1519 for line in ReadDictionary: | |
1520 Word.append(md5(line.replace('\n', '')).hexdigest()) | |
1521 | |
1522 def WEP5(): | |
1523 ReadDictionary = open(dictionary, 'r') | |
1524 for line in ReadDictionary: | |
1525 i = 0 | |
1526 for let in line: | |
1527 i += 1 | |
1528 i -= 1 | |
1529 if i == 5: | |
1530 line = line.encode('hex') | |
1531 line = line.replace('\n', '') | |
1532 Word.append(line.replace('0a', '')) | |
1533 | |
1534 def WEP13(): | |
1535 ReadDictionary = open(dictionary, 'r') | |
1536 for line in ReadDictionary: | |
1537 i = 0 | |
1538 for let in line: | |
1539 i += 1 | |
1540 i -= 1 | |
1541 if i == 13: | |
1542 line = line.encode('hex') | |
1543 line = line.replace('\n', '') | |
1544 Word.append(line.replace('0a', '')) | |
1545 | |
1546 | |
1547 def SOCEN(): | |
1548 ReadDictionary = open(dictionary, 'r') | |
1549 for line in ReadDictionary: | |
1550 socen_words.append(line.replace('\n', '')) | |
1551 | |
1552 socen = [] | |
1553 socen_a = [] | |
1554 for i in socen_words: | |
1555 for let in i: | |
1556 try: | |
1557 let += 1 | |
1558 break | |
1559 except: | |
1560 socen_a.append(let) | |
1561 break | |
1562 | |
1563 for a in socen_a: | |
1564 socen_words.append(a) | |
1565 | |
1566 for a in socen_words: | |
1567 x = 0 | |
1568 for let in a: | |
1569 x += 1 | |
1570 if x > 1: | |
1571 socen.append(a) | |
1572 | |
1573 for a in socen_words: | |
1574 for b in socen_words: | |
1575 x = 0 | |
1576 for let in a: | |
1577 x += 1 | |
1578 n = 0 | |
1579 for let in b: | |
1580 n += 1 | |
1581 if x > 1 or n > 1 and a != b: | |
1582 socen.append(a + b) | |
1583 | |
1584 for a in socen_words: | |
1585 for b in socen_words: | |
1586 for c in socen_words: | |
1587 if a != b and a != c and b != c: | |
1588 socen.append(a + b + c) | |
1589 | |
1590 SEFILE = open("splice3.se", 'w') | |
1591 for i in socen: | |
1592 SEFILE.write(i + "\n") | |
1593 SEFILE.close() | |
1594 | |
1595 | |
1596 | |
1597 if SESwitch is True: | |
1598 socen_words = [] | |
1599 SOCEN() | |
1600 dictionary = 'splice3.se' | |
1601 if RegularSwitch is True: | |
1602 REGULAR() | |
1603 if BWSwitch is True: | |
1604 BW() | |
1605 if CapsSwitch is True: | |
1606 CAPS() | |
1607 if L337Switch is True: | |
1608 L337() | |
1609 if MD5Switch is True: | |
1610 MD5() | |
1611 if wep5 is True: | |
1612 WEP5() | |
1613 if wep13 is True: | |
1614 WEP13() | |
1615 | |
1616 | |
1617 DoMix = False | |
1618 if AlphaSwitch is True: | |
1619 DoMix = True | |
1620 if NumberSwitch is True: | |
1621 DoMix = True | |
1622 if SpecialSwitch is True: | |
1623 DoMix = True | |
1624 if MixCustom != None and MixCustom != "None": | |
1625 DoMix = True | |
1626 if DoMix is True: | |
1627 MIX() | |
1628 | |
1629 User = [] | |
1630 if UserSwitch == True: | |
1631 UserCount = 0 | |
1632 ReadUsernames = open(usernames, 'r') | |
1633 for line in ReadUsernames: | |
1634 User.append(line.replace('\n', '')) | |
1635 UserCount += 1 | |
1636 else: | |
1637 User.append("") | |
1638 UserCount = 1 | |
1639 | |
1640 Word = list(set(Word)) | |
1641 WordCount = 0 | |
1642 ShowWord = [] | |
1643 PassWd = [] | |
1644 for Input in Word: | |
1645 ShowWord.append(Input) | |
1646 c = "" | |
1647 for let in Input: | |
1648 c += "\\\\\\" + let | |
1649 PassWd.append(c) | |
1650 | |
1651 | |
1652 if TIME != None: | |
1653 try: | |
1654 TIME = TIME.split(", ") | |
1655 sleep_now = int(TIME[0]) | |
1656 sleep_for = int(TIME[1]) | |
1657 | |
1658 except: | |
1659 print "splice3: error: invalid --time arguments" | |
1660 sys.exit(1) | |
1661 | |
1662 else: | |
1663 sleep_now = 0 | |
1664 sleep_for = 0 | |
1665 | |
1666 def BF1(): | |
1667 WordCount = 0 | |
1668 for CountWords in ShowWord: | |
1669 WordCount += 1 | |
1670 StartTime = time.time() | |
1671 StartTime = StartTime - 1 | |
1672 PassAmount = 0 | |
1673 timeup = 0 | |
1674 for u in range(StateU, UserCount): | |
1675 for x in range(StateW, WordCount): | |
1676 if SaveSwitch is True: | |
1677 WriteSave = [] | |
1678 FILE = open(save, 'w') | |
1679 WriteSave.append(str(option.cmd)) | |
1680 WriteSave.append(str(dictionary)) | |
1681 WriteSave.append(str(MixCustom)) | |
1682 WriteSave.append(str(Custom)) | |
1683 WriteSave.append(str(ExhSwitch)) | |
1684 WriteSave.append(str(StdoutSwitch)) | |
1685 WriteSave.append(str(usernames)) | |
1686 WriteSave.append(str(UserSwitch)) | |
1687 WriteSave.append(str(AlphaSwitch)) | |
1688 WriteSave.append(str(BWSwitch)) | |
1689 WriteSave.append(str(CapsSwitch)) | |
1690 WriteSave.append(str(L337Switch)) | |
1691 WriteSave.append(str(MD5Switch)) | |
1692 WriteSave.append(str(NumberSwitch)) | |
1693 WriteSave.append(str(RegularSwitch)) | |
1694 WriteSave.append(str(SpecialSwitch)) | |
1695 WriteSave.append(str(Letters)) | |
1696 WriteSave.append(str(Numbers)) | |
1697 WriteSave.append(str(Specials)) | |
1698 WriteSave.append(str(u)) | |
1699 WriteSave.append(str(x)) | |
1700 for WriteStates in WriteSave: | |
1701 FILE.write(WriteStates + "\n") | |
1702 FILE.close() | |
1703 PassAmount += 1 | |
1704 Timer = int(round(float(time.time() - StartTime))) | |
1705 Speed = PassAmount / Timer | |
1706 NewShowWord = ShowWord[x] | |
1707 NewPassWd = PassWd[x] | |
1708 timeup += 1 | |
1709 if timeup == sleep_now: | |
1710 time.sleep(sleep_for) | |
1711 timeup = 0 | |
1712 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1713 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1714 output = cmd.read() | |
1715 if test == None: | |
1716 print output | |
1717 elif output.__contains__(test): | |
1718 print "[PASSWORD FOUND]: ", NewShowWord | |
1719 sys.exit(0) | |
1720 else: | |
1721 print output | |
1722 | |
1723 def BF2(): | |
1724 if option.NoChar is True: | |
1725 sys.exit('splice3: unable to find password') | |
1726 WordCount = 0 | |
1727 for CountWords in ShowWord: | |
1728 WordCount += 1 | |
1729 StartTime = time.time() | |
1730 StartTime = StartTime - 1 | |
1731 PassAmount = 0 | |
1732 timeup = 0 | |
1733 for u in range(StateU, UserCount): | |
1734 for a in range(StateA, EndCount): | |
1735 for x in range(StateW, WordCount): | |
1736 if SaveSwitch is True: | |
1737 WriteSave = [] | |
1738 FILE = open(save, 'w') | |
1739 WriteSave.append(str(option.cmd)) | |
1740 WriteSave.append(str(dictionary)) | |
1741 WriteSave.append(str(MixCustom)) | |
1742 WriteSave.append(str(Custom)) | |
1743 WriteSave.append(str(ExhSwitch)) | |
1744 WriteSave.append(str(StdoutSwitch)) | |
1745 WriteSave.append(str(usernames)) | |
1746 WriteSave.append(str(UserSwitch)) | |
1747 WriteSave.append(str(AlphaSwitch)) | |
1748 WriteSave.append(str(BWSwitch)) | |
1749 WriteSave.append(str(CapsSwitch)) | |
1750 WriteSave.append(str(L337Switch)) | |
1751 WriteSave.append(str(MD5Switch)) | |
1752 WriteSave.append(str(NumberSwitch)) | |
1753 WriteSave.append(str(RegularSwitch)) | |
1754 WriteSave.append(str(SpecialSwitch)) | |
1755 WriteSave.append(str(Letters)) | |
1756 WriteSave.append(str(Numbers)) | |
1757 WriteSave.append(str(Specials)) | |
1758 WriteSave.append(str(u)) | |
1759 WriteSave.append(str(x)) | |
1760 WriteSave.append(str(a)) | |
1761 for WriteStates in WriteSave: | |
1762 FILE.write(WriteStates + "\n") | |
1763 FILE.close() | |
1764 PassAmount += 1 | |
1765 Timer = int(round(float(time.time() - StartTime))) | |
1766 Speed = PassAmount / Timer | |
1767 NewShowWord = Char1[a] + ShowWord[x] | |
1768 NewPassWd = Char2[a] + PassWd[x] | |
1769 timeup += 1 | |
1770 if timeup == sleep_now: | |
1771 time.sleep(sleep_for) | |
1772 timeup = 0 | |
1773 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1774 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1775 output = cmd.read() | |
1776 if test == None: | |
1777 print output | |
1778 elif output.__contains__(test): | |
1779 print "[PASSWORD FOUND]: ", NewShowWord | |
1780 sys.exit(0) | |
1781 else: | |
1782 print output | |
1783 | |
1784 if ExhSwitch is False: | |
1785 PassAmount += 1 | |
1786 Timer = int(round(float(time.time() - StartTime))) | |
1787 Speed = PassAmount / Timer | |
1788 NewShowWord = ShowWord[x] + Char1[a] | |
1789 NewPassWd = PassWd[x] + Char2[a] | |
1790 timeup += 1 | |
1791 if timeup == sleep_now: | |
1792 time.sleep(sleep_for) | |
1793 timeup = 0 | |
1794 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1795 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1796 output = cmd.read() | |
1797 if test == None: | |
1798 print output | |
1799 elif output.__contains__(test): | |
1800 print "[PASSWORD FOUND]: ", NewShowWord | |
1801 sys.exit(0) | |
1802 else: | |
1803 print output | |
1804 | |
1805 def BF3(): | |
1806 if option.NoChar is True: | |
1807 sys.exit('splice3: unable to find password') | |
1808 WordCount = 0 | |
1809 for CountWords in ShowWord: | |
1810 WordCount += 1 | |
1811 StartTime = time.time() | |
1812 StartTime = StartTime - 1 | |
1813 PassAmount = 0 | |
1814 timeup = 0 | |
1815 for u in range(StateU, UserCount): | |
1816 for a in range(StateA, EndCount): | |
1817 for b in range(StateB, EndCount): | |
1818 for x in range(StateW, WordCount): | |
1819 if SaveSwitch is True: | |
1820 WriteSave = [] | |
1821 FILE = open(save, 'w') | |
1822 WriteSave.append(str(option.cmd)) | |
1823 WriteSave.append(str(dictionary)) | |
1824 WriteSave.append(str(MixCustom)) | |
1825 WriteSave.append(str(Custom)) | |
1826 WriteSave.append(str(ExhSwitch)) | |
1827 WriteSave.append(str(StdoutSwitch)) | |
1828 WriteSave.append(str(usernames)) | |
1829 WriteSave.append(str(UserSwitch)) | |
1830 WriteSave.append(str(AlphaSwitch)) | |
1831 WriteSave.append(str(BWSwitch)) | |
1832 WriteSave.append(str(CapsSwitch)) | |
1833 WriteSave.append(str(L337Switch)) | |
1834 WriteSave.append(str(MD5Switch)) | |
1835 WriteSave.append(str(NumberSwitch)) | |
1836 WriteSave.append(str(RegularSwitch)) | |
1837 WriteSave.append(str(SpecialSwitch)) | |
1838 WriteSave.append(str(Letters)) | |
1839 WriteSave.append(str(Numbers)) | |
1840 WriteSave.append(str(Specials)) | |
1841 WriteSave.append(str(u)) | |
1842 WriteSave.append(str(x)) | |
1843 WriteSave.append(str(a)) | |
1844 WriteSave.append(str(b)) | |
1845 for WriteStates in WriteSave: | |
1846 FILE.write(WriteStates + "\n") | |
1847 FILE.close() | |
1848 PassAmount += 1 | |
1849 Timer = int(round(float(time.time() - StartTime))) | |
1850 Speed = PassAmount / Timer | |
1851 NewShowWord = Char1[a] + ShowWord[x] + Char1[b] | |
1852 NewPassWd = Char2[a] + PassWd[x] + Char2[b] | |
1853 timeup += 1 | |
1854 if timeup == sleep_now: | |
1855 time.sleep(sleep_for) | |
1856 timeup = 0 | |
1857 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1858 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1859 output = cmd.read() | |
1860 if test == None: | |
1861 print output | |
1862 elif output.__contains__(test): | |
1863 print "[PASSWORD FOUND]: ", NewShowWord | |
1864 sys.exit(0) | |
1865 else: | |
1866 print output | |
1867 | |
1868 if ExhSwitch is False: | |
1869 PassAmount += 1 | |
1870 Timer = int(round(float(time.time() - StartTime))) | |
1871 Speed = PassAmount / Timer | |
1872 NewShowWord = Char1[a] + Char1[b] + ShowWord[x] | |
1873 NewPassWd = Char2[a] + Char2[b] + PassWd[x] | |
1874 timeup += 1 | |
1875 if timeup == sleep_now: | |
1876 time.sleep(sleep_for) | |
1877 timeup = 0 | |
1878 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1879 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1880 output = cmd.read() | |
1881 if test == None: | |
1882 print output | |
1883 elif output.__contains__(test): | |
1884 print "[PASSWORD FOUND]: ", NewShowWord | |
1885 sys.exit(0) | |
1886 else: | |
1887 print output | |
1888 | |
1889 PassAmount += 1 | |
1890 Timer = int(round(float(time.time() - StartTime))) | |
1891 Speed = PassAmount / Timer | |
1892 NewShowWord = ShowWord[x] + Char1[b] + Char1[a] | |
1893 NewPassWd = PassWd[x] + Char2[b] + Char2[a] | |
1894 timeup += 1 | |
1895 if timeup == sleep_now: | |
1896 time.sleep(sleep_for) | |
1897 timeup = 0 | |
1898 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1899 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1900 output = cmd.read() | |
1901 if test == None: | |
1902 print output | |
1903 elif output.__contains__(test): | |
1904 print "[PASSWORD FOUND]: ", NewShowWord | |
1905 sys.exit(0) | |
1906 else: | |
1907 print output | |
1908 | |
1909 def BF4(): | |
1910 if option.NoChar is True: | |
1911 sys.exit('splice3: unable to find password') | |
1912 WordCount = 0 | |
1913 for CountWords in ShowWord: | |
1914 WordCount += 1 | |
1915 StartTime = time.time() | |
1916 StartTime = StartTime - 1 | |
1917 PassAmount = 0 | |
1918 timeup = 0 | |
1919 for u in range(StateU, UserCount): | |
1920 for a in range(StateA, EndCount): | |
1921 for b in range(StateB, EndCount): | |
1922 for c in range(StateC, EndCount): | |
1923 for x in range(StateW, WordCount): | |
1924 if SaveSwitch is True: | |
1925 WriteSave = [] | |
1926 FILE = open(save, 'w') | |
1927 WriteSave.append(str(option.cmd)) | |
1928 WriteSave.append(str(dictionary)) | |
1929 WriteSave.append(str(MixCustom)) | |
1930 WriteSave.append(str(Custom)) | |
1931 WriteSave.append(str(ExhSwitch)) | |
1932 WriteSave.append(str(StdoutSwitch)) | |
1933 WriteSave.append(str(usernames)) | |
1934 WriteSave.append(str(UserSwitch)) | |
1935 WriteSave.append(str(AlphaSwitch)) | |
1936 WriteSave.append(str(BWSwitch)) | |
1937 WriteSave.append(str(CapsSwitch)) | |
1938 WriteSave.append(str(L337Switch)) | |
1939 WriteSave.append(str(MD5Switch)) | |
1940 WriteSave.append(str(NumberSwitch)) | |
1941 WriteSave.append(str(RegularSwitch)) | |
1942 WriteSave.append(str(SpecialSwitch)) | |
1943 WriteSave.append(str(Letters)) | |
1944 WriteSave.append(str(Numbers)) | |
1945 WriteSave.append(str(Specials)) | |
1946 WriteSave.append(str(u)) | |
1947 WriteSave.append(str(x)) | |
1948 WriteSave.append(str(a)) | |
1949 WriteSave.append(str(b)) | |
1950 WriteSave.append(str(c)) | |
1951 for WriteStates in WriteSave: | |
1952 FILE.write(WriteStates + "\n") | |
1953 FILE.close() | |
1954 PassAmount += 1 | |
1955 Timer = int(round(float(time.time() - StartTime))) | |
1956 Speed = PassAmount / Timer | |
1957 NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] | |
1958 NewPassWd = Char2[c] + Char2[a] + PassWd[x] + Char2[b] | |
1959 timeup += 1 | |
1960 if timeup == sleep_now: | |
1961 time.sleep(sleep_for) | |
1962 timeup = 0 | |
1963 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1964 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1965 output = cmd.read() | |
1966 if test == None: | |
1967 print output | |
1968 elif output.__contains__(test): | |
1969 print "[PASSWORD FOUND]: ", NewShowWord | |
1970 sys.exit(0) | |
1971 else: | |
1972 print output | |
1973 | |
1974 if ExhSwitch is False: | |
1975 PassAmount += 1 | |
1976 Timer = int(round(float(time.time() - StartTime))) | |
1977 Speed = PassAmount / Timer | |
1978 NewShowWord = Char1[b] + ShowWord[x] + Char1[a] + Char1[c] | |
1979 NewPassWd = Char2[b] + PassWd[x] + Char2[a] + Char2[c] | |
1980 timeup += 1 | |
1981 if timeup == sleep_now: | |
1982 time.sleep(sleep_for) | |
1983 timeup = 0 | |
1984 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
1985 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
1986 output = cmd.read() | |
1987 if test == None: | |
1988 print output | |
1989 elif output.__contains__(test): | |
1990 print "[PASSWORD FOUND]: ", NewShowWord | |
1991 sys.exit(0) | |
1992 else: | |
1993 print output | |
1994 | |
1995 PassAmount += 1 | |
1996 Timer = int(round(float(time.time() - StartTime))) | |
1997 Speed = PassAmount / Timer | |
1998 NewShowWord = Char1[c] + Char1[a] + Char1[b] + ShowWord[x] | |
1999 NewPassWd = Char2[c] + Char2[a] + Char2[b] + PassWd[x] | |
2000 timeup += 1 | |
2001 if timeup == sleep_now: | |
2002 time.sleep(sleep_for) | |
2003 timeup = 0 | |
2004 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2005 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2006 output = cmd.read() | |
2007 if test == None: | |
2008 print output | |
2009 elif output.__contains__(test): | |
2010 print "[PASSWORD FOUND]: ", NewShowWord | |
2011 sys.exit(0) | |
2012 else: | |
2013 print output | |
2014 | |
2015 PassAmount += 1 | |
2016 Timer = int(round(float(time.time() - StartTime))) | |
2017 Speed = PassAmount / Timer | |
2018 NewShowWord = ShowWord[x] + Char1[b] + Char1[a] + Char1[c] | |
2019 NewPassWd = PassWd[x] + Char2[b] + Char2[a] + Char2[c] | |
2020 timeup += 1 | |
2021 if timeup == sleep_now: | |
2022 time.sleep(sleep_for) | |
2023 timeup = 0 | |
2024 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2025 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2026 output = cmd.read() | |
2027 if test == None: | |
2028 print output | |
2029 elif output.__contains__(test): | |
2030 print "[PASSWORD FOUND]: ", NewShowWord | |
2031 sys.exit(0) | |
2032 else: | |
2033 print output | |
2034 | |
2035 def BF5(): | |
2036 if option.NoChar is True: | |
2037 sys.exit('splice3: unable to find password') | |
2038 WordCount = 0 | |
2039 for CountWords in ShowWord: | |
2040 WordCount += 1 | |
2041 StartTime = time.time() | |
2042 StartTime = StartTime - 1 | |
2043 PassAmount = 0 | |
2044 timeup = 0 | |
2045 for u in range(StateU, UserCount): | |
2046 for a in range(StateA, EndCount): | |
2047 for b in range(StateB, EndCount): | |
2048 for c in range(StateC, EndCount): | |
2049 for d in range(StateD, EndCount): | |
2050 for x in range(StateW, WordCount): | |
2051 if SaveSwitch is True: | |
2052 WriteSave = [] | |
2053 FILE = open(save, 'w') | |
2054 WriteSave.append(str(option.cmd)) | |
2055 WriteSave.append(str(dictionary)) | |
2056 WriteSave.append(str(MixCustom)) | |
2057 WriteSave.append(str(Custom)) | |
2058 WriteSave.append(str(ExhSwitch)) | |
2059 WriteSave.append(str(StdoutSwitch)) | |
2060 WriteSave.append(str(usernames)) | |
2061 WriteSave.append(str(UserSwitch)) | |
2062 WriteSave.append(str(AlphaSwitch)) | |
2063 WriteSave.append(str(BWSwitch)) | |
2064 WriteSave.append(str(CapsSwitch)) | |
2065 WriteSave.append(str(L337Switch)) | |
2066 WriteSave.append(str(MD5Switch)) | |
2067 WriteSave.append(str(NumberSwitch)) | |
2068 WriteSave.append(str(RegularSwitch)) | |
2069 WriteSave.append(str(SpecialSwitch)) | |
2070 WriteSave.append(str(Letters)) | |
2071 WriteSave.append(str(Numbers)) | |
2072 WriteSave.append(str(Specials)) | |
2073 WriteSave.append(str(u)) | |
2074 WriteSave.append(str(x)) | |
2075 WriteSave.append(str(a)) | |
2076 WriteSave.append(str(b)) | |
2077 WriteSave.append(str(c)) | |
2078 WriteSave.append(str(d)) | |
2079 for WriteStates in WriteSave: | |
2080 FILE.write(WriteStates + "\n") | |
2081 FILE.close() | |
2082 PassAmount += 1 | |
2083 Timer = int(round(float(time.time() - StartTime))) | |
2084 Speed = PassAmount / Timer | |
2085 NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] | |
2086 NewPassWd = Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] | |
2087 timeup += 1 | |
2088 if timeup == sleep_now: | |
2089 time.sleep(sleep_for) | |
2090 timeup = 0 | |
2091 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2092 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2093 output = cmd.read() | |
2094 if test == None: | |
2095 print output | |
2096 elif output.__contains__(test): | |
2097 print "[PASSWORD FOUND]: ", NewShowWord | |
2098 sys.exit(0) | |
2099 else: | |
2100 print output | |
2101 | |
2102 if ExhSwitch is False: | |
2103 PassAmount += 1 | |
2104 Timer = int(round(float(time.time() - StartTime))) | |
2105 Speed = PassAmount / Timer | |
2106 NewShowWord = Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] | |
2107 NewPassWd = Char2[c] + Char2[a] + Char2[b] + Char2[d] + PassWd[x] | |
2108 timeup += 1 | |
2109 if timeup == sleep_now: | |
2110 time.sleep(sleep_for) | |
2111 timeup = 0 | |
2112 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2113 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2114 output = cmd.read() | |
2115 if test == None: | |
2116 print output | |
2117 elif output.__contains__(test): | |
2118 print "[PASSWORD FOUND]: ", NewShowWord | |
2119 sys.exit(0) | |
2120 else: | |
2121 print output | |
2122 | |
2123 PassAmount += 1 | |
2124 Timer = int(round(float(time.time() - StartTime))) | |
2125 Speed = PassAmount / Timer | |
2126 NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] | |
2127 NewPassWd = PassWd[x] + Char2[d] + Char2[b] + Char2[a] + Char2[c] | |
2128 timeup += 1 | |
2129 if timeup == sleep_now: | |
2130 time.sleep(sleep_for) | |
2131 timeup = 0 | |
2132 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2133 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2134 output = cmd.read() | |
2135 if test == None: | |
2136 print output | |
2137 elif output.__contains__(test): | |
2138 print "[PASSWORD FOUND]: ", NewShowWord | |
2139 sys.exit(0) | |
2140 else: | |
2141 print output | |
2142 | |
2143 def BF6(): | |
2144 if option.NoChar is True: | |
2145 sys.exit('splice3: unable to find password') | |
2146 WordCount = 0 | |
2147 for CountWords in ShowWord: | |
2148 WordCount += 1 | |
2149 StartTime = time.time() | |
2150 StartTime = StartTime - 1 | |
2151 PassAmount = 0 | |
2152 timeup = 0 | |
2153 for u in range(StateU, UserCount): | |
2154 for a in range(StateA, EndCount): | |
2155 for b in range(StateB, EndCount): | |
2156 for c in range(StateC, EndCount): | |
2157 for d in range(StateD, EndCount): | |
2158 for e in range(StateE, EndCount): | |
2159 for x in range(StateW, WordCount): | |
2160 if SaveSwitch is True: | |
2161 WriteSave = [] | |
2162 FILE = open(save, 'w') | |
2163 WriteSave.append(str(option.cmd)) | |
2164 WriteSave.append(str(dictionary)) | |
2165 WriteSave.append(str(MixCustom)) | |
2166 WriteSave.append(str(Custom)) | |
2167 WriteSave.append(str(ExhSwitch)) | |
2168 WriteSave.append(str(StdoutSwitch)) | |
2169 WriteSave.append(str(usernames)) | |
2170 WriteSave.append(str(UserSwitch)) | |
2171 WriteSave.append(str(AlphaSwitch)) | |
2172 WriteSave.append(str(BWSwitch)) | |
2173 WriteSave.append(str(CapsSwitch)) | |
2174 WriteSave.append(str(L337Switch)) | |
2175 WriteSave.append(str(MD5Switch)) | |
2176 WriteSave.append(str(NumberSwitch)) | |
2177 WriteSave.append(str(RegularSwitch)) | |
2178 WriteSave.append(str(SpecialSwitch)) | |
2179 WriteSave.append(str(Letters)) | |
2180 WriteSave.append(str(Numbers)) | |
2181 WriteSave.append(str(Specials)) | |
2182 WriteSave.append(str(u)) | |
2183 WriteSave.append(str(x)) | |
2184 WriteSave.append(str(a)) | |
2185 WriteSave.append(str(b)) | |
2186 WriteSave.append(str(c)) | |
2187 WriteSave.append(str(d)) | |
2188 WriteSave.append(str(e)) | |
2189 for WriteStates in WriteSave: | |
2190 FILE.write(WriteStates + "\n") | |
2191 FILE.close() | |
2192 PassAmount += 1 | |
2193 Timer = int(round(float(time.time() - StartTime))) | |
2194 Speed = PassAmount / Timer | |
2195 NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] | |
2196 NewPassWd = Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] | |
2197 timeup += 1 | |
2198 if timeup == sleep_now: | |
2199 time.sleep(sleep_for) | |
2200 timeup = 0 | |
2201 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2202 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2203 output = cmd.read() | |
2204 if test == None: | |
2205 print output | |
2206 elif output.__contains__(test): | |
2207 print "[PASSWORD FOUND]: ", NewShowWord | |
2208 sys.exit(0) | |
2209 else: | |
2210 print output | |
2211 | |
2212 if ExhSwitch is False: | |
2213 PassAmount += 1 | |
2214 Timer = int(round(float(time.time() - StartTime))) | |
2215 Speed = PassAmount / Timer | |
2216 NewShowWord = Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] | |
2217 NewPassWd = Char2[d] + Char2[b] + PassWd[x] + Char2[a] + Char2[c] + Char2[e] | |
2218 timeup += 1 | |
2219 if timeup == sleep_now: | |
2220 time.sleep(sleep_for) | |
2221 timeup = 0 | |
2222 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2223 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2224 output = cmd.read() | |
2225 if test == None: | |
2226 print output | |
2227 elif output.__contains__(test): | |
2228 print "[PASSWORD FOUND]: ", NewShowWord | |
2229 sys.exit(0) | |
2230 else: | |
2231 print output | |
2232 | |
2233 PassAmount += 1 | |
2234 Timer = int(round(float(time.time() - StartTime))) | |
2235 Speed = PassAmount / Timer | |
2236 NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] | |
2237 NewPassWd = Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + PassWd[x] | |
2238 timeup += 1 | |
2239 if timeup == sleep_now: | |
2240 time.sleep(sleep_for) | |
2241 timeup = 0 | |
2242 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2243 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2244 output = cmd.read() | |
2245 if test == None: | |
2246 print output | |
2247 elif output.__contains__(test): | |
2248 print "[PASSWORD FOUND]: ", NewShowWord | |
2249 sys.exit(0) | |
2250 else: | |
2251 print output | |
2252 | |
2253 PassAmount += 1 | |
2254 Timer = int(round(float(time.time() - StartTime))) | |
2255 Speed = PassAmount / Timer | |
2256 NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] | |
2257 NewPassWd = PassWd[x] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] | |
2258 timeup += 1 | |
2259 if timeup == sleep_now: | |
2260 time.sleep(sleep_for) | |
2261 timeup = 0 | |
2262 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2263 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2264 output = cmd.read() | |
2265 if test == None: | |
2266 print output | |
2267 elif output.__contains__(test): | |
2268 print "[PASSWORD FOUND]: ", NewShowWord | |
2269 sys.exit(0) | |
2270 else: | |
2271 print output | |
2272 | |
2273 def BF7(): | |
2274 if option.NoChar is True: | |
2275 sys.exit('splice3: unable to find password') | |
2276 WordCount = 0 | |
2277 for CountWords in ShowWord: | |
2278 WordCount += 1 | |
2279 StartTime = time.time() | |
2280 StartTime = StartTime - 1 | |
2281 PassAmount = 0 | |
2282 timeup = 0 | |
2283 for u in range(StateU, UserCount): | |
2284 for a in range(StateA, EndCount): | |
2285 for b in range(StateB, EndCount): | |
2286 for c in range(StateC, EndCount): | |
2287 for d in range(StateD, EndCount): | |
2288 for e in range(StateE, EndCount): | |
2289 for f in range(StateF, EndCount): | |
2290 for x in range(StateW, WordCount): | |
2291 if SaveSwitch is True: | |
2292 WriteSave = [] | |
2293 FILE = open(save, 'w') | |
2294 WriteSave.append(str(option.cmd)) | |
2295 WriteSave.append(str(dictionary)) | |
2296 WriteSave.append(str(MixCustom)) | |
2297 WriteSave.append(str(Custom)) | |
2298 WriteSave.append(str(ExhSwitch)) | |
2299 WriteSave.append(str(StdoutSwitch)) | |
2300 WriteSave.append(str(usernames)) | |
2301 WriteSave.append(str(UserSwitch)) | |
2302 WriteSave.append(str(AlphaSwitch)) | |
2303 WriteSave.append(str(BWSwitch)) | |
2304 WriteSave.append(str(CapsSwitch)) | |
2305 WriteSave.append(str(L337Switch)) | |
2306 WriteSave.append(str(MD5Switch)) | |
2307 WriteSave.append(str(NumberSwitch)) | |
2308 WriteSave.append(str(RegularSwitch)) | |
2309 WriteSave.append(str(SpecialSwitch)) | |
2310 WriteSave.append(str(Letters)) | |
2311 WriteSave.append(str(Numbers)) | |
2312 WriteSave.append(str(Specials)) | |
2313 WriteSave.append(str(u)) | |
2314 WriteSave.append(str(x)) | |
2315 WriteSave.append(str(a)) | |
2316 WriteSave.append(str(b)) | |
2317 WriteSave.append(str(c)) | |
2318 WriteSave.append(str(d)) | |
2319 WriteSave.append(str(e)) | |
2320 WriteSave.append(str(f)) | |
2321 for WriteStates in WriteSave: | |
2322 FILE.write(WriteStates + "\n") | |
2323 FILE.close() | |
2324 PassAmount += 1 | |
2325 Timer = int(round(float(time.time() - StartTime))) | |
2326 Speed = PassAmount / Timer | |
2327 NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] | |
2328 NewPassWd = Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] | |
2329 timeup += 1 | |
2330 if timeup == sleep_now: | |
2331 time.sleep(sleep_for) | |
2332 timeup = 0 | |
2333 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2334 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2335 output = cmd.read() | |
2336 if test == None: | |
2337 print output | |
2338 elif output.__contains__(test): | |
2339 print "[PASSWORD FOUND]: ", NewShowWord | |
2340 sys.exit(0) | |
2341 else: | |
2342 print output | |
2343 | |
2344 if ExhSwitch is False: | |
2345 PassAmount += 1 | |
2346 Timer = int(round(float(time.time() - StartTime))) | |
2347 Speed = PassAmount / Timer | |
2348 NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] | |
2349 NewPassWd = Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + PassWd[x] | |
2350 timeup += 1 | |
2351 if timeup == sleep_now: | |
2352 time.sleep(sleep_for) | |
2353 timeup = 0 | |
2354 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2355 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2356 output = cmd.read() | |
2357 if test == None: | |
2358 print output | |
2359 elif output.__contains__(test): | |
2360 print "[PASSWORD FOUND]: ", NewShowWord | |
2361 sys.exit(0) | |
2362 else: | |
2363 print output | |
2364 | |
2365 PassAmount += 1 | |
2366 Timer = int(round(float(time.time() - StartTime))) | |
2367 Speed = PassAmount / Timer | |
2368 NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] | |
2369 NewPassWd = PassWd[x] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] | |
2370 timeup += 1 | |
2371 if timeup == sleep_now: | |
2372 time.sleep(sleep_for) | |
2373 timeup = 0 | |
2374 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2375 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2376 output = cmd.read() | |
2377 if test == None: | |
2378 print output | |
2379 elif output.__contains__(test): | |
2380 print "[PASSWORD FOUND]: ", NewShowWord | |
2381 sys.exit(0) | |
2382 else: | |
2383 print output | |
2384 | |
2385 def BF8(): | |
2386 if option.NoChar is True: | |
2387 sys.exit('splice3: unable to find password') | |
2388 WordCount = 0 | |
2389 for CountWords in ShowWord: | |
2390 WordCount += 1 | |
2391 StartTime = time.time() | |
2392 StartTime = StartTime - 1 | |
2393 PassAmount = 0 | |
2394 timeup = 0 | |
2395 for u in range(StateU, UserCount): | |
2396 for a in range(StateA, EndCount): | |
2397 for b in range(StateB, EndCount): | |
2398 for c in range(StateC, EndCount): | |
2399 for d in range(StateD, EndCount): | |
2400 for e in range(StateE, EndCount): | |
2401 for f in range(StateF, EndCount): | |
2402 for g in range(StateG, EndCount): | |
2403 for x in range(StateW, WordCount): | |
2404 if SaveSwitch is True: | |
2405 WriteSave = [] | |
2406 FILE = open(save, 'w') | |
2407 WriteSave.append(str(option.cmd)) | |
2408 WriteSave.append(str(dictionary)) | |
2409 WriteSave.append(str(MixCustom)) | |
2410 WriteSave.append(str(Custom)) | |
2411 WriteSave.append(str(ExhSwitch)) | |
2412 WriteSave.append(str(StdoutSwitch)) | |
2413 WriteSave.append(str(usernames)) | |
2414 WriteSave.append(str(UserSwitch)) | |
2415 WriteSave.append(str(AlphaSwitch)) | |
2416 WriteSave.append(str(BWSwitch)) | |
2417 WriteSave.append(str(CapsSwitch)) | |
2418 WriteSave.append(str(L337Switch)) | |
2419 WriteSave.append(str(MD5Switch)) | |
2420 WriteSave.append(str(NumberSwitch)) | |
2421 WriteSave.append(str(RegularSwitch)) | |
2422 WriteSave.append(str(SpecialSwitch)) | |
2423 WriteSave.append(str(Letters)) | |
2424 WriteSave.append(str(Numbers)) | |
2425 WriteSave.append(str(Specials)) | |
2426 WriteSave.append(str(u)) | |
2427 WriteSave.append(str(x)) | |
2428 WriteSave.append(str(a)) | |
2429 WriteSave.append(str(b)) | |
2430 WriteSave.append(str(c)) | |
2431 WriteSave.append(str(d)) | |
2432 WriteSave.append(str(e)) | |
2433 WriteSave.append(str(f)) | |
2434 WriteSave.append(str(g)) | |
2435 for WriteStates in WriteSave: | |
2436 FILE.write(WriteStates + "\n") | |
2437 FILE.close() | |
2438 PassAmount += 1 | |
2439 Timer = int(round(float(time.time() - StartTime))) | |
2440 Speed = PassAmount / Timer | |
2441 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] | |
2442 NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] | |
2443 timeup += 1 | |
2444 if timeup == sleep_now: | |
2445 time.sleep(sleep_for) | |
2446 timeup = 0 | |
2447 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2448 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2449 output = cmd.read() | |
2450 if test == None: | |
2451 print output | |
2452 elif output.__contains__(test): | |
2453 print "[PASSWORD FOUND]: ", NewShowWord | |
2454 sys.exit(0) | |
2455 else: | |
2456 print output | |
2457 | |
2458 if ExhSwitch is False: | |
2459 PassAmount += 1 | |
2460 Timer = int(round(float(time.time() - StartTime))) | |
2461 Speed = PassAmount / Timer | |
2462 NewShowWord = Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] | |
2463 NewPassWd = Char2[f] + Char2[d] + Char2[b] + PassWd[x] + Char2[a] + Char2[c] + Char2[e] + Char2[g] | |
2464 timeup += 1 | |
2465 if timeup == sleep_now: | |
2466 time.sleep(sleep_for) | |
2467 timeup = 0 | |
2468 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2469 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2470 output = cmd.read() | |
2471 if test == None: | |
2472 print output | |
2473 elif output.__contains__(test): | |
2474 print "[PASSWORD FOUND]: ", NewShowWord | |
2475 sys.exit(0) | |
2476 else: | |
2477 print output | |
2478 | |
2479 PassAmount += 1 | |
2480 Timer = int(round(float(time.time() - StartTime))) | |
2481 Speed = PassAmount / Timer | |
2482 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] | |
2483 NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + PassWd[x] | |
2484 timeup += 1 | |
2485 if timeup == sleep_now: | |
2486 time.sleep(sleep_for) | |
2487 timeup = 0 | |
2488 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2489 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2490 output = cmd.read() | |
2491 if test == None: | |
2492 print output | |
2493 elif output.__contains__(test): | |
2494 print "[PASSWORD FOUND]: ", NewShowWord | |
2495 sys.exit(0) | |
2496 else: | |
2497 print output | |
2498 | |
2499 PassAmount += 1 | |
2500 Timer = int(round(float(time.time() - StartTime))) | |
2501 Speed = PassAmount / Timer | |
2502 NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] | |
2503 NewPassWd = PassWd[x] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] | |
2504 timeup += 1 | |
2505 if timeup == sleep_now: | |
2506 time.sleep(sleep_for) | |
2507 timeup = 0 | |
2508 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2509 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2510 output = cmd.read() | |
2511 if test == None: | |
2512 print output | |
2513 elif output.__contains__(test): | |
2514 print "[PASSWORD FOUND]: ", NewShowWord | |
2515 sys.exit(0) | |
2516 else: | |
2517 print output | |
2518 | |
2519 def BF9(): | |
2520 if option.NoChar is True: | |
2521 sys.exit('splice3: unable to find password') | |
2522 WordCount = 0 | |
2523 for CountWords in ShowWord: | |
2524 WordCount += 1 | |
2525 StartTime = time.time() | |
2526 StartTime = StartTime - 1 | |
2527 PassAmount = 0 | |
2528 timeup = 0 | |
2529 for u in range(StateU, UserCount): | |
2530 for a in range(StateA, EndCount): | |
2531 for b in range(StateB, EndCount): | |
2532 for c in range(StateC, EndCount): | |
2533 for d in range(StateD, EndCount): | |
2534 for e in range(StateE, EndCount): | |
2535 for f in range(StateF, EndCount): | |
2536 for g in range(StateG, EndCount): | |
2537 for h in range(StateH, EndCount): | |
2538 for x in range(StateW, WordCount): | |
2539 if SaveSwitch is True: | |
2540 WriteSave = [] | |
2541 FILE = open(save, 'w') | |
2542 WriteSave.append(str(option.cmd)) | |
2543 WriteSave.append(str(dictionary)) | |
2544 WriteSave.append(str(MixCustom)) | |
2545 WriteSave.append(str(Custom)) | |
2546 WriteSave.append(str(ExhSwitch)) | |
2547 WriteSave.append(str(StdoutSwitch)) | |
2548 WriteSave.append(str(usernames)) | |
2549 WriteSave.append(str(UserSwitch)) | |
2550 WriteSave.append(str(AlphaSwitch)) | |
2551 WriteSave.append(str(BWSwitch)) | |
2552 WriteSave.append(str(CapsSwitch)) | |
2553 WriteSave.append(str(L337Switch)) | |
2554 WriteSave.append(str(MD5Switch)) | |
2555 WriteSave.append(str(NumberSwitch)) | |
2556 WriteSave.append(str(RegularSwitch)) | |
2557 WriteSave.append(str(SpecialSwitch)) | |
2558 WriteSave.append(str(Letters)) | |
2559 WriteSave.append(str(Numbers)) | |
2560 WriteSave.append(str(Specials)) | |
2561 WriteSave.append(str(u)) | |
2562 WriteSave.append(str(x)) | |
2563 WriteSave.append(str(a)) | |
2564 WriteSave.append(str(b)) | |
2565 WriteSave.append(str(c)) | |
2566 WriteSave.append(str(d)) | |
2567 WriteSave.append(str(e)) | |
2568 WriteSave.append(str(f)) | |
2569 WriteSave.append(str(g)) | |
2570 WriteSave.append(str(h)) | |
2571 for WriteStates in WriteSave: | |
2572 FILE.write(WriteStates + "\n") | |
2573 FILE.close() | |
2574 PassAmount += 1 | |
2575 Timer = int(round(float(time.time() - StartTime))) | |
2576 Speed = PassAmount / Timer | |
2577 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] | |
2578 NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] | |
2579 timeup += 1 | |
2580 if timeup == sleep_now: | |
2581 time.sleep(sleep_for) | |
2582 timeup = 0 | |
2583 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2584 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2585 output = cmd.read() | |
2586 if test == None: | |
2587 print output | |
2588 elif output.__contains__(test): | |
2589 print "[PASSWORD FOUND]: ", NewShowWord | |
2590 sys.exit(0) | |
2591 else: | |
2592 print output | |
2593 | |
2594 if ExhSwitch is False: | |
2595 PassAmount += 1 | |
2596 Timer = int(round(float(time.time() - StartTime))) | |
2597 Speed = PassAmount / Timer | |
2598 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] +Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] | |
2599 NewPassWd = Char2[g] + Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + PassWd[x] | |
2600 timeup += 1 | |
2601 if timeup == sleep_now: | |
2602 time.sleep(sleep_for) | |
2603 timeup = 0 | |
2604 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2605 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2606 output = cmd.read() | |
2607 if test == None: | |
2608 print output | |
2609 elif output.__contains__(test): | |
2610 print "[PASSWORD FOUND]: ", NewShowWord | |
2611 sys.exit(0) | |
2612 else: | |
2613 print output | |
2614 | |
2615 PassAmount += 1 | |
2616 Timer = int(round(float(time.time() - StartTime))) | |
2617 Speed = PassAmount / Timer | |
2618 NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] | |
2619 NewPassWd = PassWd[x] + Char2[h] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] | |
2620 timeup += 1 | |
2621 if timeup == sleep_now: | |
2622 time.sleep(sleep_for) | |
2623 timeup = 0 | |
2624 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2625 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2626 output = cmd.read() | |
2627 if test == None: | |
2628 print output | |
2629 elif output.__contains__(test): | |
2630 print "[PASSWORD FOUND]: ", NewShowWord | |
2631 sys.exit(0) | |
2632 else: | |
2633 print output | |
2634 | |
2635 def BF10(): | |
2636 if option.NoChar is True: | |
2637 sys.exit('splice3: unable to find password') | |
2638 WordCount = 0 | |
2639 for CountWords in ShowWord: | |
2640 WordCount += 1 | |
2641 StartTime = time.time() | |
2642 StartTime = StartTime - 1 | |
2643 PassAmount = 0 | |
2644 timeup = 0 | |
2645 for u in range(StateU, UserCount): | |
2646 for a in range(StateA, EndCount): | |
2647 for b in range(StateB, EndCount): | |
2648 for c in range(StateC, EndCount): | |
2649 for d in range(StateD, EndCount): | |
2650 for e in range(StateE, EndCount): | |
2651 for f in range(StateF, EndCount): | |
2652 for g in range(StateG, EndCount): | |
2653 for h in range(StateH, EndCount): | |
2654 for i in range(StateI, EndCount): | |
2655 for x in range(StateW, WordCount): | |
2656 if SaveSwitch is True: | |
2657 WriteSave = [] | |
2658 FILE = open(save, 'w') | |
2659 WriteSave.append(str(option.cmd)) | |
2660 WriteSave.append(str(dictionary)) | |
2661 WriteSave.append(str(MixCustom)) | |
2662 WriteSave.append(str(Custom)) | |
2663 WriteSave.append(str(ExhSwitch)) | |
2664 WriteSave.append(str(StdoutSwitch)) | |
2665 WriteSave.append(str(usernames)) | |
2666 WriteSave.append(str(UserSwitch)) | |
2667 WriteSave.append(str(AlphaSwitch)) | |
2668 WriteSave.append(str(BWSwitch)) | |
2669 WriteSave.append(str(CapsSwitch)) | |
2670 WriteSave.append(str(L337Switch)) | |
2671 WriteSave.append(str(MD5Switch)) | |
2672 WriteSave.append(str(NumberSwitch)) | |
2673 WriteSave.append(str(RegularSwitch)) | |
2674 WriteSave.append(str(SpecialSwitch)) | |
2675 WriteSave.append(str(Letters)) | |
2676 WriteSave.append(str(Numbers)) | |
2677 WriteSave.append(str(Specials)) | |
2678 WriteSave.append(str(u)) | |
2679 WriteSave.append(str(x)) | |
2680 WriteSave.append(str(a)) | |
2681 WriteSave.append(str(b)) | |
2682 WriteSave.append(str(c)) | |
2683 WriteSave.append(str(d)) | |
2684 WriteSave.append(str(e)) | |
2685 WriteSave.append(str(f)) | |
2686 WriteSave.append(str(g)) | |
2687 WriteSave.append(str(h)) | |
2688 WriteSave.append(str(i)) | |
2689 for WriteStates in WriteSave: | |
2690 FILE.write(WriteStates + "\n") | |
2691 FILE.close() | |
2692 PassAmount += 1 | |
2693 Timer = int(round(float(time.time() - StartTime))) | |
2694 Speed = PassAmount / Timer | |
2695 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] | |
2696 NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] | |
2697 timeup += 1 | |
2698 if timeup == sleep_now: | |
2699 time.sleep(sleep_for) | |
2700 timeup = 0 | |
2701 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2702 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2703 output = cmd.read() | |
2704 if test == None: | |
2705 print output | |
2706 elif output.__contains__(test): | |
2707 print "[PASSWORD FOUND]: ", NewShowWord | |
2708 sys.exit(0) | |
2709 else: | |
2710 print output | |
2711 | |
2712 if ExhSwitch is False: | |
2713 PassAmount += 1 | |
2714 Timer = int(round(float(time.time() - StartTime))) | |
2715 Speed = PassAmount / Timer | |
2716 NewShowWord = Char1[h] + Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] | |
2717 NewPassWd = Char2[h] + Char2[f] + Char2[d] + Char2[b] + PassWd[x] + Char2[a] + Char2[c] + Char2[e] + Char2[g] + Char2[i] | |
2718 timeup += 1 | |
2719 if timeup == sleep_now: | |
2720 time.sleep(sleep_for) | |
2721 timeup = 0 | |
2722 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2723 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2724 output = cmd.read() | |
2725 if test == None: | |
2726 print output | |
2727 elif output.__contains__(test): | |
2728 print "[PASSWORD FOUND]: ", NewShowWord | |
2729 sys.exit(0) | |
2730 else: | |
2731 print output | |
2732 | |
2733 PassAmount += 1 | |
2734 Timer = int(round(float(time.time() - StartTime))) | |
2735 Speed = PassAmount / Timer | |
2736 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] | |
2737 NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + PassWd[x] | |
2738 timeup += 1 | |
2739 if timeup == sleep_now: | |
2740 time.sleep(sleep_for) | |
2741 timeup = 0 | |
2742 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2743 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2744 output = cmd.read() | |
2745 if test == None: | |
2746 print output | |
2747 elif output.__contains__(test): | |
2748 print "[PASSWORD FOUND]: ", NewShowWord | |
2749 sys.exit(0) | |
2750 else: | |
2751 print output | |
2752 | |
2753 PassAmount += 1 | |
2754 Timer = int(round(float(time.time() - StartTime))) | |
2755 Speed = PassAmount / Timer | |
2756 NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] | |
2757 NewPassWd = PassWd[x] + Char2[h] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] + Char2[i] | |
2758 timeup += 1 | |
2759 if timeup == sleep_now: | |
2760 time.sleep(sleep_for) | |
2761 timeup = 0 | |
2762 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2763 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2764 output = cmd.read() | |
2765 if test == None: | |
2766 print output | |
2767 elif output.__contains__(test): | |
2768 print "[PASSWORD FOUND]: ", NewShowWord | |
2769 sys.exit(0) | |
2770 else: | |
2771 print output | |
2772 | |
2773 def BF11(): | |
2774 if option.NoChar is True: | |
2775 sys.exit('splice3: unable to find password') | |
2776 WordCount = 0 | |
2777 for CountWords in ShowWord: | |
2778 WordCount += 1 | |
2779 StartTime = time.time() | |
2780 StartTime = StartTime - 1 | |
2781 PassAmount = 0 | |
2782 timeup = 0 | |
2783 for u in range(StateU, UserCount): | |
2784 for a in range(StateA, EndCount): | |
2785 for b in range(StateB, EndCount): | |
2786 for c in range(StateC, EndCount): | |
2787 for d in range(StateD, EndCount): | |
2788 for e in range(StateE, EndCount): | |
2789 for f in range(StateF, EndCount): | |
2790 for g in range(StateG, EndCount): | |
2791 for h in range(StateH, EndCount): | |
2792 for i in range(StateI, EndCount): | |
2793 for j in range(StateJ, EndCount): | |
2794 for x in range(StateW, WordCount): | |
2795 if SaveSwitch is True: | |
2796 WriteSave = [] | |
2797 FILE = open(save, 'w') | |
2798 WriteSave.append(str(option.cmd)) | |
2799 WriteSave.append(str(dictionary)) | |
2800 WriteSave.append(str(MixCustom)) | |
2801 WriteSave.append(str(Custom)) | |
2802 WriteSave.append(str(ExhSwitch)) | |
2803 WriteSave.append(str(StdoutSwitch)) | |
2804 WriteSave.append(str(usernames)) | |
2805 WriteSave.append(str(UserSwitch)) | |
2806 WriteSave.append(str(AlphaSwitch)) | |
2807 WriteSave.append(str(BWSwitch)) | |
2808 WriteSave.append(str(CapsSwitch)) | |
2809 WriteSave.append(str(L337Switch)) | |
2810 WriteSave.append(str(MD5Switch)) | |
2811 WriteSave.append(str(NumberSwitch)) | |
2812 WriteSave.append(str(RegularSwitch)) | |
2813 WriteSave.append(str(SpecialSwitch)) | |
2814 WriteSave.append(str(Letters)) | |
2815 WriteSave.append(str(Numbers)) | |
2816 WriteSave.append(str(Specials)) | |
2817 WriteSave.append(str(u)) | |
2818 WriteSave.append(str(x)) | |
2819 WriteSave.append(str(a)) | |
2820 WriteSave.append(str(b)) | |
2821 WriteSave.append(str(c)) | |
2822 WriteSave.append(str(d)) | |
2823 WriteSave.append(str(e)) | |
2824 WriteSave.append(str(f)) | |
2825 WriteSave.append(str(g)) | |
2826 WriteSave.append(str(h)) | |
2827 WriteSave.append(str(i)) | |
2828 WriteSave.append(str(j)) | |
2829 for WriteStates in WriteSave: | |
2830 FILE.write(WriteStates + "\n") | |
2831 FILE.close() | |
2832 PassAmount += 1 | |
2833 Timer = int(round(float(time.time() - StartTime))) | |
2834 Speed = PassAmount / Timer | |
2835 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] | |
2836 NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + PassWd[x] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + Char2[j] | |
2837 timeup += 1 | |
2838 if timeup == sleep_now: | |
2839 time.sleep(sleep_for) | |
2840 timeup = 0 | |
2841 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2842 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2843 output = cmd.read() | |
2844 if test == None: | |
2845 print output | |
2846 elif output.__contains__(test): | |
2847 print "[PASSWORD FOUND]: ", NewShowWord | |
2848 sys.exit(0) | |
2849 else: | |
2850 print output | |
2851 | |
2852 if ExhSwitch is False: | |
2853 PassAmount += 1 | |
2854 Timer = int(round(float(time.time() - StartTime))) | |
2855 Speed = PassAmount / Timer | |
2856 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] + ShowWord[x] | |
2857 NewPassWd = Char2[i] + Char2[g] + Char2[e] + Char2[c] + Char2[a] + Char2[b] + Char2[d] + Char2[f] + Char2[h] + Char2[j] + PassWd[x] | |
2858 timeup += 1 | |
2859 if timeup == sleep_now: | |
2860 time.sleep(sleep_for) | |
2861 timeup = 0 | |
2862 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2863 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2864 output = cmd.read() | |
2865 if test == None: | |
2866 print output | |
2867 elif output.__contains__(test): | |
2868 print "[PASSWORD FOUND]: ", NewShowWord | |
2869 sys.exit(0) | |
2870 else: | |
2871 print output | |
2872 | |
2873 PassAmount += 1 | |
2874 Timer = int(round(float(time.time() - StartTime))) | |
2875 Speed = PassAmount / Timer | |
2876 NewShowWord = ShowWord[x] + Char1[j] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] | |
2877 NewPassWd = PassWd[x] + Char2[j] + Char2[h] + Char2[f] + Char2[d] + Char2[b] + Char2[a] + Char2[c] + Char2[e] + Char2[g] + Char2[i] | |
2878 timeup += 1 | |
2879 if timeup == sleep_now: | |
2880 time.sleep(sleep_for) | |
2881 timeup = 0 | |
2882 print "[splice3]:", Speed,"/s", User[u].replace(" ", ""), NewShowWord.replace(" ", "") | |
2883 cmd = os.popen(option.cmd.replace("PASSWORD", NewPassWd.replace(" ", "")).replace("USERNAME", User[u].replace(" ", ""))) | |
2884 output = cmd.read() | |
2885 if test == None: | |
2886 print output | |
2887 elif output.__contains__(test): | |
2888 print "[PASSWORD FOUND]: ", NewShowWord | |
2889 sys.exit(0) | |
2890 else: | |
2891 print output | |
2892 | |
2893 def SBF1(): | |
2894 WordCount = 0 | |
2895 for CountWords in ShowWord: | |
2896 WordCount += 1 | |
2897 for u in range(StateU, UserCount): | |
2898 for x in range(StateW, WordCount): | |
2899 if SaveSwitch is True: | |
2900 WriteSave = [] | |
2901 FILE = open(save, 'w') | |
2902 WriteSave.append(str(option.cmd)) | |
2903 WriteSave.append(str(dictionary)) | |
2904 WriteSave.append(str(MixCustom)) | |
2905 WriteSave.append(str(Custom)) | |
2906 WriteSave.append(str(ExhSwitch)) | |
2907 WriteSave.append(str(StdoutSwitch)) | |
2908 WriteSave.append(str(usernames)) | |
2909 WriteSave.append(str(UserSwitch)) | |
2910 WriteSave.append(str(AlphaSwitch)) | |
2911 WriteSave.append(str(BWSwitch)) | |
2912 WriteSave.append(str(CapsSwitch)) | |
2913 WriteSave.append(str(L337Switch)) | |
2914 WriteSave.append(str(MD5Switch)) | |
2915 WriteSave.append(str(NumberSwitch)) | |
2916 WriteSave.append(str(RegularSwitch)) | |
2917 WriteSave.append(str(SpecialSwitch)) | |
2918 WriteSave.append(str(Letters)) | |
2919 WriteSave.append(str(Numbers)) | |
2920 WriteSave.append(str(Specials)) | |
2921 WriteSave.append(str(u)) | |
2922 WriteSave.append(str(x)) | |
2923 for WriteStates in WriteSave: | |
2924 FILE.write(WriteStates + "\n") | |
2925 FILE.close() | |
2926 NewShowWord = ShowWord[x] | |
2927 print NewShowWord.replace(" ", "") | |
2928 | |
2929 def SBF2(): | |
2930 WordCount = 0 | |
2931 for CountWords in ShowWord: | |
2932 WordCount += 1 | |
2933 if option.NoChar is True: | |
2934 sys.exit(0) | |
2935 for u in range(StateU, UserCount): | |
2936 for a in range(StateA, EndCount): | |
2937 for x in range(StateW, WordCount): | |
2938 if SaveSwitch is True: | |
2939 WriteSave = [] | |
2940 FILE = open(save, 'w') | |
2941 WriteSave.append(str(option.cmd)) | |
2942 WriteSave.append(str(dictionary)) | |
2943 WriteSave.append(str(MixCustom)) | |
2944 WriteSave.append(str(Custom)) | |
2945 WriteSave.append(str(ExhSwitch)) | |
2946 WriteSave.append(str(StdoutSwitch)) | |
2947 WriteSave.append(str(usernames)) | |
2948 WriteSave.append(str(UserSwitch)) | |
2949 WriteSave.append(str(AlphaSwitch)) | |
2950 WriteSave.append(str(BWSwitch)) | |
2951 WriteSave.append(str(CapsSwitch)) | |
2952 WriteSave.append(str(L337Switch)) | |
2953 WriteSave.append(str(MD5Switch)) | |
2954 WriteSave.append(str(NumberSwitch)) | |
2955 WriteSave.append(str(RegularSwitch)) | |
2956 WriteSave.append(str(SpecialSwitch)) | |
2957 WriteSave.append(str(Letters)) | |
2958 WriteSave.append(str(Numbers)) | |
2959 WriteSave.append(str(Specials)) | |
2960 WriteSave.append(str(u)) | |
2961 WriteSave.append(str(x)) | |
2962 WriteSave.append(str(a)) | |
2963 for WriteStates in WriteSave: | |
2964 FILE.write(WriteStates + "\n") | |
2965 FILE.close() | |
2966 NewShowWord = Char1[a] + ShowWord[x] | |
2967 print NewShowWord.replace(" ", "") | |
2968 | |
2969 if ExhSwitch is False: | |
2970 NewShowWord = ShowWord[x] + Char1[a] | |
2971 print NewShowWord.replace(" ", "") | |
2972 | |
2973 def SBF3(): | |
2974 WordCount = 0 | |
2975 for CountWords in ShowWord: | |
2976 WordCount += 1 | |
2977 if option.NoChar is True: | |
2978 sys.exit(0) | |
2979 for u in range(StateU, UserCount): | |
2980 for a in range(StateA, EndCount): | |
2981 for b in range(StateB, EndCount): | |
2982 for x in range(StateW, WordCount): | |
2983 if SaveSwitch is True: | |
2984 WriteSave = [] | |
2985 FILE = open(save, 'w') | |
2986 WriteSave.append(str(option.cmd)) | |
2987 WriteSave.append(str(dictionary)) | |
2988 WriteSave.append(str(MixCustom)) | |
2989 WriteSave.append(str(Custom)) | |
2990 WriteSave.append(str(ExhSwitch)) | |
2991 WriteSave.append(str(StdoutSwitch)) | |
2992 WriteSave.append(str(usernames)) | |
2993 WriteSave.append(str(UserSwitch)) | |
2994 WriteSave.append(str(AlphaSwitch)) | |
2995 WriteSave.append(str(BWSwitch)) | |
2996 WriteSave.append(str(CapsSwitch)) | |
2997 WriteSave.append(str(L337Switch)) | |
2998 WriteSave.append(str(MD5Switch)) | |
2999 WriteSave.append(str(NumberSwitch)) | |
3000 WriteSave.append(str(RegularSwitch)) | |
3001 WriteSave.append(str(SpecialSwitch)) | |
3002 WriteSave.append(str(Letters)) | |
3003 WriteSave.append(str(Numbers)) | |
3004 WriteSave.append(str(Specials)) | |
3005 WriteSave.append(str(u)) | |
3006 WriteSave.append(str(x)) | |
3007 WriteSave.append(str(a)) | |
3008 WriteSave.append(str(b)) | |
3009 for WriteStates in WriteSave: | |
3010 FILE.write(WriteStates + "\n") | |
3011 FILE.close() | |
3012 NewShowWord = Char1[a] + ShowWord[x] + Char1[b] | |
3013 print NewShowWord.replace(" ", "") | |
3014 | |
3015 if ExhSwitch is False: | |
3016 NewShowWord = Char1[a] + Char1[b] + ShowWord[x] | |
3017 print NewShowWord.replace(" ", "") | |
3018 | |
3019 NewShowWord = ShowWord[x] + Char1[b] + Char1[a] | |
3020 print NewShowWord.replace(" ", "") | |
3021 | |
3022 def SBF4(): | |
3023 WordCount = 0 | |
3024 for CountWords in ShowWord: | |
3025 WordCount += 1 | |
3026 if option.NoChar is True: | |
3027 sys.exit(0) | |
3028 for u in range(StateU, UserCount): | |
3029 for a in range(StateA, EndCount): | |
3030 for b in range(StateB, EndCount): | |
3031 for c in range(StateC, EndCount): | |
3032 for x in range(StateW, WordCount): | |
3033 if SaveSwitch is True: | |
3034 WriteSave = [] | |
3035 FILE = open(save, 'w') | |
3036 WriteSave.append(str(option.cmd)) | |
3037 WriteSave.append(str(dictionary)) | |
3038 WriteSave.append(str(MixCustom)) | |
3039 WriteSave.append(str(Custom)) | |
3040 WriteSave.append(str(ExhSwitch)) | |
3041 WriteSave.append(str(StdoutSwitch)) | |
3042 WriteSave.append(str(usernames)) | |
3043 WriteSave.append(str(UserSwitch)) | |
3044 WriteSave.append(str(AlphaSwitch)) | |
3045 WriteSave.append(str(BWSwitch)) | |
3046 WriteSave.append(str(CapsSwitch)) | |
3047 WriteSave.append(str(L337Switch)) | |
3048 WriteSave.append(str(MD5Switch)) | |
3049 WriteSave.append(str(NumberSwitch)) | |
3050 WriteSave.append(str(RegularSwitch)) | |
3051 WriteSave.append(str(SpecialSwitch)) | |
3052 WriteSave.append(str(Letters)) | |
3053 WriteSave.append(str(Numbers)) | |
3054 WriteSave.append(str(Specials)) | |
3055 WriteSave.append(str(u)) | |
3056 WriteSave.append(str(x)) | |
3057 WriteSave.append(str(a)) | |
3058 WriteSave.append(str(b)) | |
3059 WriteSave.append(str(c)) | |
3060 for WriteStates in WriteSave: | |
3061 FILE.write(WriteStates + "\n") | |
3062 FILE.close() | |
3063 NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] | |
3064 print NewShowWord.replace(" ", "") | |
3065 | |
3066 if ExhSwitch is False: | |
3067 NewShowWord = Char1[b] + ShowWord[x] + Char1[a] + Char1[c] | |
3068 print NewShowWord.replace(" ", "") | |
3069 | |
3070 NewShowWord = Char1[c] + Char1[a] + Char1[b] + ShowWord[x] | |
3071 print NewShowWord.replace(" ", "") | |
3072 | |
3073 NewShowWord = ShowWord[x] + Char1[b] + Char1[a] + Char1[c] | |
3074 print NewShowWord.replace(" ", "") | |
3075 | |
3076 def SBF5(): | |
3077 WordCount = 0 | |
3078 for CountWords in ShowWord: | |
3079 WordCount += 1 | |
3080 if option.NoChar is True: | |
3081 sys.exit(0) | |
3082 for u in range(StateU, UserCount): | |
3083 for a in range(StateA, EndCount): | |
3084 for b in range(StateB, EndCount): | |
3085 for c in range(StateC, EndCount): | |
3086 for d in range(StateD, EndCount): | |
3087 for x in range(StateW, WordCount): | |
3088 if SaveSwitch is True: | |
3089 WriteSave = [] | |
3090 FILE = open(save, 'w') | |
3091 WriteSave.append(str(option.cmd)) | |
3092 WriteSave.append(str(dictionary)) | |
3093 WriteSave.append(str(MixCustom)) | |
3094 WriteSave.append(str(Custom)) | |
3095 WriteSave.append(str(ExhSwitch)) | |
3096 WriteSave.append(str(StdoutSwitch)) | |
3097 WriteSave.append(str(usernames)) | |
3098 WriteSave.append(str(UserSwitch)) | |
3099 WriteSave.append(str(AlphaSwitch)) | |
3100 WriteSave.append(str(BWSwitch)) | |
3101 WriteSave.append(str(CapsSwitch)) | |
3102 WriteSave.append(str(L337Switch)) | |
3103 WriteSave.append(str(MD5Switch)) | |
3104 WriteSave.append(str(NumberSwitch)) | |
3105 WriteSave.append(str(RegularSwitch)) | |
3106 WriteSave.append(str(SpecialSwitch)) | |
3107 WriteSave.append(str(Letters)) | |
3108 WriteSave.append(str(Numbers)) | |
3109 WriteSave.append(str(Specials)) | |
3110 WriteSave.append(str(u)) | |
3111 WriteSave.append(str(x)) | |
3112 WriteSave.append(str(a)) | |
3113 WriteSave.append(str(b)) | |
3114 WriteSave.append(str(c)) | |
3115 WriteSave.append(str(d)) | |
3116 for WriteStates in WriteSave: | |
3117 FILE.write(WriteStates + "\n") | |
3118 FILE.close() | |
3119 NewShowWord = Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] | |
3120 print NewShowWord.replace(" ", "") | |
3121 | |
3122 if ExhSwitch is False: | |
3123 NewShowWord = Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] | |
3124 print NewShowWord.replace(" ", "") | |
3125 | |
3126 NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] | |
3127 print NewShowWord.replace(" ", "") | |
3128 | |
3129 def SBF6(): | |
3130 WordCount = 0 | |
3131 for CountWords in ShowWord: | |
3132 WordCount += 1 | |
3133 if option.NoChar is True: | |
3134 sys.exit(0) | |
3135 for u in range(StateU, UserCount): | |
3136 for a in range(StateA, EndCount): | |
3137 for b in range(StateB, EndCount): | |
3138 for c in range(StateC, EndCount): | |
3139 for d in range(StateD, EndCount): | |
3140 for e in range(StateE, EndCount): | |
3141 for x in range(StateW, WordCount): | |
3142 if SaveSwitch is True: | |
3143 WriteSave = [] | |
3144 FILE = open(save, 'w') | |
3145 WriteSave.append(str(option.cmd)) | |
3146 WriteSave.append(str(dictionary)) | |
3147 WriteSave.append(str(MixCustom)) | |
3148 WriteSave.append(str(Custom)) | |
3149 WriteSave.append(str(ExhSwitch)) | |
3150 WriteSave.append(str(StdoutSwitch)) | |
3151 WriteSave.append(str(usernames)) | |
3152 WriteSave.append(str(UserSwitch)) | |
3153 WriteSave.append(str(AlphaSwitch)) | |
3154 WriteSave.append(str(BWSwitch)) | |
3155 WriteSave.append(str(CapsSwitch)) | |
3156 WriteSave.append(str(L337Switch)) | |
3157 WriteSave.append(str(MD5Switch)) | |
3158 WriteSave.append(str(NumberSwitch)) | |
3159 WriteSave.append(str(RegularSwitch)) | |
3160 WriteSave.append(str(SpecialSwitch)) | |
3161 WriteSave.append(str(Letters)) | |
3162 WriteSave.append(str(Numbers)) | |
3163 WriteSave.append(str(Specials)) | |
3164 WriteSave.append(str(u)) | |
3165 WriteSave.append(str(x)) | |
3166 WriteSave.append(str(a)) | |
3167 WriteSave.append(str(b)) | |
3168 WriteSave.append(str(c)) | |
3169 WriteSave.append(str(d)) | |
3170 WriteSave.append(str(e)) | |
3171 for WriteStates in WriteSave: | |
3172 FILE.write(WriteStates + "\n") | |
3173 FILE.close() | |
3174 NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] | |
3175 print NewShowWord.replace(" ", "") | |
3176 | |
3177 if ExhSwitch is False: | |
3178 NewShowWord = Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] | |
3179 print NewShowWord.replace(" ", "") | |
3180 | |
3181 NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + ShowWord[x] | |
3182 print NewShowWord.replace(" ", "") | |
3183 | |
3184 NewShowWord = ShowWord[x] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] | |
3185 print NewShowWord.replace(" ", "") | |
3186 | |
3187 def SBF7(): | |
3188 WordCount = 0 | |
3189 for CountWords in ShowWord: | |
3190 WordCount += 1 | |
3191 if option.NoChar is True: | |
3192 sys.exit(0) | |
3193 for u in range(StateU, UserCount): | |
3194 for a in range(StateA, EndCount): | |
3195 for b in range(StateB, EndCount): | |
3196 for c in range(StateC, EndCount): | |
3197 for d in range(StateD, EndCount): | |
3198 for e in range(StateE, EndCount): | |
3199 for f in range(StateF, EndCount): | |
3200 for x in range(StateW, WordCount): | |
3201 if SaveSwitch is True: | |
3202 WriteSave = [] | |
3203 FILE = open(save, 'w') | |
3204 WriteSave.append(str(option.cmd)) | |
3205 WriteSave.append(str(dictionary)) | |
3206 WriteSave.append(str(MixCustom)) | |
3207 WriteSave.append(str(Custom)) | |
3208 WriteSave.append(str(ExhSwitch)) | |
3209 WriteSave.append(str(StdoutSwitch)) | |
3210 WriteSave.append(str(usernames)) | |
3211 WriteSave.append(str(UserSwitch)) | |
3212 WriteSave.append(str(AlphaSwitch)) | |
3213 WriteSave.append(str(BWSwitch)) | |
3214 WriteSave.append(str(CapsSwitch)) | |
3215 WriteSave.append(str(L337Switch)) | |
3216 WriteSave.append(str(MD5Switch)) | |
3217 WriteSave.append(str(NumberSwitch)) | |
3218 WriteSave.append(str(RegularSwitch)) | |
3219 WriteSave.append(str(SpecialSwitch)) | |
3220 WriteSave.append(str(Letters)) | |
3221 WriteSave.append(str(Numbers)) | |
3222 WriteSave.append(str(Specials)) | |
3223 WriteSave.append(str(u)) | |
3224 WriteSave.append(str(x)) | |
3225 WriteSave.append(str(a)) | |
3226 WriteSave.append(str(b)) | |
3227 WriteSave.append(str(c)) | |
3228 WriteSave.append(str(d)) | |
3229 WriteSave.append(str(e)) | |
3230 WriteSave.append(str(f)) | |
3231 for WriteStates in WriteSave: | |
3232 FILE.write(WriteStates + "\n") | |
3233 FILE.close() | |
3234 NewShowWord = Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] | |
3235 print NewShowWord.replace(" ", "") | |
3236 | |
3237 if ExhSwitch is False: | |
3238 NewShowWord = Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] | |
3239 print NewShowWord.replace(" ", "") | |
3240 | |
3241 NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] | |
3242 print NewShowWord.replace(" ", "") | |
3243 | |
3244 def SBF8(): | |
3245 WordCount = 0 | |
3246 for CountWords in ShowWord: | |
3247 WordCount += 1 | |
3248 if option.NoChar is True: | |
3249 sys.exit(0) | |
3250 for u in range(StateU, UserCount): | |
3251 for a in range(StateA, EndCount): | |
3252 for b in range(StateB, EndCount): | |
3253 for c in range(StateC, EndCount): | |
3254 for d in range(StateD, EndCount): | |
3255 for e in range(StateE, EndCount): | |
3256 for f in range(StateF, EndCount): | |
3257 for g in range(StateG, EndCount): | |
3258 for x in range(StateW, WordCount): | |
3259 if SaveSwitch is True: | |
3260 WriteSave = [] | |
3261 FILE = open(save, 'w') | |
3262 WriteSave.append(str(option.cmd)) | |
3263 WriteSave.append(str(dictionary)) | |
3264 WriteSave.append(str(MixCustom)) | |
3265 WriteSave.append(str(Custom)) | |
3266 WriteSave.append(str(ExhSwitch)) | |
3267 WriteSave.append(str(StdoutSwitch)) | |
3268 WriteSave.append(str(usernames)) | |
3269 WriteSave.append(str(UserSwitch)) | |
3270 WriteSave.append(str(AlphaSwitch)) | |
3271 WriteSave.append(str(BWSwitch)) | |
3272 WriteSave.append(str(CapsSwitch)) | |
3273 WriteSave.append(str(L337Switch)) | |
3274 WriteSave.append(str(MD5Switch)) | |
3275 WriteSave.append(str(NumberSwitch)) | |
3276 WriteSave.append(str(RegularSwitch)) | |
3277 WriteSave.append(str(SpecialSwitch)) | |
3278 WriteSave.append(str(Letters)) | |
3279 WriteSave.append(str(Numbers)) | |
3280 WriteSave.append(str(Specials)) | |
3281 WriteSave.append(str(u)) | |
3282 WriteSave.append(str(x)) | |
3283 WriteSave.append(str(a)) | |
3284 WriteSave.append(str(b)) | |
3285 WriteSave.append(str(c)) | |
3286 WriteSave.append(str(d)) | |
3287 WriteSave.append(str(e)) | |
3288 WriteSave.append(str(f)) | |
3289 WriteSave.append(str(g)) | |
3290 for WriteStates in WriteSave: | |
3291 FILE.write(WriteStates + "\n") | |
3292 FILE.close() | |
3293 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] | |
3294 print NewShowWord.replace(" ", "") | |
3295 | |
3296 if ExhSwitch is False: | |
3297 NewShowWord = Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] | |
3298 print NewShowWord.replace(" ", "") | |
3299 | |
3300 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + ShowWord[x] | |
3301 print NewShowWord.replace(" ", "") | |
3302 | |
3303 NewShowWord = ShowWord[x] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] | |
3304 print NewShowWord.replace(" ", "") | |
3305 | |
3306 def SBF9(): | |
3307 WordCount = 0 | |
3308 for CountWords in ShowWord: | |
3309 WordCount += 1 | |
3310 if option.NoChar is True: | |
3311 sys.exit(0) | |
3312 for u in range(StateU, UserCount): | |
3313 for a in range(StateA, EndCount): | |
3314 for b in range(StateB, EndCount): | |
3315 for c in range(StateC, EndCount): | |
3316 for d in range(StateD, EndCount): | |
3317 for e in range(StateE, EndCount): | |
3318 for f in range(StateF, EndCount): | |
3319 for g in range(StateG, EndCount): | |
3320 for h in range(StateH, EndCount): | |
3321 for x in range(StateW, WordCount): | |
3322 if SaveSwitch is True: | |
3323 WriteSave = [] | |
3324 FILE = open(save, 'w') | |
3325 WriteSave.append(str(option.cmd)) | |
3326 WriteSave.append(str(dictionary)) | |
3327 WriteSave.append(str(MixCustom)) | |
3328 WriteSave.append(str(Custom)) | |
3329 WriteSave.append(str(ExhSwitch)) | |
3330 WriteSave.append(str(StdoutSwitch)) | |
3331 WriteSave.append(str(usernames)) | |
3332 WriteSave.append(str(UserSwitch)) | |
3333 WriteSave.append(str(AlphaSwitch)) | |
3334 WriteSave.append(str(BWSwitch)) | |
3335 WriteSave.append(str(CapsSwitch)) | |
3336 WriteSave.append(str(L337Switch)) | |
3337 WriteSave.append(str(MD5Switch)) | |
3338 WriteSave.append(str(NumberSwitch)) | |
3339 WriteSave.append(str(RegularSwitch)) | |
3340 WriteSave.append(str(SpecialSwitch)) | |
3341 WriteSave.append(str(Letters)) | |
3342 WriteSave.append(str(Numbers)) | |
3343 WriteSave.append(str(Specials)) | |
3344 WriteSave.append(str(u)) | |
3345 WriteSave.append(str(x)) | |
3346 WriteSave.append(str(a)) | |
3347 WriteSave.append(str(b)) | |
3348 WriteSave.append(str(c)) | |
3349 WriteSave.append(str(d)) | |
3350 WriteSave.append(str(e)) | |
3351 WriteSave.append(str(f)) | |
3352 WriteSave.append(str(g)) | |
3353 WriteSave.append(str(h)) | |
3354 for WriteStates in WriteSave: | |
3355 FILE.write(WriteStates + "\n") | |
3356 FILE.close() | |
3357 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] | |
3358 print NewShowWord.replace(" ", "") | |
3359 | |
3360 if ExhSwitch is False: | |
3361 NewShowWord = Char1[g] + Char1[e] + Char1[c] + Char1[a] +Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] | |
3362 print NewShowWord.replace(" ", "") | |
3363 | |
3364 NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] | |
3365 print NewShowWord.replace(" ", "") | |
3366 | |
3367 def SBF10(): | |
3368 WordCount = 0 | |
3369 for CountWords in ShowWord: | |
3370 WordCount += 1 | |
3371 if option.NoChar is True: | |
3372 sys.exit(0) | |
3373 for u in range(StateU, UserCount): | |
3374 for a in range(StateA, EndCount): | |
3375 for b in range(StateB, EndCount): | |
3376 for c in range(StateC, EndCount): | |
3377 for d in range(StateD, EndCount): | |
3378 for e in range(StateE, EndCount): | |
3379 for f in range(StateF, EndCount): | |
3380 for g in range(StateG, EndCount): | |
3381 for h in range(StateH, EndCount): | |
3382 for i in range(StateI, EndCount): | |
3383 for x in range(StateW, WordCount): | |
3384 if SaveSwitch is True: | |
3385 WriteSave = [] | |
3386 FILE = open(save, 'w') | |
3387 WriteSave.append(str(option.cmd)) | |
3388 WriteSave.append(str(dictionary)) | |
3389 WriteSave.append(str(MixCustom)) | |
3390 WriteSave.append(str(Custom)) | |
3391 WriteSave.append(str(ExhSwitch)) | |
3392 WriteSave.append(str(StdoutSwitch)) | |
3393 WriteSave.append(str(usernames)) | |
3394 WriteSave.append(str(UserSwitch)) | |
3395 WriteSave.append(str(AlphaSwitch)) | |
3396 WriteSave.append(str(BWSwitch)) | |
3397 WriteSave.append(str(CapsSwitch)) | |
3398 WriteSave.append(str(L337Switch)) | |
3399 WriteSave.append(str(MD5Switch)) | |
3400 WriteSave.append(str(NumberSwitch)) | |
3401 WriteSave.append(str(RegularSwitch)) | |
3402 WriteSave.append(str(SpecialSwitch)) | |
3403 WriteSave.append(str(Letters)) | |
3404 WriteSave.append(str(Numbers)) | |
3405 WriteSave.append(str(Specials)) | |
3406 WriteSave.append(str(u)) | |
3407 WriteSave.append(str(x)) | |
3408 WriteSave.append(str(a)) | |
3409 WriteSave.append(str(b)) | |
3410 WriteSave.append(str(c)) | |
3411 WriteSave.append(str(d)) | |
3412 WriteSave.append(str(e)) | |
3413 WriteSave.append(str(f)) | |
3414 WriteSave.append(str(g)) | |
3415 WriteSave.append(str(h)) | |
3416 WriteSave.append(str(i)) | |
3417 for WriteStates in WriteSave: | |
3418 FILE.write(WriteStates + "\n") | |
3419 FILE.close() | |
3420 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] | |
3421 print NewShowWord.replace(" ", "") | |
3422 | |
3423 if ExhSwitch is False: | |
3424 NewShowWord = Char1[h] + Char1[f] + Char1[d] + Char1[b] + ShowWord[x] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] | |
3425 print NewShowWord.replace(" ", "") | |
3426 | |
3427 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + ShowWord[x] | |
3428 print NewShowWord.replace(" ", "") | |
3429 | |
3430 NewShowWord = ShowWord[x] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] | |
3431 print NewShowWord.replace(" ", "") | |
3432 | |
3433 def SBF11(): | |
3434 WordCount = 0 | |
3435 for CountWords in ShowWord: | |
3436 WordCount += 1 | |
3437 if option.NoChar is True: | |
3438 sys.exit(0) | |
3439 for u in range(StateU, UserCount): | |
3440 for a in range(StateA, EndCount): | |
3441 for b in range(StateB, EndCount): | |
3442 for c in range(StateC, EndCount): | |
3443 for d in range(StateD, EndCount): | |
3444 for e in range(StateE, EndCount): | |
3445 for f in range(StateF, EndCount): | |
3446 for g in range(StateG, EndCount): | |
3447 for h in range(StateH, EndCount): | |
3448 for i in range(StateI, EndCount): | |
3449 for j in range(StateJ, EndCount): | |
3450 for x in range(StateW, WordCount): | |
3451 if SaveSwitch is True: | |
3452 WriteSave = [] | |
3453 FILE = open(save, 'w') | |
3454 WriteSave.append(str(option.cmd)) | |
3455 WriteSave.append(str(dictionary)) | |
3456 WriteSave.append(str(MixCustom)) | |
3457 WriteSave.append(str(Custom)) | |
3458 WriteSave.append(str(ExhSwitch)) | |
3459 WriteSave.append(str(StdoutSwitch)) | |
3460 WriteSave.append(str(usernames)) | |
3461 WriteSave.append(str(UserSwitch)) | |
3462 WriteSave.append(str(AlphaSwitch)) | |
3463 WriteSave.append(str(BWSwitch)) | |
3464 WriteSave.append(str(CapsSwitch)) | |
3465 WriteSave.append(str(L337Switch)) | |
3466 WriteSave.append(str(MD5Switch)) | |
3467 WriteSave.append(str(NumberSwitch)) | |
3468 WriteSave.append(str(RegularSwitch)) | |
3469 WriteSave.append(str(SpecialSwitch)) | |
3470 WriteSave.append(str(Letters)) | |
3471 WriteSave.append(str(Numbers)) | |
3472 WriteSave.append(str(Specials)) | |
3473 WriteSave.append(str(u)) | |
3474 WriteSave.append(str(x)) | |
3475 WriteSave.append(str(a)) | |
3476 WriteSave.append(str(b)) | |
3477 WriteSave.append(str(c)) | |
3478 WriteSave.append(str(d)) | |
3479 WriteSave.append(str(e)) | |
3480 WriteSave.append(str(f)) | |
3481 WriteSave.append(str(g)) | |
3482 WriteSave.append(str(h)) | |
3483 WriteSave.append(str(i)) | |
3484 WriteSave.append(str(j)) | |
3485 for WriteStates in WriteSave: | |
3486 FILE.write(WriteStates + "\n") | |
3487 FILE.close() | |
3488 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + ShowWord[x] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] | |
3489 print NewShowWord.replace(" ", "") | |
3490 | |
3491 if ExhSwitch is False: | |
3492 NewShowWord = Char1[i] + Char1[g] + Char1[e] + Char1[c] + Char1[a] + Char1[b] + Char1[d] + Char1[f] + Char1[h] + Char1[j] + ShowWord[x] | |
3493 print NewShowWord.replace(" ", "") | |
3494 | |
3495 NewShowWord = ShowWord[x] + Char1[j] + Char1[h] + Char1[f] + Char1[d] + Char1[b] + Char1[a] + Char1[c] + Char1[e] + Char1[g] + Char1[i] | |
3496 print NewShowWord.replace(" ", "") | |
3497 | |
3498 if Create is True: | |
3499 CFILE = open("splice3.create", 'w') | |
3500 for WCreate in ShowWord: | |
3501 CFILE.write(WCreate + "\n") | |
3502 CFILE.close() | |
3503 sys.exit(0) | |
3504 | |
3505 if RestoreSwitch is False: | |
3506 StateCount = 0 | |
3507 if RestoreSwitch is False and StdoutSwitch is False: | |
3508 StateU = 0 | |
3509 StateW = 0 | |
3510 StateA = 0 | |
3511 StateB = 0 | |
3512 StateC = 0 | |
3513 StateD = 0 | |
3514 StateE = 0 | |
3515 StateF = 0 | |
3516 StateG = 0 | |
3517 StateH = 0 | |
3518 StateI = 0 | |
3519 StateJ = 0 | |
3520 BF1() | |
3521 BF2() | |
3522 BF3() | |
3523 BF4() | |
3524 BF5() | |
3525 BF6() | |
3526 BF7() | |
3527 BF8() | |
3528 BF9() | |
3529 BF10() | |
3530 BF11() | |
3531 print "splice3: unable to find password" | |
3532 sys.exit(0) | |
3533 | |
3534 if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is False: | |
3535 StateU = int(State[21]) | |
3536 StateW = 0 | |
3537 StateA = 0 | |
3538 StateB = 0 | |
3539 StateC = 0 | |
3540 StateD = 0 | |
3541 StateE = 0 | |
3542 StateF = 0 | |
3543 StateG = 0 | |
3544 StateH = 0 | |
3545 StateI = 0 | |
3546 StateJ = 0 | |
3547 BF1() | |
3548 StateW = 0 | |
3549 StateA = 0 | |
3550 StateB = 0 | |
3551 StateC = 0 | |
3552 StateD = 0 | |
3553 StateE = 0 | |
3554 StateF = 0 | |
3555 StateG = 0 | |
3556 StateH = 0 | |
3557 StateI = 0 | |
3558 StateJ = 0 | |
3559 BF2() | |
3560 BF3() | |
3561 BF4() | |
3562 BF5() | |
3563 BF6() | |
3564 BF7() | |
3565 BF8() | |
3566 BF9() | |
3567 BF10() | |
3568 BF11() | |
3569 print "splice3: unable to find password" | |
3570 sys.exit(0) | |
3571 if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is False: | |
3572 StateU = int(State[21]) | |
3573 StateW = int(State[22]) | |
3574 StateA = 0 | |
3575 StateB = 0 | |
3576 StateC = 0 | |
3577 StateD = 0 | |
3578 StateE = 0 | |
3579 StateF = 0 | |
3580 StateG = 0 | |
3581 StateH = 0 | |
3582 StateI = 0 | |
3583 StateJ = 0 | |
3584 BF1() | |
3585 StateW = 0 | |
3586 StateA = 0 | |
3587 StateB = 0 | |
3588 StateC = 0 | |
3589 StateD = 0 | |
3590 StateE = 0 | |
3591 StateF = 0 | |
3592 StateG = 0 | |
3593 StateH = 0 | |
3594 StateI = 0 | |
3595 StateJ = 0 | |
3596 BF2() | |
3597 BF3() | |
3598 BF4() | |
3599 BF5() | |
3600 BF6() | |
3601 BF7() | |
3602 BF8() | |
3603 BF9() | |
3604 BF10() | |
3605 BF11() | |
3606 print "splice3: unable to find password" | |
3607 sys.exit(0) | |
3608 elif StateCount == 23 and RestoreSwitch is True and StdoutSwitch is False: | |
3609 StateU = int(State[21]) | |
3610 StateW = int(State[22]) | |
3611 StateA = int(State[23]) | |
3612 StateB = 0 | |
3613 StateC = 0 | |
3614 StateD = 0 | |
3615 StateE = 0 | |
3616 StateF = 0 | |
3617 StateG = 0 | |
3618 StateH = 0 | |
3619 StateI = 0 | |
3620 StateJ = 0 | |
3621 BF2() | |
3622 StateW = 0 | |
3623 StateA = 0 | |
3624 StateB = 0 | |
3625 StateC = 0 | |
3626 StateD = 0 | |
3627 StateE = 0 | |
3628 StateF = 0 | |
3629 StateG = 0 | |
3630 StateH = 0 | |
3631 StateI = 0 | |
3632 StateJ = 0 | |
3633 BF3() | |
3634 BF4() | |
3635 BF5() | |
3636 BF6() | |
3637 BF7() | |
3638 BF8() | |
3639 BF9() | |
3640 BF10() | |
3641 BF11() | |
3642 print "splice3: unable to find password" | |
3643 sys.exit(0) | |
3644 elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is False: | |
3645 StateU = int(State[21]) | |
3646 StateW = int(State[22]) | |
3647 StateA = int(State[23]) | |
3648 StateB = int(State[24]) | |
3649 StateC = 0 | |
3650 StateD = 0 | |
3651 StateE = 0 | |
3652 StateF = 0 | |
3653 StateG = 0 | |
3654 StateH = 0 | |
3655 StateI = 0 | |
3656 StateJ = 0 | |
3657 BF3() | |
3658 StateW = 0 | |
3659 StateA = 0 | |
3660 StateB = 0 | |
3661 StateC = 0 | |
3662 StateD = 0 | |
3663 StateE = 0 | |
3664 StateF = 0 | |
3665 StateG = 0 | |
3666 StateH = 0 | |
3667 StateI = 0 | |
3668 StateJ = 0 | |
3669 BF4() | |
3670 BF5() | |
3671 BF6() | |
3672 BF7() | |
3673 BF8() | |
3674 BF9() | |
3675 BF10() | |
3676 BF11() | |
3677 print "splice3: unable to find password" | |
3678 sys.exit(0) | |
3679 elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is False: | |
3680 StateU = int(State[21]) | |
3681 StateW = int(State[22]) | |
3682 StateA = int(State[23]) | |
3683 StateB = int(State[24]) | |
3684 StateC = int(State[25]) | |
3685 StateD = 0 | |
3686 StateE = 0 | |
3687 StateF = 0 | |
3688 StateG = 0 | |
3689 StateH = 0 | |
3690 StateI = 0 | |
3691 StateJ = 0 | |
3692 BF4() | |
3693 StateW = 0 | |
3694 StateA = 0 | |
3695 StateB = 0 | |
3696 StateC = 0 | |
3697 StateD = 0 | |
3698 StateE = 0 | |
3699 StateF = 0 | |
3700 StateG = 0 | |
3701 StateH = 0 | |
3702 StateI = 0 | |
3703 StateJ = 0 | |
3704 BF5() | |
3705 BF6() | |
3706 BF7() | |
3707 BF8() | |
3708 BF9() | |
3709 BF10() | |
3710 BF11() | |
3711 print "splice3: unable to find password" | |
3712 sys.exit(0) | |
3713 elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is False: | |
3714 StateU = int(State[21]) | |
3715 StateW = int(State[22]) | |
3716 StateA = int(State[23]) | |
3717 StateB = int(State[24]) | |
3718 StateC = int(State[25]) | |
3719 StateD = int(State[26]) | |
3720 StateE = 0 | |
3721 StateF = 0 | |
3722 StateG = 0 | |
3723 StateH = 0 | |
3724 StateI = 0 | |
3725 StateJ = 0 | |
3726 BF5() | |
3727 StateW = 0 | |
3728 StateA = 0 | |
3729 StateB = 0 | |
3730 StateC = 0 | |
3731 StateD = 0 | |
3732 StateE = 0 | |
3733 StateF = 0 | |
3734 StateG = 0 | |
3735 StateH = 0 | |
3736 StateI = 0 | |
3737 StateJ = 0 | |
3738 BF6() | |
3739 BF7() | |
3740 BF8() | |
3741 BF9() | |
3742 BF10() | |
3743 BF11() | |
3744 print "splice3: unable to find password" | |
3745 sys.exit(0) | |
3746 elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is False: | |
3747 StateU = int(State[21]) | |
3748 StateW = int(State[22]) | |
3749 StateA = int(State[23]) | |
3750 StateB = int(State[24]) | |
3751 StateC = int(State[25]) | |
3752 StateD = int(State[26]) | |
3753 StateE = int(State[27]) | |
3754 StateF = 0 | |
3755 StateG = 0 | |
3756 StateH = 0 | |
3757 StateI = 0 | |
3758 StateJ = 0 | |
3759 BF6() | |
3760 StateW = 0 | |
3761 StateA = 0 | |
3762 StateB = 0 | |
3763 StateC = 0 | |
3764 StateD = 0 | |
3765 StateE = 0 | |
3766 StateF = 0 | |
3767 StateG = 0 | |
3768 StateH = 0 | |
3769 StateI = 0 | |
3770 StateJ = 0 | |
3771 BF7() | |
3772 BF8() | |
3773 BF9() | |
3774 BF10() | |
3775 BF11() | |
3776 print "splice3: unable to find password" | |
3777 sys.exit(0) | |
3778 elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is False: | |
3779 StateU = int(State[21]) | |
3780 StateW = int(State[22]) | |
3781 StateA = int(State[23]) | |
3782 StateB = int(State[24]) | |
3783 StateC = int(State[25]) | |
3784 StateD = int(State[26]) | |
3785 StateE = int(State[27]) | |
3786 StateF = int(State[28]) | |
3787 StateG = 0 | |
3788 StateH = 0 | |
3789 StateI = 0 | |
3790 StateJ = 0 | |
3791 BF7() | |
3792 StateW = 0 | |
3793 StateA = 0 | |
3794 StateB = 0 | |
3795 StateC = 0 | |
3796 StateD = 0 | |
3797 StateE = 0 | |
3798 StateF = 0 | |
3799 StateG = 0 | |
3800 StateH = 0 | |
3801 StateI = 0 | |
3802 StateJ = 0 | |
3803 BF8() | |
3804 BF9() | |
3805 BF10() | |
3806 BF11() | |
3807 print "splice3: unable to find password" | |
3808 sys.exit(0) | |
3809 elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is False: | |
3810 StateU = int(State[21]) | |
3811 StateW = int(State[22]) | |
3812 StateA = int(State[23]) | |
3813 StateB = int(State[24]) | |
3814 StateC = int(State[25]) | |
3815 StateD = int(State[26]) | |
3816 StateE = int(State[27]) | |
3817 StateF = int(State[28]) | |
3818 StateG = int(State[29]) | |
3819 StateH = 0 | |
3820 StateI = 0 | |
3821 StateJ = 0 | |
3822 BF8() | |
3823 StateW = 0 | |
3824 StateA = 0 | |
3825 StateB = 0 | |
3826 StateC = 0 | |
3827 StateD = 0 | |
3828 StateE = 0 | |
3829 StateF = 0 | |
3830 StateG = 0 | |
3831 StateH = 0 | |
3832 StateI = 0 | |
3833 StateJ = 0 | |
3834 BF9() | |
3835 BF10() | |
3836 BF11() | |
3837 print "splice3: unable to find password" | |
3838 sys.exit(0) | |
3839 elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is False: | |
3840 StateU = int(State[21]) | |
3841 StateW = int(State[22]) | |
3842 StateA = int(State[23]) | |
3843 StateB = int(State[24]) | |
3844 StateC = int(State[25]) | |
3845 StateD = int(State[26]) | |
3846 StateE = int(State[27]) | |
3847 StateF = int(State[28]) | |
3848 StateG = int(State[29]) | |
3849 StateH = int(State[30]) | |
3850 StateI = 0 | |
3851 StateJ = 0 | |
3852 BF9() | |
3853 StateW = 0 | |
3854 StateA = 0 | |
3855 StateB = 0 | |
3856 StateC = 0 | |
3857 StateD = 0 | |
3858 StateE = 0 | |
3859 StateF = 0 | |
3860 StateG = 0 | |
3861 StateH = 0 | |
3862 StateI = 0 | |
3863 StateJ = 0 | |
3864 BF10() | |
3865 BF11() | |
3866 print "splice3: unable to find password" | |
3867 sys.exit(0) | |
3868 elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is False: | |
3869 StateU = int(State[21]) | |
3870 StateW = int(State[22]) | |
3871 StateA = int(State[23]) | |
3872 StateB = int(State[24]) | |
3873 StateC = int(State[25]) | |
3874 StateD = int(State[26]) | |
3875 StateE = int(State[27]) | |
3876 StateF = int(State[28]) | |
3877 StateG = int(State[29]) | |
3878 StateH = int(State[30]) | |
3879 StateI = int(State[31]) | |
3880 StateJ = 0 | |
3881 BF10() | |
3882 StateW = 0 | |
3883 StateA = 0 | |
3884 StateB = 0 | |
3885 StateC = 0 | |
3886 StateD = 0 | |
3887 StateE = 0 | |
3888 StateF = 0 | |
3889 StateG = 0 | |
3890 StateH = 0 | |
3891 StateI = 0 | |
3892 StateJ = 0 | |
3893 BF11() | |
3894 print "splice3: unable to find password" | |
3895 sys.exit(0) | |
3896 elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is False: | |
3897 StateU = int(State[21]) | |
3898 StateW = int(State[22]) | |
3899 StateA = int(State[23]) | |
3900 StateB = int(State[24]) | |
3901 StateC = int(State[25]) | |
3902 StateD = int(State[26]) | |
3903 StateE = int(State[27]) | |
3904 StateF = int(State[28]) | |
3905 StateG = int(State[29]) | |
3906 StateH = int(State[30]) | |
3907 StateI = int(State[31]) | |
3908 StateJ = int(State[32]) | |
3909 BF11() | |
3910 print "splice3: unable to find password" | |
3911 sys.exit(0) | |
3912 | |
3913 if RestoreSwitch is False and StdoutSwitch is True: | |
3914 StateU = 0 | |
3915 StateW = 0 | |
3916 StateA = 0 | |
3917 StateB = 0 | |
3918 StateC = 0 | |
3919 StateD = 0 | |
3920 StateE = 0 | |
3921 StateF = 0 | |
3922 StateG = 0 | |
3923 StateH = 0 | |
3924 StateI = 0 | |
3925 StateJ = 0 | |
3926 SBF1() | |
3927 SBF2() | |
3928 SBF3() | |
3929 SBF4() | |
3930 SBF5() | |
3931 SBF6() | |
3932 SBF7() | |
3933 SBF8() | |
3934 SBF9() | |
3935 SBF10() | |
3936 SBF11() | |
3937 sys.exit(0) | |
3938 | |
3939 if StateCount == 21 and RestoreSwitch is True and StdoutSwitch is True: | |
3940 StateU = int(State[21]) | |
3941 StateW = 0 | |
3942 StateA = 0 | |
3943 StateB = 0 | |
3944 StateC = 0 | |
3945 StateD = 0 | |
3946 StateE = 0 | |
3947 StateF = 0 | |
3948 StateG = 0 | |
3949 StateH = 0 | |
3950 StateI = 0 | |
3951 StateJ = 0 | |
3952 SBF1() | |
3953 StateW = 0 | |
3954 StateA = 0 | |
3955 StateB = 0 | |
3956 StateC = 0 | |
3957 StateD = 0 | |
3958 StateE = 0 | |
3959 StateF = 0 | |
3960 StateG = 0 | |
3961 StateH = 0 | |
3962 StateI = 0 | |
3963 StateJ = 0 | |
3964 SBF2() | |
3965 SBF3() | |
3966 SBF4() | |
3967 SBF5() | |
3968 SBF6() | |
3969 SBF7() | |
3970 SBF8() | |
3971 SBF9() | |
3972 SBF10() | |
3973 SBF11() | |
3974 sys.exit(0) | |
3975 if StateCount == 22 and RestoreSwitch is True and StdoutSwitch is True: | |
3976 StateU = int(State[21]) | |
3977 StateW = int(State[22]) | |
3978 StateA = 0 | |
3979 StateB = 0 | |
3980 StateC = 0 | |
3981 StateD = 0 | |
3982 StateE = 0 | |
3983 StateF = 0 | |
3984 StateG = 0 | |
3985 StateH = 0 | |
3986 StateI = 0 | |
3987 StateJ = 0 | |
3988 SBF1() | |
3989 StateW = 0 | |
3990 StateA = 0 | |
3991 StateB = 0 | |
3992 StateC = 0 | |
3993 StateD = 0 | |
3994 StateE = 0 | |
3995 StateF = 0 | |
3996 StateG = 0 | |
3997 StateH = 0 | |
3998 StateI = 0 | |
3999 StateJ = 0 | |
4000 SBF2() | |
4001 SBF3() | |
4002 SBF4() | |
4003 SBF5() | |
4004 SBF6() | |
4005 SBF7() | |
4006 SBF8() | |
4007 SBF9() | |
4008 SBF10() | |
4009 SBF11() | |
4010 sys.exit(0) | |
4011 elif StateCount == 23 and RestoreSwitch is True and StdoutSwitch is True: | |
4012 StateU = int(State[21]) | |
4013 StateW = int(State[22]) | |
4014 StateA = int(State[23]) | |
4015 StateB = 0 | |
4016 StateC = 0 | |
4017 StateD = 0 | |
4018 StateE = 0 | |
4019 StateF = 0 | |
4020 StateG = 0 | |
4021 StateH = 0 | |
4022 StateI = 0 | |
4023 StateJ = 0 | |
4024 SBF2() | |
4025 StateW = 0 | |
4026 StateA = 0 | |
4027 StateB = 0 | |
4028 StateC = 0 | |
4029 StateD = 0 | |
4030 StateE = 0 | |
4031 StateF = 0 | |
4032 StateG = 0 | |
4033 StateH = 0 | |
4034 StateI = 0 | |
4035 StateJ = 0 | |
4036 SBF3() | |
4037 SBF4() | |
4038 SBF5() | |
4039 SBF6() | |
4040 SBF7() | |
4041 SBF8() | |
4042 SBF9() | |
4043 SBF10() | |
4044 SBF11() | |
4045 sys.exit(0) | |
4046 elif StateCount == 24 and RestoreSwitch is True and StdoutSwitch is True: | |
4047 StateU = int(State[21]) | |
4048 StateW = int(State[22]) | |
4049 StateA = int(State[23]) | |
4050 StateB = int(State[24]) | |
4051 StateC = 0 | |
4052 StateD = 0 | |
4053 StateE = 0 | |
4054 StateF = 0 | |
4055 StateG = 0 | |
4056 StateH = 0 | |
4057 StateI = 0 | |
4058 StateJ = 0 | |
4059 SBF3() | |
4060 StateW = 0 | |
4061 StateA = 0 | |
4062 StateB = 0 | |
4063 StateC = 0 | |
4064 StateD = 0 | |
4065 StateE = 0 | |
4066 StateF = 0 | |
4067 StateG = 0 | |
4068 StateH = 0 | |
4069 StateI = 0 | |
4070 StateJ = 0 | |
4071 SBF4() | |
4072 SBF5() | |
4073 SBF6() | |
4074 SBF7() | |
4075 SBF8() | |
4076 SBF9() | |
4077 SBF10() | |
4078 SBF11() | |
4079 sys.exit(0) | |
4080 elif StateCount == 25 and RestoreSwitch is True and StdoutSwitch is True: | |
4081 StateU = int(State[21]) | |
4082 StateW = int(State[22]) | |
4083 StateA = int(State[23]) | |
4084 StateB = int(State[24]) | |
4085 StateC = int(State[25]) | |
4086 StateD = 0 | |
4087 StateE = 0 | |
4088 StateF = 0 | |
4089 StateG = 0 | |
4090 StateH = 0 | |
4091 StateI = 0 | |
4092 StateJ = 0 | |
4093 SBF4() | |
4094 StateW = 0 | |
4095 StateA = 0 | |
4096 StateB = 0 | |
4097 StateC = 0 | |
4098 StateD = 0 | |
4099 StateE = 0 | |
4100 StateF = 0 | |
4101 StateG = 0 | |
4102 StateH = 0 | |
4103 StateI = 0 | |
4104 StateJ = 0 | |
4105 SBF5() | |
4106 SBF6() | |
4107 SBF7() | |
4108 SBF8() | |
4109 SBF9() | |
4110 SBF10() | |
4111 SBF11() | |
4112 sys.exit(0) | |
4113 elif StateCount == 26 and RestoreSwitch is True and StdoutSwitch is True: | |
4114 StateU = int(State[21]) | |
4115 StateW = int(State[22]) | |
4116 StateA = int(State[23]) | |
4117 StateB = int(State[24]) | |
4118 StateC = int(State[25]) | |
4119 StateD = int(State[26]) | |
4120 StateE = 0 | |
4121 StateF = 0 | |
4122 StateG = 0 | |
4123 StateH = 0 | |
4124 StateI = 0 | |
4125 StateJ = 0 | |
4126 SBF5() | |
4127 StateW = 0 | |
4128 StateA = 0 | |
4129 StateB = 0 | |
4130 StateC = 0 | |
4131 StateD = 0 | |
4132 StateE = 0 | |
4133 StateF = 0 | |
4134 StateG = 0 | |
4135 StateH = 0 | |
4136 StateI = 0 | |
4137 StateJ = 0 | |
4138 SBF6() | |
4139 SBF7() | |
4140 SBF8() | |
4141 SBF9() | |
4142 SBF10() | |
4143 SBF11() | |
4144 sys.exit(0) | |
4145 elif StateCount == 27 and RestoreSwitch is True and StdoutSwitch is True: | |
4146 StateU = int(State[21]) | |
4147 StateW = int(State[22]) | |
4148 StateA = int(State[23]) | |
4149 StateB = int(State[24]) | |
4150 StateC = int(State[25]) | |
4151 StateD = int(State[26]) | |
4152 StateE = int(State[27]) | |
4153 StateF = 0 | |
4154 StateG = 0 | |
4155 StateH = 0 | |
4156 StateI = 0 | |
4157 StateJ = 0 | |
4158 SBF6() | |
4159 StateW = 0 | |
4160 StateA = 0 | |
4161 StateB = 0 | |
4162 StateC = 0 | |
4163 StateD = 0 | |
4164 StateE = 0 | |
4165 StateF = 0 | |
4166 StateG = 0 | |
4167 StateH = 0 | |
4168 StateI = 0 | |
4169 StateJ = 0 | |
4170 SBF7() | |
4171 SBF8() | |
4172 SBF9() | |
4173 SBF10() | |
4174 SBF11() | |
4175 sys.exit(0) | |
4176 elif StateCount == 28 and RestoreSwitch is True and StdoutSwitch is True: | |
4177 StateU = int(State[21]) | |
4178 StateW = int(State[22]) | |
4179 StateA = int(State[23]) | |
4180 StateB = int(State[24]) | |
4181 StateC = int(State[25]) | |
4182 StateD = int(State[26]) | |
4183 StateE = int(State[27]) | |
4184 StateF = int(State[28]) | |
4185 StateG = 0 | |
4186 StateH = 0 | |
4187 StateI = 0 | |
4188 StateJ = 0 | |
4189 SBF7() | |
4190 StateW = 0 | |
4191 StateA = 0 | |
4192 StateB = 0 | |
4193 StateC = 0 | |
4194 StateD = 0 | |
4195 StateE = 0 | |
4196 StateF = 0 | |
4197 StateG = 0 | |
4198 StateH = 0 | |
4199 StateI = 0 | |
4200 StateJ = 0 | |
4201 SBF8() | |
4202 SBF9() | |
4203 SBF10() | |
4204 SBF11() | |
4205 sys.exit(0) | |
4206 elif StateCount == 29 and RestoreSwitch is True and StdoutSwitch is True: | |
4207 StateU = int(State[21]) | |
4208 StateW = int(State[22]) | |
4209 StateA = int(State[23]) | |
4210 StateB = int(State[24]) | |
4211 StateC = int(State[25]) | |
4212 StateD = int(State[26]) | |
4213 StateE = int(State[27]) | |
4214 StateF = int(State[28]) | |
4215 StateG = int(State[29]) | |
4216 StateH = 0 | |
4217 StateI = 0 | |
4218 StateJ = 0 | |
4219 SBF8() | |
4220 StateW = 0 | |
4221 StateA = 0 | |
4222 StateB = 0 | |
4223 StateC = 0 | |
4224 StateD = 0 | |
4225 StateE = 0 | |
4226 StateF = 0 | |
4227 StateG = 0 | |
4228 StateH = 0 | |
4229 StateI = 0 | |
4230 StateJ = 0 | |
4231 SBF9() | |
4232 SBF10() | |
4233 SBF11() | |
4234 sys.exit(0) | |
4235 elif StateCount == 30 and RestoreSwitch is True and StdoutSwitch is True: | |
4236 StateU = int(State[21]) | |
4237 StateW = int(State[22]) | |
4238 StateA = int(State[23]) | |
4239 StateB = int(State[24]) | |
4240 StateC = int(State[25]) | |
4241 StateD = int(State[26]) | |
4242 StateE = int(State[27]) | |
4243 StateF = int(State[28]) | |
4244 StateG = int(State[29]) | |
4245 StateH = int(State[30]) | |
4246 StateI = 0 | |
4247 StateJ = 0 | |
4248 SBF9() | |
4249 StateW = 0 | |
4250 StateA = 0 | |
4251 StateB = 0 | |
4252 StateC = 0 | |
4253 StateD = 0 | |
4254 StateE = 0 | |
4255 StateF = 0 | |
4256 StateG = 0 | |
4257 StateH = 0 | |
4258 StateI = 0 | |
4259 StateJ = 0 | |
4260 SBF10() | |
4261 SBF11() | |
4262 sys.exit(0) | |
4263 elif StateCount == 31 and RestoreSwitch is True and StdoutSwitch is True: | |
4264 StateU = int(State[21]) | |
4265 StateW = int(State[22]) | |
4266 StateA = int(State[23]) | |
4267 StateB = int(State[24]) | |
4268 StateC = int(State[25]) | |
4269 StateD = int(State[26]) | |
4270 StateE = int(State[27]) | |
4271 StateF = int(State[28]) | |
4272 StateG = int(State[29]) | |
4273 StateH = int(State[30]) | |
4274 StateI = int(State[31]) | |
4275 StateJ = 0 | |
4276 SBF10() | |
4277 StateW = 0 | |
4278 StateA = 0 | |
4279 StateB = 0 | |
4280 StateC = 0 | |
4281 StateD = 0 | |
4282 StateE = 0 | |
4283 StateF = 0 | |
4284 StateG = 0 | |
4285 StateH = 0 | |
4286 StateI = 0 | |
4287 StateJ = 0 | |
4288 SBF11() | |
4289 sys.exit(0) | |
4290 elif StateCount == 32 and RestoreSwitch is True and StdoutSwitch is True: | |
4291 StateU = int(State[21]) | |
4292 StateW = int(State[22]) | |
4293 StateA = int(State[23]) | |
4294 StateB = int(State[24]) | |
4295 StateC = int(State[25]) | |
4296 StateD = int(State[26]) | |
4297 StateE = int(State[27]) | |
4298 StateF = int(State[28]) | |
4299 StateG = int(State[29]) | |
4300 StateH = int(State[30]) | |
4301 StateI = int(State[31]) | |
4302 StateJ = int(State[32]) | |
4303 SBF11() | |
4304 sys.exit(0) | |
4305 | |
4306 print "splice3: unknown error: please report bug to author" | |
4307 sys.exit(1) |