forked from Geonaute/WPA-ro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwatchdoggos.py
38 lines (35 loc) · 861 Bytes
/
watchdoggos.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
import console, time, sys, string, random
def crypt(word):
id = list(word)
for _ in range(len(word)):
rd = "".join(random.sample(string.printable[:75]*5,len(word)))
for __ in word:
rd = "".join(random.sample(string.printable[:75]*5,len(word)))
cr = rd[_+1:]+word[_]
sys.stdout.write("\r"+cr)
time.sleep(random.choice([0.05,0.005,0.03,0.009]))
for _ in range(len(word)):
sys.stdout.write("\r"+word[:_+1])
time.sleep(0.05)
print
print
import console
from os import listdir
console.set_font("Menlo",30)
crypt("\t Watch_Doggos")
console.set_font()
print "\nWhat Program Would You Like To Run?"
for _ in listdir("./"):
if _.endswith(".py"):
sys.stdout.write(_+" ")
time.sleep(0.2)
print "\n"
while 1:
try:
cmd = "import "+raw_input("> ")
if cmd == "import exit":
break
try:
exec(cmd)
except: pass
except: sys.exit()