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