Write a post

Enjoy this post? Give simon tadros a like if it's helpful.

1
2

Droker: Android, Docker and Web Sockets

Published Jun 14, 2017
Droker: Android, Docker and Web Sockets

Start wAndroid on docker

In a container world docker bring the android emulator into to the server world.
In this tutorial, I'll walk you through setting up your own android emulator and access it through your web browser for development, automation testing or pentesting purpose .
To get started, you'll need either a Linux box running a recent version of Ubuntu or any linux os with Docker installed .riting here...

CMD mask on

To simplify the deployment for non Docker experts we created a docker file available on GitLab
As my friend Ramsay bolton known as Abbas Like to make his crimes automated the only thing you need is just to Build And Run

Build

git clone http://gitlab.zxc.ovh/root/webodroid.git  
cd webdroid  
docker build . -t webdroid:0.1 --no-cache 

Run

With the help of asciinema a lightweight, purely text-based approach to terminal recording

asciicast

The stack

  • Docker
  • Ubuntu
  • Novnc VNC client using HTML5 (Web Sockets, Canvas) with encryption (wss://) support.
  • Android sdk

Summary

Avoid hiccups deploy everywhere : Docker come to the rescue .
You can change the docker file to modify the android version stop the ssh access change installation path or change working directories .

Demo

Discover and read more posts from simon tadros
get started
Enjoy this post?

Leave a like and comment for simon

1
2
2Replies
Diego Ponce de León
11 days ago

Why is this needed?

RUN mkdir /var/run/sshd &&     echo "root:$ROOTPASSWORD" | chpasswd &&     sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config &&     sed 's@session\s*required\s*pam_loginuid.so@session option
al pam_loginuid.so@g' -i /etc/pam.d/sshd && echo "export VISIBLE=now" >> /etc/profile 
Diego Ponce de León
11 days ago

Demo link is broken. How can I install apps in the emulator? How can I see/watch the simulator once installed?

Subscribe to our weekly newsletter