Skip to content

This Is A Python Script That Forwards SMS Messages To A Discord Webhook

License

Notifications You must be signed in to change notification settings

JOY6IX9INE/Sms-Forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SMS Forwarder

This is a Python script that forwards SMS messages to a Discord channel. It utilizes the Termux API to access SMS messages on an Android device and sends the messages to Discord using a webhook.

Setup

  1. Install Termux & Termux Api on your Android device.

  2. Install the required packages by running the following command in Termux:

    pkg install python
    pkg install git
  3. Clone this repository by running the following command :

    git clone https://github.com/JOY6IX9INE/Sms-Forwarder
  4. Change to the cloned directory :

    cd SMS-FORWARDER
  5. Install the necessary Python packages by running the following command :

    pip install -r requirements.txt
  6. Open the script file main.py in a text editor and replace the webhook_url variable with your Discord webhook URL. Make sure the URL is valid and has the appropriate permissions.

  7. Save the changes to the script file.

Usage

  1. Open Termux on your Android device.

  2. Change to the directory where the script is located :

    cd path/to/Sms-Forwarder
  3. Run the script by executing the following command :

    python main.py
  4. The script will start monitoring SMS messages and forward any messages it detects to the specified Discord channel.

Additional Notes

  • You can customize the filters used to detect OTP or other messages by modifying the filters list in the script. Add or remove keywords as needed.
  • Press Ctrl + C to stop the script.

Note: This script is specifically designed for Android devices running Termux and may not work on other platforms.

Disclaimer

This tool is created for educational purposes and ethical use only. Any misuse of this tool for malicious purposes is not condoned. The developers of this tool are not responsible for any illegal or unethical activities carried out using this tool.