Skip to content

need-being/devscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devscope

The tool devscope allows the server to control the client, while the client can see what the server is doing. It is useful for remote assistance, and explore non-interactive develop environments such as containers by cloud providers.

Build

Building requires go >= 1.15. Simply, run

go build ./cmd/devscope

Example Run

  1. Server starts listening:
~$ devscope listen :5072
   • Listening at :5072
  1. Client connects to the server, and transfer control to the server.
~$ devscope connect localhost:5072
   • Connected to localhost:5072
   • Running /bin/sh -i
   • Control transferred to Server
$
  1. Server can explore on behalf of the client:
~$ devscope listen :5072
   • Listening at :5072
   • Accepted from 127.0.0.1:44694
$ echo hello world
hello world
$