Skip to content

Minimalistic server (written in C) and a python3 client to allow calling native functions on a remote host for automation purposes

License

Notifications You must be signed in to change notification settings

doronz88/rpc-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server application Python application

rpc-project

Description

This project includes two components:

  • Server binary written in C exposing a protocol to call native C functions for controlling every aspect of
  • Client written in Python3 to communicate with the server

Simple remote control process requiring a single executable to be uploaded and run on the remote host. This executable then provides a protocol to call native C functions which makes it possible to control every aspect of the connected machine.

For more information about the client which utilizes these abilities, please view its README here: https://github.com/doronz88/rpc-project/tree/master/src/rpcclient

Building C Server

macOS & Linux:

git clone [email protected]:doronz88/rpc-project.git
cd src/remote_server
make

On iOS:

git clone [email protected]:doronz88/rpc-project.git
cd src
./build_ios.sh

Installing python client

git clone [email protected]:doronz88/rpc-project.git
cd src/rpcclient
python3 -m pip install --user -U .

Running

To execute the server:

./server [-p port]

Connecting via:

python3 -m rpcclient <HOST> ishell