|
11 | 11 | import bcrypt |
12 | 12 | from datetime import datetime |
13 | 13 | from prompt_toolkit import print_formatted_text, HTML |
14 | | - |
| 14 | +import random |
15 | 15 | #changes the size of the Command promp so it is easyer to read (and that the ASCII doesnt soft wrap) |
16 | 16 |
|
17 | 17 | def window_resize_startup(): |
@@ -82,9 +82,24 @@ def loading_bars_intro_2(): |
82 | 82 | for i in pb(range(215), label=label): |
83 | 83 | time.sleep(.01) |
84 | 84 | time.sleep(1) |
| 85 | + #generates a 5 digit number from 0-9 |
| 86 | + securecodestartup1 = random.randint(0,9) |
| 87 | + securecodestartup2 = random.randint(0,9) |
| 88 | + securecodestartup3 = random.randint(0,9) |
| 89 | + securecodestartup4 = random.randint(0,9) |
| 90 | + securecodestartup5 = random.randint(0,9) |
| 91 | + |
| 92 | + print('Codes found! code is:') |
| 93 | + time.sleep(1.5) |
| 94 | + #prints that generated number |
| 95 | + print(securecodestartup1,securecodestartup2,securecodestartup3,securecodestartup4,securecodestartup5) |
| 96 | + print("checking.... system expected code is:") |
| 97 | + time.sleep(1.5) |
| 98 | + print(securecodestartup1,securecodestartup2,securecodestartup3,securecodestartup4,securecodestartup5) |
| 99 | + time.sleep(2) |
| 100 | + print("code approved! moving on...") |
| 101 | + #a cool lil thing for a secure startup! |
85 | 102 |
|
86 | | - print("codes found! checking with system.... approved!") |
87 | | - time.sleep(0.2) |
88 | 103 |
|
89 | 104 | def loading_bars_intro_3(): |
90 | 105 |
|
|
0 commit comments