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