>_⠀BuriXon-code⠀⠀⠀

SMS2Shell allows you to execute commands via...
SMS!

Using Termux:API, the script retrieves the list of recently received SMS every few seconds, searching for the appropriate prefix/prompt ">>", and then reads the content of the SMS message, recognizes predefined commands, and executes them, sending a response with the result of the command and/or a comment.
Interesting, right?

Example usage: You can't find your phone and worry it might be lost? You can try sending an SMS saying ">> LOCATION" and the phone will tell you where it is within a few seconds!
Another example: You have an Apache2 HTTP server running on your phone, but it's not always active. A friend urgently needs to access it. Send a quick SMS ">> APACHE ON" and the server is up and running!


That's just a few examples. There are plenty of possibilities. If you have ideas for cool implementations for the script, let me know, and I'll release new versions!

If your curiosity is piqued, click the button below and give it a try!

Github
Back