Forward OTPs automatically using termux and python - Hindi
How to Set Up an Interesting Script for Automatic OTP Forwarding
Introduction to the Script
- The video introduces a unique script created by the speaker, designed to automate the forwarding of OTPs (One-Time Passwords) or verification codes from one device to another.
- The speaker emphasizes that this process can run in the background without any interruptions.
Setting Up the Device
- The speaker explains how to set up the script on their device and encourages viewers to follow along if they wish to use it.
- Instructions begin with opening Google Chrome and accessing a specific link for downloading the necessary APK file, which is approximately 6 MB in size.
Installation Process
- After downloading, the speaker demonstrates how to install the app and grant necessary permissions within settings.
- Viewers are guided through checking app notifications and ensuring all required permissions are granted for proper functionality.
Configuration Steps
- The installation continues with updating components and correcting any spelling errors during setup.
- The speaker discusses installing additional packages needed for running Python scripts, highlighting that these scripts will facilitate communication between devices.
Purpose of Automation
- The motivation behind creating this script stems from personal challenges faced when needing access to OTP codes sent to a secondary phone while away from home.
- By automating this process, any incoming OTP on the secondary phone is forwarded directly to the primary phone without manual intervention.
Final Setup and Testing
- As part of finalizing setup, configurations are checked, ensuring no extra directories exist that could interfere with operations.
- Viewers are encouraged to subscribe for updates as further details about troubleshooting common issues related to SMS forwarding will be shared later in the video.
Key Features of SMS Forwarding
- Important features include setting specific conditions under which SMS messages will be forwarded based on keywords like "OTP" or "verification code."
- Users can configure multiple phone numbers but may choose only one for simplicity; settings also include tracking when messages were last forwarded.
This structured approach provides clarity on each step involved in setting up an automated system for managing OTP messages effectively.
SMS Forwarding and Configuration Process
Overview of SMS Forwarding
- The process of SMS forwarding is introduced, indicating that it will continue to operate after a certain period unless stopped. A new message will be sent as part of the combination setup.
- Demonstration of sending an OTP (One-Time Password) via SMS, confirming that messages are being forwarded to the designated number set up in the system.
- Encouragement for viewers to like and subscribe for more content while reiterating the functionality of sending verification codes through SMS.
Functionality and Testing
- Verification code messages are shown arriving from different numbers, emphasizing that background processes are functioning correctly during testing.
- Viewers are informed about comments made by users regarding their understanding of the ongoing processes, suggesting community engagement.
Configuration Settings
- Discussion on adjustable settings within the application, including options for looping messages and default configurations such as voicemail treatment.
- Temporary files play a crucial role in saving device configurations; this ensures that previous settings remain intact even after reboots or reports.
Execution and User Interaction
- The system checks existing configurations upon execution; if not found, it creates new configuration files based on user input.
- Date and time checks are performed to ensure accurate execution; users can confirm whether they want to repeat actions based on prompts received.
Final Notes on Usage
- The importance of comparing folders with existing setups is highlighted for effective management of SMS functionalities within the app.
- Users are encouraged to utilize scripts effectively; any issues encountered during setup should be reported in comments or through a Telegram group for support.