ATVController for android devices running with RDM > POGO > ATLAS. Quick, simple and dirty add controls with a GUI view

Overview

ATVController - WIP - Much to add and fix.

ATVController for android devices running with RDM > POGO > ATLAS.

Quick, simple and dirty adb controls with a GUI view and MYSQL Storage.

WARNING. POTENTIAL SECURUITY RISKS INVOLED.

Use at your own risk of course.
Do not publicly expose the port.
Local use only.
(On page shell. Unsanitized mysql inputs, This will change over time).

TESTED SETUP.

Rasp pi - Ubuntu
Rasp pi - Raspbian

REQUIREMENTS.

Clone the repo with.

git clone https://github.com/lilcezz/ATVController.git

Enter the directory with.

cd ATVController

Download and install Node.js and PHP With

curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs php
sudo apt install php-fpm php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-ldap php-zip php-curl php-cgi

Install PM2 if you need it with

npm install pm2 -g

Install ADB if you need it with

sudo apt-get install android-tools-adb android-tools-fastboot

Install MYSQL CLIENT if you need it with

sudo apt-get install mysql-client  

FILES AND THINGS TO EDIT.

Copy the config.

"public/config.php"

cp config.php.example config.php

With a text editor

Set this to the starting 3 ranges of your ip

$lanip=0.0.0 

Edit the DB info to connect

Enable or Disable wth true=off/false=off

$noScreenshot = true;
$noProxy = false;

You shouldn't need to edit the ADB port

IPS file (has no extention).

Copy the ips

"public/scripts/ips"

cp example.ips ips

Edit with a text editor like vim or nano and make a list with the ip ends of each device to finsh the ip address from config.php file

$ vim ips

Place your ip ends like this

32  
65
132
165

(This Part should be done automatically on pull. If your scripts doesnt seem to be executed then try this, but dont do this on the first setup.)

MAKE THE SHELLS EXECUTABLE FILES.

"/public/scripts/"

chmod +x *.sh

Start ATVController.

BEFORE YOU START THIS WITH PM2.

Fix a depreciation warning in node-php after your do the steps above and have installed node.

cd /path/to/ATVController/node_modules/node-php

Replace the main.js file here by running this command.

wget -O main.js https://raw.githubusercontent.com/Zero-day0001/node-php-fix/main/main.js

Enter the ATVcontroller directory.

cd ATVController

For good measure? and only needs to be run ONCE!

npm install

Start the service with PM2.

pm2 start ATVController.js

HOW TO USE

THESE COMMANDS ONCE HIT CAN TAKE A MINUTE OR MORE TO RUN DEPENDING ON DEVICE COUNT!.

When you hit a button below. It is safe to hit the "HOME" button in the menu to trigger a refresh.
These scripts will continue to run in the background until there done, you may refresh the page after to see the updates.

