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

Related tags

Miscellaneouspython
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
Owner
MT Devs
A software consultancy that focuses on writing open source software
MT Devs
Writeup and scripts for the 2021 malwarebytes crackme

Malwarebytes Crackme 2021 Tools and environment setup We will be doing this analysis in a Windows 10 VM with the flare-vm tools installed. Most of the

Jerome Leow 9 Dec 02, 2022
Powerful virtual assistant in python

Virtual assistant in python Powerful virtual assistant in python Set up Step 1: download repo and unzip Step 2: pip install requirements.txt (if py au

Arkal 3 Jan 23, 2022
A beacon generator using Cobalt Strike and a variety of tools.

Beaconator is an aggressor script for Cobalt Strike used to generate either staged or stageless shellcode and packing the generated shellcode using your tool of choice.

Capt. Meelo 441 Dec 17, 2022
ArinjoyTheDev 1 Jul 17, 2022
Free APN For Python

Free APN For Python

XENZI GANZZ 4 Apr 22, 2022
This script provides LIVE feedback for On-The-Fly data collection with RELION

README This script provides LIVE feedback for On-The-Fly data collection with RELION (very useful to explore already processed datasets too!) Creating

cryoEM CNIO 6 Jul 14, 2022
Freeze your objects in python

gelidum Freeze your objects in python. Latin English Caelum est hieme frigidum et gelidum; myrtos oleas quaeque alia assiduo tepore laetantur, asperna

Diego J. 51 Dec 22, 2022
A python script providing an idea of how a MindSphere application, e.g., a dashboard, can be displayed around the clock without the need of manual re-authentication on enforced session expiration

A python script providing an idea of how a MindSphere application, e.g., a dashboard, can be displayed around the clock without the need of manual re-authentication on enforced session expiration

MindSphere 3 Jun 03, 2022
Repository voor verhalen over de woningbouw-opgave in Nederland

Analyse plancapaciteit woningen In deze notebook zetten we cijfers op een rij om de woningbouwplannen van Nederlandse gemeenten in kaart te kunnen bre

Follow the Money 10 Jun 30, 2022
A python server markup language

PSML - Python server markup language How to install: python install.py

LMFS 6 May 18, 2022
Pymon is like nodemon but it is for python,

Pymon is like nodemon but it is for python,

Swaraj Puppalwar 2 Jun 11, 2022
A Notifier Program that Notifies you to relax your eyes Every 15 Minutes👀

Every 15 Minutes is an application that is used to Notify you to Relax your eyes Every 15 Minutes, This is fully made with Python and also with the us

FSP Gang s' Admin 1 Nov 03, 2021
Declarative and extensible library for configuration & code separation

ClassyConf ClassyConf is the configuration architecture solution for perfectionists with deadlines. It provides a declarative way to define settings f

83 Dec 07, 2022
Convert a .vcf file to 'aa_table.tsv', including depth & alt frequency info

Produce an 'amino acid table' file from a vcf, including depth and alt frequency info.

Dan Fornika 1 Oct 16, 2021
Choice Coin 633 Dec 23, 2022
Software that extracts spreadsheets from various .pdf files to .csv

Extração de planilhas de diversos arquivos .pdf para .csv O código inteiro foi desenvolvido em Python. Foi utilizado o pacote "tabula" e a biblioteca

Marcos Silva 2 Jan 09, 2022
An esoteric programming language that supports concurrency, regex, and web requests.

The Hofstadter Esoteric Programming Language Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's La

Austin Henley 19 Dec 27, 2022
All solutions for the 2021 Advent of Code event.

Advent of Code 2021 Solutions All solutions for the 2021 Advent of Code event. Setup Create a file called .session. Go to adventofcode.com and copy th

Bruce Berrios 6 Dec 26, 2021
Python Classes Without Boilerplate

attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka d

The attrs Cabal 4.6k Jan 02, 2023
Attempt at creating organized collection of little handy snippets of code I'm receiving along the way

ChaosCode Attempt at creating organized collection of little handy snippets of code I'm receiving along the way I always considered coding and program

INFU 4 Nov 26, 2022