-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTop_Secret.py
209 lines (191 loc) · 7.05 KB
/
Top_Secret.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
from time import sleep
import sys
if sys.platform == "linux" or sys.platform == "linux2":
p = "linux"
elif sys.platform == "darwin":
p = "os x"
elif sys.platform == "win32":
p = "win"
def fase_1():
sys.stdout.write('\n')
sys.stdout.flush()
sleep(5)
phrases = [" Why did you open this?! ", " Close it! It's illegal!!! ", " You can't see what's inside!!! ", " Just fucking close it! Or the FBI will come for you! ", " I'm not joking! "]
delay_btw_phrases = [2,3,2,4,0]
delay_btw_chars = [0.05,0.08,0.08,0.08,0.1]
id_chars = 0
for phrase in phrases:
for char in phrase:
sys.stdout.write(char)
sys.stdout.flush()
sleep(delay_btw_chars[id_chars])
sleep(delay_btw_phrases[id_chars])
sys.stdout.write('\n')
sys.stdout.flush()
id_chars += 1
def fase_2():
phrases = [" Well... "," I am not responsible for what you will do once you read this all! "," You should use your OWN FUCKING HEAD!!! "," The question is... "," Are you hatred? "," Because I am! "," Do you even know what I hate the most??? "," Your fucking rules!! "," Yes, rules like money. Money is one of those rules, that everyone follows... "," I don't want to follow your fucking rules, Idiots! "," You know what? "," I did my own fucking maths rules "," You even can divide by zero now (NO FUCKING JOKE!) "," I'll show you "," You will need to enter 2 numbers and an operator "]
delay_btw_phrases = [5,3,9,6,8,1,1,1,1,8,4,1,1,1,0]
delay_btw_chars = [0.08,0.08,0.08,0.08,0.3,0.2,0.08,0.08,0.08,0.08,0.08,0.08,0.08,0.2,0.08]
id_chars = 0
for phrase in phrases:
for char in phrase:
sys.stdout.write(char)
sys.stdout.flush()
sleep(delay_btw_chars[id_chars])
sleep(delay_btw_phrases[id_chars])
sys.stdout.write('\n')
sys.stdout.flush()
if id_chars == 9 or id_chars == 2:
sys.stdout.write('\n')
sys.stdout.flush()
id_chars += 1
def fase_3():
sys.stdout.write('\n')
sys.stdout.flush()
phrases = [" I know what you are thinkig... "," It couldn't be possible... "," But it is! ","\n EVERYTHING IS FUCKING POSSIBLE!!! ","\n The rules are as follows: when the result is equal a 0 is 0 else is 1 ","\n Btw, I know how many times you tried this... "]
delay_btw_phrases = [5,3,2,6,1,1,1,0]
delay_btw_chars = [0.08,0.08,0.08,0.08,0.15,0.15,0.08,0.08]
if c == 1:
phrases.append(f" You tried this for only {c} time ")
else:
phrases.append(f" You tried this for {c} times ")
phrases.append(" But this info is useless right now, for you and for me... ")
id_chars = 0
for phrase in phrases:
for char in phrase:
sys.stdout.write(char)
sys.stdout.flush()
sleep(delay_btw_chars[id_chars])
sleep(delay_btw_phrases[id_chars])
sys.stdout.write('\n')
sys.stdout.flush()
id_chars += 1
def fase_4():
sys.stdout.write('\n')
sys.stdout.flush()
phrases = [" Do you even know what are FUCKING RULES??? "," All the FUCKING RULES are invented by people like you!!! "," This means only one thing... "," If you don't want to follow the rules of others, but you are following them (money for example), YOU ARE A FUCKING IDIOT! ","\n THERE ARE NO LEGAL OR ILLEGAL THINGS IN THE WHOLE LIFE! "," The only thing you should follow is: "," Live and let live others, don't bother them!!! ","\n FUCKING IDIOTS!!! "," I HATE YOUR FUCKING RULES!!! "," DON'T BOTHER ME WITH YOUR FUCKING RULES ANYMORE!!! ","\n One last question... ","\n Do you want to continue follow the rules of others? "]
delay_btw_phrases = [5,3,2,6,1,1,1,1,1,8,1,0]
delay_btw_chars = [0.08,0.08,0.08,0.08,0.15,0.15,0.08,0.08,0.08,0.08,0.08,0.08]
id_chars = 0
for phrase in phrases:
for char in phrase:
sys.stdout.write(char)
sys.stdout.flush()
sleep(delay_btw_chars[id_chars])
sleep(delay_btw_phrases[id_chars])
sys.stdout.write('\n')
sys.stdout.flush()
id_chars += 1
sys.stdout.write('\n')
sys.stdout.flush()
def math_hack():
sys.stdout.write('\n')
sys.stdout.flush()
a = ""
b = ""
c = ""
value_check = False
while value_check == False:
a = input(" First number: ")
try:
a = int(a)
value_check = True
except ValueError:
value_check = False
while b != "+" and b != "-" and b != "*" and b != "/":
b = input(" Operator [+, -, /, *]: ")
value_check = False
while value_check == False:
c = input(" Second number: ")
try:
c = int(c)
value_check = True
except ValueError:
value_check = False
sys.stdout.write('\n')
sys.stdout.flush()
if b == "+":
r = a+c
elif b == "-":
r = a-c
elif b == "/":
try:
r = a/c
except:
r = 0
elif b == "*":
r = a*c
result = f" {a}{b}{c} = {int(bool(r))}"
for char in result:
sys.stdout.write(char)
sys.stdout.flush()
sleep(0.8)
sys.stdout.write('\n\n')
sys.stdout.flush()
fase_1()
input()
fase_2()
i = "1"
c = 0
while i == "1":
math_hack()
print(" If you want to try again enter '1' ")
sleep(0.7)
i = input(" Else, just press enter: ")
c += 1
fase_3()
fase_4()
answer = ""
while answer != "n" and answer != "y":
answer = input(" [y/n]: ")
sys.stdout.write('\n')
sys.stdout.flush()
if answer == "y":
phrases = [" I could fully broke your pc right now, Idiot! "," But i just shutdown it... "]
delay_btw_phrases = [5,0.05]
delay_btw_chars = [0.08,0.12]
id_chars = 0
for phrase in phrases:
for char in phrase:
sys.stdout.write(char)
sys.stdout.flush()
sleep(delay_btw_chars[id_chars])
sleep(delay_btw_phrases[id_chars])
sys.stdout.write('\n')
sys.stdout.flush()
id_chars += 1
import os
try:
os.remove("Top_Secret.py")
except:
pass
if p == "win":
os.system("shutdown /s /f /t 0")
else:
try:
os.system("shutdown -h now")
except:
pass
try:
import subprocess
cmdCommand = "shutdown -h now"
process = subprocess.Popen(cmdCommand.split(), stdout=subprocess.PIPE)
except:
pass
exit()
else:
phrases = [" Well... "," I have nothing more to say"]
delay_btw_phrases = [5,5]
delay_btw_chars = [0.08,0.08]
id_chars = 0
for phrase in phrases:
for char in phrase:
sys.stdout.write(char)
sys.stdout.flush()
sleep(delay_btw_chars[id_chars])
sleep(delay_btw_phrases[id_chars])
sys.stdout.write('\n')
sys.stdout.flush()
id_chars += 1
exit()