Load the page. (http://localhost:3000) (Change port in ATVController.js). On first page load it will create the table in the DB you selected.

The db table and on page device table will be blank.
The first option to the run and build the database with your device info is "Build Info".

"Build Info"
This will take your 'ips' list and do the following.
Get the Name, Proxy (if any) and store this infomation the the db along with the local ip from the 'config and ip files set'.

"Get all temps".
Gets all temps from ALL devices and will build this info to display in the table.

"Update All Devices".
Will Push the .apks from the folder location apps/ .
Installs the "pokemongo.apk" (rename the apk the match this title) app located inside folder /apps to the device.
Installs the "atlas.apk" (rename the apk the match this title) app located inside folder /apps to the device.

"Reboot All Devices".
Will Reboot all devices defined in 'ips'.

"Start All Atlas".
Will Start the Atlas Mapping Service on all devices defined in 'ips'.

"Stop All Apps".
Will Stop Atlas Mapping Mervice And Pokemon on all devices defined in 'ips'.


PER DEVICE CONTROLS

"Reboot".
Reboots device.

"start Atlas". Start Atlas Mapping Service on device.

"Stop Atlas/Pogo".
Stop both Atlas and Pogo Services on device.

"Update Pokemon".
Installs the "pokemongo.apk" (rename the apk the match this title) app located inside folder /apps to the device.

"Updated Atlas".
Installs the "atlas.apk" (rename the apk the match this title) app located inside /apps folder to the device.

"Update Atlas Config".
Pushes the "atlas.config" located inside /apps folder to the device. (EDIT THIS FILE TO YOUR NEEDS).

"Push eMagisk.zip".
Pushes the "eMagisk.zip" located inside /apps folder to the device.

"Push emagisk.config".
Pushes the "emagisk.config" located inside /apps folder to the device. (EDIT THIS FILE TO YOUR NEEDS).

*** PROXY ***
"Change".
In the text area place your new proxy ip in the format.

IP:PORT i.e 123.456.789.123:98765

(Does not support username/password proxys yet, whitelist your IP).

*** SCREENSHOT ***
"Get Screen Shot".
This section only builds on press of the button atm.


Built by @zero-day-#0001

Scripts provided by @Xerock

Join the Discord!
https://discord.gg/ecEbu3YC

You might also like...
Simple PHP/Laravel app that displays Todoist tasks in a view designed for a Kindle Touch
Simple PHP/Laravel app that displays Todoist tasks in a view designed for a Kindle Touch

productivity-dashboard Just a simple PHP/Laravel app that retrieves (so far) tasks from Todoist and displays them in a simple view designed for a Kind

Simple PHP/Laravel app that displays Todoist tasks in a view designed for a Kindle Touch
Simple PHP/Laravel app that displays Todoist tasks in a view designed for a Kindle Touch

productivity-dashboard Just a simple PHP/Laravel app that retrieves (so far) tasks from Todoist and displays them in a simple view designed for a Kind

Phalcon Builder - is a packaging system that make it easy and quick to build Phalcon packages such as rpms, debs, etc. Phalcon's distribution that hosted at PackageCloud.
Phalcon Builder - is a packaging system that make it easy and quick to build Phalcon packages such as rpms, debs, etc. Phalcon's distribution that hosted at PackageCloud.

Phalcon Builder - is a packaging system that make it easy and quick to build Phalcon packages such as rpms, debs, etc. Phalcon's distribution that hos

A quick,easy and safe way of accessing Mysql-like databases from within a PHP program

Mysqli-Safe A simple, easy-to-use and secure way of accessing a Mysql database from within your PHP programs Mysqli-safe is a wrapper around the mysql

Supper quick use Aliyun OSS or Tencent COS or Qiniu Koa to get、put、delete Object.

An SDK integrating Alibaba cloud, Tencent cloud and qiniu cloud object storage

A quick naked theme to demonstrate how easy it is to support Gutenberg using ACF blocks

ACF Gutenberg Demo Theme A quick naked theme to demonstrate how easy it is to support Gutenberg using ACF blocks demo.mp4 Files I have found a useful

Quick package/plugin/component (repo) lookup for your favourite package managers
Quick package/plugin/component (repo) lookup for your favourite package managers

Package Managers (Download latest release) Package Repo Search Quick package/plugin/component (repo) lookup for your favourite package managers.

Quick start -d/reload/restart/stop hyperf(~2.1.0 & ~2.2.0) server

hyperf-helper 1. quick start -d/reload/restart/stop server 2. support hyperf ~2.1.0 & ~2.2.0 3. support CentOS7+, Ubuntu 18.0.4+, macOS 4. support swo

Owner
null
TraceX-GUI is a GUI based IP atrcker tool for terminal user

TraceX-GUI Author Alex Butler (MrHacker-X) What is IP Tracing? As IP addresses are automatically identified thanks to the handshake, IP address tracke

Alex Butler 10 Dec 26, 2022
An all-in-one package with the minimum third-party requirements to get started as quickly as possible with Pokemod Atlas

Pokemod Atlas All-In-One An all-in-one package with the minimum third-party requirements to get started as quickly as possible with Pokemod Atlas. ❤️

Pokemod 12 Oct 10, 2022
Android libraries and/or signatures with classification (type, tags, anti-features)

Android Libraries A list of Android libraries and/or trackers along with classification such as type, categories and ant-features. Development Status:

Muntashir Al-Islam 6 Dec 25, 2022
Library for PHP 7.4+ to detect Browsers and Devices

This library requires PHP 7.4+. Also a PSR-3 compatible logger and a PSR-16 compatible cache are required. In

Thomas Müller 37 Oct 2, 2022
✨A simple way to create a GUI on servers based on PocketMine-MP 4.0!✨

FakeInventories ✨ A simple way to create a GUI on servers based on PocketMine-MP 4.0! ✨ (https://youtu.be/D1NIx8E2UPg) Features Fast opening without a

iDarkQ 6 Nov 20, 2022
This is wegare tools but all-in-one installer only, exclude GUI

All In One Installer for Wegare Tools This is wegare tools, but this is all-in-one. Here is the source https://github.com/wegare123?tab=repositories I

Helmi Amirudin 3 Jul 29, 2022
The GUI bandwidth limiter for iptables-mod-hashlimit

MulImiter OpenWrt bandwidth limiter through iptables firewall with PHP GUI Features Limit download speed per client/IP Limit upload speed per client/I

Teguh Santoso 13 Sep 15, 2022
This is a simple PHP Student Portal. You can login, logout, register, and view your details.

Student-Portal This is a simple PHP Student Portal with a MySQL Database. I made this as part of a university assignment, so you can login, logout, re

Christine Coomans 3 Feb 12, 2022
BreadBooru is a light, quick, and easy to setup imageboard with themes, images, and video support

BreadBooru a bad imageboard, that has nothing to do with (dan/gel)booru, and yet still has booru in the name BreadBooru is a light, quick, and easy to

bread 2 Jan 22, 2022
This component, based on the Symfony serializer and async-aws, is a human-readable and quick abstraction to easily store serialized objects in DynamoDB 🚀.

DynamoDB Storable This component, based on the Symfony serializer and async-aws, is a human-readable and quick abstraction to easily store serialized

Matthieu W. 2 Jun 19, 2022