-
Notifications
You must be signed in to change notification settings - Fork 0
/
lazy.py
308 lines (281 loc) Β· 18.6 KB
/
lazy.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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
import subprocess
import random
import sys
import os
from selenium import webdriver
import time
import os
from colorama import Fore,init
import datetime
import requests
init()
clear = lambda: os.system('cls')
clear()
random_banner = random.randint(1,7)
if random_banner == 1:
print(Fore.GREEN,"""
: :
., t#, t#, L. ,; . .
,Wt ;##W. ;##W. i i t EW: ,ft f#i ;W ;W
i#D. :#L:WE :#L:WE LE LE .. Ej E##; t#E .E#t f#E f#E
f#f .KG ,#D .KG ,#D L#E L#E ;W, ,##############Wf.E#, E###t t#E i#W, .E#f .E#f
.D#i EE ;#f EE ;#f G#W. G#W. j##, ........jW##Wt E#t E#fE#f t#E L#D. iWW; iWW;
:KW, f#. t#i f#. t#i D#K. D#K. G###, tW##Kt E#t E#t D#G t#E :K#Wfff; L##Lffi L##Lffi
t#f :#G GK :#G GK E#K. E#K. :E####, tW##E; E#t E#t f#E. t#E i##WLLLLt tLLG##L tLLG##L
;#G ;#L LW. ;#L LW. .E#E. .E#E. ;W#DG##, tW##E; E#t E#t t#K: t#E .E#L ,W#i ,W#i
:KE. t#f f#: t#f f#: .K#E .K#E j###DW##, .fW##D, E#t E#t ;#W,t#E f#E: j#E. j#E.
.DW: f#D#; f#D#; .K#D .K#D G##i,,G##, .f###D, E#t E#t :K#D#E ,WW; .D#j .D#j
L#, G#t G#t .W#G .W#G :K#K: L##, .f####Gfffffffffff; E#t E#t .E##E .D#; ,WK, ,WK,
jt t t :W##########Wt :W##########Wt ;##D. L##, .fLLLLLLLLLLLLLLLLLi E#t .. G#E tt EG. EG.
:,,,,,,,,,,,,,. :,,,,,,,,,,,,,.,,, .,, ,;. fE , ,
, """)
elif random_banner == 2:
print(Fore.RED,""" ββββββ ββββββ ββββββ βββ βββ βββ βββββββββ βββ ββββ β ββββββ ββββββ ββββββ
ββββ ββ ββββ βββββββ βββββββ ββββ ββββββ β β β βββββββ ββ ββ β ββ β βββ β βββ β
βββ β ββββ βββββββ βββββββ ββββ βββ βββ β β ββββ βββββββ ββ βββββββ β ββββ β ββββ
ββββ βββββββ ββββββ βββββββ ββββ βββββββββ βββ βββββββββ ββββββββ β β βββ β βββ
β βββββ ββ ββββββββ βββββββββββββββ ββββββββββ βββββββββββββββββββββ βββββββββββββββββββββββββββββ
β ββ β ββ ββββββ β ββββββ β βββ β β βββ βββ βββββββ βββββββ β ββ β β ββ ββ ββ βββ β ββ βββ β β
β β β β ββ β β ββ β β β β β β β β β ββ ββββ β β β β ββ ββ β ββ β β ββ ββ β ββ ββ β β
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
β β β β β β β β β β β β β β β β β β β β
β β """)
elif random_banner == 3:
print(Fore.BLUE,"""
# ### ### ###
/ /### / ### ### #
/ / ###/ ## ## ###
/ ## ## ## ## #
/ ### ## ##
## ## /### /### ## ## /### ###### ### ### /### /## /### /###
## ## / ### / / ### / ## ## / ### / /####### ### ###/ #### / / ### / #### / / #### /
## ## / ###/ / ###/ ## ## / ###/ / ## ## ## ###/ / ### ## ###/ ## ###/
## ## ## ## ## ## ## ## ## ## / ## ## ## ## ### #### ####
## ## ## ## ## ## ## ## ## ## / ## ## ## ######## ### ###
## ## ## ## ## ## ## ## ## ## ### ## ## ## ####### ### ###
## # / ## ## ## ## ## ## ## ## ### ## ## ## ## ### ###
### / ## ## ## ## ## ## ## /# ### ## ## ## #### / /### ## /### ##
######/ ###### ###### ### / ### / ####/ ## ## ### / ### ### ######/ / #### / / #### /
### #### #### ##/ ##/ ### ## ## ##/ ### ### ##### ###/ ###/
/
/
/
/ """)
elif random_banner == 4:
print(Fore.YELLOW,""" ****** ** ** **
**////** /** /** //
** // ****** ****** /** /** ****** ****** ** ******* ***** ****** ******
/** **////** **////** /** /** //////** ////** /**//**///** **///** **//// **////
/** /** /**/** /** /** /** ******* ** /** /** /**/*******//***** //*****
//** **/** /**/** /** /** /** **////** ** /** /** /**/**//// /////** /////**
//****** //****** //****** *** ***//******** ******/** *** /**//****** ****** ******
////// ////// ////// /// /// //////// ////// // /// // ////// ////// ////// """)
elif random_banner == 5:
print(Fore.GREEN,""" #####
# # #### #### # # ## ###### # # # ###### #### ####
# # # # # # # # # # # ## # # # #
# # # # # # # # # # # # # # ##### #### ####
# # # # # # # ###### # # # # # # # #
# # # # # # # # # # # # # ## # # # # #
##### #### #### ###### ###### # # ###### # # # ###### #### ####
""")
elif random_banner == 6:
print(Fore.WHITE,"""________ ________ ________ ___ ___ ________ ________ ___ ________ _______ ________ ________
|\ ____\|\ __ \|\ __ \|\ \ |\ \ |\ __ \|\_____ \|\ \|\ ___ \|\ ___ \ |\ ____\ |\ ____\
\ \ \___|\ \ \|\ \ \ \|\ \ \ \ \ \ \ \ \ \|\ \\|___/ /\ \ \ \ \\ \ \ \ __/|\ \ \___|_\ \ \___|_
\ \ \ \ \ \\\ \ \ \\\ \ \ \ \ \ \ \ \ __ \ / / /\ \ \ \ \\ \ \ \ \_|/_\ \_____ \\ \_____ \
\ \ \____\ \ \\\ \ \ \\\ \ \ \____ \ \ \____\ \ \ \ \ / /_/__\ \ \ \ \\ \ \ \ \_|\ \|____|\ \\|____|\ \
\ \_______\ \_______\ \_______\ \_______\ \ \_______\ \__\ \__\\________\ \__\ \__\\ \__\ \_______\____\_\ \ ____\_\ \
\|_______|\|_______|\|_______|\|_______| \|_______|\|__|\|__|\|_______|\|__|\|__| \|__|\|_______|\_________\\_________\
\|_________\|_________|
""")
elif random_banner == 7:
print(""" βββββββ βββββββ βββββββ βββ βββ ββββββ βββββββββββββββ βββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββ βββ ββββββββββββββββββββββββ βββββββββββββββββββββββββββ
βββ βββ ββββββ ββββββ βββ ββββββββ βββββ βββββββββ βββββββββ ββββββββββββββββ
βββ βββ ββββββ ββββββ βββ ββββββββ βββββ βββββββββββββββββββ ββββββββββββββββ
ββββββββββββββββββββββββββββββββββ βββββββββββ βββββββββββββββββ ββββββββββββββββββββββββββββββ
βββββββ βββββββ βββββββ ββββββββ βββββββββββ βββββββββββββββββ βββββββββββββββββββββββββββββ""")
while True:
print(Fore.GREEN,"""\n βββββββββββββ¬
1ββ β β¬β ββ β¬ββ€ β //
βββββββββββββ΄ββ
βββββ¬βββ¬β
2ββ β βββ ββ //
ββββ΄ β΄ββ΄β
ββ¬ββ¬ββ¬ββββ
3___ β ββββββ€ // ?
β΄ β΄β΄ β΄βββ
ββββββββ¬ββ¬ β¬ββββ¬ββ ββββ¬ββββ¬ β¬ββββββ
4____ β β ββββββββββ€ ββ¬β ββββββββββ€ββ€ βββ
βββββββ΄ β΄ ββ ββββ΄ββ ββββ΄ββββ΄ β΄ββββββ
""")
key = input(Fore.RED+"\n{X_X} ?...β :>> ")
if key == "0":
sys.exit()
elif key == "1":
clear = lambda: os.system('cls')
clear()
print(Fore.RED,"\n..................... gogel website ......................................")
print(Fore.BLUE,"""\n\t\t [1] instagram.com / [2] facebook.com / [3] tiktok.com
[4] github.com \ [5] youtube.com \ [6] touter.com
[7] reddit.com / [8] netflix.com / [0] back
[00] exit |""")
geg = 1
while geg == 1:
gogel = input("\nYou r website ?? ")
driver = webdriver.Firefox()
if gogel == "1":
username_instagram = input("ok! please you r user name instagram: ")
password_instagram = input("password instagram : ")
driver.get("http://www.instagram.com")
user_insta = driver.find_element_by_xpath('/html/body/div[1]/section/main/article/div[2]/div[1]/div/form/div/div[1]/div/label/input')
user_insta.send_keys(username_instagram)
passwd_insta = driver.find_element_by_xpath('/html/body/div[1]/section/main/article/div[2]/div[1]/div/form/div/div[2]/div/label/input')
passwd_insta.send_keys(password_instagram)
driver.find_element_by_xpath('/html/body/div[1]/section/main/article/div[2]/div[1]/div/form/div/div[3]').click()
elif gogel == "2":
driver.get('http://facebook.com/')
elif gogel == "3":
driver.get('http://tiktok.com/')
elif gogel == "4":
driver.get('http://github.com/')
elif gogel == "5":
driver.get('http://youtube.com/')
elif gogel == "6":
driver.get('http://touter.com/')
elif gogel == "7":
driver.get('http://reddit.com/')
elif gogel == "8":
driver.get('\http://netflix.com/')
elif gogel == "0":
geg += 1
elif gogel == "00":
sys.exit()
else:
print("Not Website!")
elif key == "2":
clear = lambda: os.system('cls')
clear()
print(Fore.GREEN,"""\n\t\t :'######::'##::::'##:'########::
'##... ##: ###::'###: ##.... ##:
##:::..:: ####'####: ##:::: ##:
##::::::: ## ### ##: ##:::: ##:
##::::::: ##. #: ##: ##:::: ##:
##::: ##: ##:.:: ##: ##:::: ##:
. ######:: ##:::: ##: ########::
:......:::..:::::..::........:::""")
print(Fore.RED,"""
1) run python;
2) off pc;
3) new file;
4) rmove file;
5) list file to dairedtiry;
6) addres pwd;
7) ip;
0) back to ...
00) exit()
+_+ & +_+
""")
p = 1
while p == 1:
cmd = input(Fore.WHITE+"plese You Comand CMD $_ ")
if cmd == "1":
os.system('python')
elif cmd == "2":
uu = input("you r pc dune !(y & n) ")
if uu == "y":
os.system("shutdown /s /t 1")
elif cmd == "3":
file = input("addres :: ")
os.chdir(file)
new = input("name you, r file+(txt,py ...) > ")
open(new, 'a')
print("ok new file", file)
elif cmd == "4":
file = input("addres :: ")
os.chdir(file)
nm = input("rmove file :^ ")
os.listdir()
os.remove(nm)
print("ok rmove!")
os.listdir()
elif cmd == "5":
close = lambda: os.system('cls')
close()
cwd = os.getcwd()
print(Fore.GREEN+"""
* File:
---------------------------------------------------------
[---------------------- ! ----------------------------]""")
for dir_path, dir_names, file_names in os.walk(cwd):
for f in file_names:
print("\n [2021] ~ ",f)
elif cmd == "6":
yp = os.getcwd()
print(yp)
elif cmd == "7":
ip = subprocess.getoutput("ipconfig")
print(ip)
elif cmd == "0":
p += 3
elif cmd == "00":
sys.exit()
else:
print("please try agin! ")
elif key == "3":
clear = lambda: os.system('cls')
clear()
print("<1> <hurs> , <2> <tim aig> , <0> <back to > , <00> <exit>")
ss =1
while ss == 1:
y = input("\nwhats timing #")
if y == "2":
o = input("time start :")
oo = input("time stop .")
for i in range(o,oo):
print(i)
time.sleep(1)
elif y == "1":
w = time.time()
print(w)
elif y == "00":
sys.exit()
elif y == "0":
ss += 1
elif key == "4":
clear = lambda: os.system('cls')
clear()
print(Fore.GREEN,"""\n::: ::: :::::::: ::::::::: ::: ::: :::::::::: :::::::::
:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+
+#+ +:+ +#+ +#+ +:+ +#++:++#: +#++:++ +#++:++# +#+ +:+
+#+ +#+#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+
#+#+# #+#+# #+# #+# #+# #+# #+# #+# #+# #+# #+#
### ### ######## ### ### ### ### ########## ######### """)
print("""
#1 Machine!
#0 back!
#00 exit!""")
m = 1
while m == 1:
h = input("\nYOU key ")
if h == "1":
num1 = input("Plese insert the first number: ")
num2 = input("Plese insert the first number: ")
operation = input("Please insert your desired operation among: + - * / ")
if operation == "+":
result = float(num1) + float(num2)
elif operation == "-":
result = float(num1) - float(num2)
elif operation == "*":
result = float(num1) * float(num2)
elif operation == "/":
result = float(num1) / float(num2)
else:
result = "The operation by the user is wrong!"
print(result)
elif h == "0":
m+=1
elif h == "00":
sys.exit()