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