A simple service that allows you to run commands on the server using text

Related tags

Miscellaneous python
Overview

Server Text

A simple flask service that allows you to run commands on the server/computer over sms. Think of it as a shell where you run commands over sms

Watch Demo Video Here

Please note this is an early version of the program We are also aware of various security issues that comes with this program. We would highly recommend not to run this on production servers. You can run this program to experiment locally

Installation

You can view installation demo here Note: I use python version 3.9 but 3.6 is being widely used

  • Before you clone the repo make sure you have python3 and pipenv installed on your machine.You can always verify python by running python3 --version on commandline and if you don't have pipenv installed you can refer to the docs

  • Once you have python and pipenv installed now you can clone the repo git clone https://github.com/mtdevss/server-text.git.

  • Now cd server-text/ and run pipenv shell to activate the virtual environment and pipenv install to install the dependencies.

  • Once you have installed the dependencies before you run the script make sure to populate the script with your email,pas ,number from which you will be sending texts from, and imap server of your email provider

Example

mail = '[email protected]'# Where you will be receiving texts sent from number
pas = '<email_pass>'
number = '+1[number]@SMS_GATEWAY'# from which you will be sending
imap_server = '<your_email_provider_imap>'
  • Now you can start the server by following command python3 script.py

  • Before you view the output makesure to send a command like ls -la from your phone to the email and open localhost:5000 on your browser to see the output of your command.

SMS GATEWAYS

You can find your sms gateway here

  • AT&T: [number]@txt.att.net
  • Sprint: [number]@messaging.sprintpcs.com or [number]@pm.sprint.com
  • T-Mobile: [number]@tmomail.net
  • Verizon: [number]@vtext.com
  • Boost Mobile: [number]@myboostmobile.com
  • Cricket: [number]@sms.mycricket.com
  • Metro PCS: [number]@mymetropcs.com
  • Tracfone: [number]@mmst5.tracfone.com
  • U.S. Cellular: [number]@email.uscc.net
  • Virgin Mobile: [number]@vmobl.com
  • Google Fi: [number]@msg.fi.google.com
  • Ting: [number]@message.ting.com
  • Telus Mobile: [number]@msg.telus.com
  • Viaero: [number]@viaerosms.com

NOTE: Make sure to add +1 before the number.

Contribution

  • This is available under MIT license and contributions are welcomed.
  • Currently its version 1.0 we do plan to improve this further.
  • If you would like to contribute to this feel free to fork and create a PR and we would be happy to merge your contribution.

Note

  • This script was tested using tmobile and googlefi network.
  • If you are using gmail make sure you have less secure apps turned off
  • There's a time delay in the request since it takes around 10 seconds to receive message from phone to email
You might also like...
MiniJVM is simple java virtual machine written by python language, it can load class file from file system and run it.

MiniJVM MiniJVM是一款使用python编写的简易JVM,能够从本地加载class文件并且执行绝大多数指令。 支持的功能 1.从本地磁盘加载class并解析 2.支持绝大多数指令集的执行 3.支持虚拟机内存分区以及对象的创建 4.支持方法的调用和参数传递 5.支持静态代码块的初始化 不支

A simple program to run through inputs for a 3n+1 problem

Author Tyler Windemuth Collatz_Conjecture A simple program to run through inputs for a 3n+1 problem Purpose: doesn't really have a purpose, did this t

This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help..

VS Code Virtual Assistant This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help. Its currentl

Simple Denial of Service Program yang di bikin menggunakan bahasa pemograman Python,

Peringatan Tujuan kami share code Indo-DoS hanya untuk bertujuan edukasi / pembelajaran! Dilarang memperjual belikan source ini / memperjual-belikan s

A simple package for interacting with the 9kw.eu anti-captcha service.
A simple package for interacting with the 9kw.eu anti-captcha service.

Welcome to captcha9kw’s documentation! captcha9kw is a smallish Python package for making use of the 9kw.eu services, including solving of interactive

PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks
PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks

PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks. With it you can: Open and edit a Qlik app inside a Ju

EasyBuild is a software build and installation framework that allows you to manage (scientific) software on High Performance Computing (HPC) systems in an efficient way.

EasyBuild is a software build and installation framework that allows you to manage (scientific) software on High Performance Computing (HPC) systems in an efficient way.

Allows you to purge all reply comments left by a user on a YouTube channel or video.
Allows you to purge all reply comments left by a user on a YouTube channel or video.

YouTube Spammer Purge Allows you to purge all reply comments left by a user on a YouTube channel or video. Purpose Recently, there has been a massive

This is a Saleae Logic custom high level analyzer that allows you to search and mark specific packets.
This is a Saleae Logic custom high level analyzer that allows you to search and mark specific packets.

SaleaePacketParser This is a Saleae Logic custom high level analyzer that allows you to search and mark specific packets. Field "Search For" is used f

Owner
MT Devs
A software consultancy that focuses on writing open source software
MT Devs
Nuclei - Burp Extension allows to run nuclei scanner directly from burp and transforms json results into the issues

Nuclei - Burp Extension Simple extension that allows to run nuclei scanner directly from burp and transforms json results into the issues. Installatio

null 106 Dec 22, 2022
You can easily send campaigns, e-marketing have actually account using cash will thank you for using our tools, and you can support our Vodafone Cash +201090788026

*** Welcome User Sorry I Mean Hello Brother ✓ Devolper and Design : Mokhtar Abdelkreem ========================================== You Can Follow Us O

Mo Code 1 Nov 3, 2021
A dead-simple service that notifies you when something goes down.

Totmannschalter Totmannschalter (German for dead man's switch) is a simple service that notifies you when it has not received any message from a servi

null 1 Dec 20, 2021
A plugin for poetry that allows you to execute scripts defined in your pyproject.toml, just like you can in npm or pipenv

poetry-exec-plugin A plugin for poetry that allows you to execute scripts defined in your pyproject.toml, just like you can in npm or pipenv Installat

null 38 Jan 6, 2023
Run-Your-Own Firefox Sync Server

Run-Your-Own Firefox Sync Server This is an all-in-one package for running a self-hosted Firefox Sync server. It bundles the "tokenserver" project for

Mozilla Services 1.7k Dec 30, 2022
Tools for dos (denial-of-service) website / web server

DoS Attack Tools Tools for dos (denial-of-service) website / web server di buat olah NurvySec How to install on debian / ubuntu $ apt update $ apt ins

nurvy 1 Feb 10, 2022
Run CodeServer on Google Colab using Inlets in less than 60 secs using your own domain.

Inlets Colab Run CodeServer on Colab using Inlets in less than 60 secs using your own domain. Features Optimized for Inlets/InletsPro Use your own Cus

null 2 Dec 30, 2021
NotesToCommands - a fully customizable notes / command template program, allowing users to instantly execute terminal commands

NotesToCommands is a fully customizable notes / command template program, allowing users to instantly execute terminal commands with dynamic arguments grouped into sections in their notes/files. It was originally created for pentesting uses, to avoid the needed remembrance and retyping of sets of commands for various attacks.

zxro 5 Jul 2, 2022
Use `forge` and `cast` commands in Python scripts

foundrycli.py ( ?? , ?? ) foundrycli.py is a Python library I've made for personal use; now open source. It lets you access forge and cast CLIs from P

Zero Ekkusu 17 Jul 17, 2022
Transform a Google Drive server into a VFX pipeline ready server

Google Drive VFX Server VFX Pipeline About The Project Quick tutorial to setup a Google Drive Server for multiple machines access, and VFX Pipeline on

Valentin Beaumont 17 Jun 27, 2022