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